Re: [mythtv-users] FYI: pvrusb2 5 default minute recording sizes

2005-08-05 Thread roger
On Thu, 2005-08-04 at 21:36 -0500, Mike Isely wrote:

> If you really want to store in 480x480 then you'd probably have to set up
> mythtv to transcode after the fact.

I was just using 480x480 as an example.  

I sort of figured the size was static with this device.  I was just
looking for confirmation on my guessing. :-)


> Transcoding in mythtv happens in a second stage, after the recording is
> completed.
> 
> Additional information on the pvrusb2 driver can be found at:
> 
> http://www.isely.net/pvrusb2.html
> 
>   -Mike

Yup.  would be nice if it piped the capture into a resize command
sequence.

However, mythtv is a beast as it is, without mentioning cpu consumption!



--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Fri Aug 5 00:57:34 PDT 2005

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] FYI: pvrusb2 5 default minute recording sizes

2005-08-04 Thread Mike Isely

I think I can shed some light on this, being that I'm the person who has
been working on the driver for the pvrusb2 device for the past 6 months...
See below.

On Thu, 4 Aug 2005, roger wrote:

[...]

>
> It looks as if the default 480x480 profile is being used, but mythtv is
> just recording @ 720 x 480 (the output resolution of /dev/v4l/video0).
> Which is just fine and dandy by me until I want to save disk space by
> reducing the resolution.


Video capture and encoding is handled entirely in hardware on this device.
By the time mythtv gets the data it's already an mpeg2 stream.  Therefore
the determination of encoding resolution happens in the device and right
now it's probably always going to do 720x480 for NTSC.

There are ioctl() controls in the driver which can be used to change the
capture resolution.  However this is a very immature driver and frankly
I'd be surprised if that part even worked - assuming that mythtv would
even know about or call those functions.  So you're probably stuck at
720x480.

If you really want to store in 480x480 then you'd probably have to set up
mythtv to transcode after the fact.


>
> MY MAIN QUESTION HERE:
> >From the looks of it, mythtv does not transcode while recording at the
> same time -- Or it is not possible with this hardware (external usb
> mpeg2 tv card)?  I can see however, mythtv will execute a
> script/transcode after recording has stopped.

Transcoding in mythtv happens in a second stage, after the recording is
completed.

Additional information on the pvrusb2 driver can be found at:

http://www.isely.net/pvrusb2.html

  -Mike


-- 
| Mike Isely  | PGP fingerprint
 Spammers Die!! | | 03 54 43 4D 75 E5 CC 92
|   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
| |
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] FYI: pvrusb2 5 default minute recording sizes

2005-08-04 Thread Michael T. Dean

roger wrote:


When I press R/r while in live tv viewing mode, mythtv will respond by
saying "Recording ..." and fades away.  No icons or any info are
displayed showing tv is actively being recorded.(Think I'm finding
out later, mythtv schedules the entire 30 minute + section for recording
or something, but I usually find pressing R/r not doing any recording.)

Pressing R/r again, simply shows "Recording ..." again. 


From mythtv documentation, R or r should toggle start/stop recording.

(cycles through types?)
 

Think your interpretation of the documentation is off a bit...  From 
http://mythtv.org/docs/mythtv-HOWTO-11.html#ss11.1 section "LiveTV 
Browse Mode"


R/r  - Toggle recording of current program (cycles through types)

Says nothing about start/stop.  ;)  If you look through the code it 
becomes quite obvious that "start" and "stop" are not the "recording 
types" to which they're referring--especially with the nice comment 
explaining how it works.  (The hard part is finding the right code if 
you're not a programmer.  ;)


Below is the comment documenting the ToggleRecord() function from 
libs/libmythtv/programinfo.cpp (which is eventually called in response 
to pressing the TOGGLERECORD button):


/** \fn ProgramInfo::ToggleRecord()
*  \brief Cycles through recording types.
*
*   If the program recording status is kNotRecording,
*   ApplyRecordStateChange(kSingleRecord) is called.
*   If the program recording status is kSingleRecording,
*   ApplyRecordStateChange(kFindOneRecord) is called.
*   etc...
*
*   The states in order are: kNotRecording, kSingleRecord, kFindOneRecord,
* kWeekslotRecord, kFindWeeklyRecord, kTimeslotRecord, 
kFindDailyRecord,

* kChannelRecord, kAllRecord.
*   And: kOverrideRecord, kDontRecord.
*
*   That is if you the recording is in any of the first set of states,
*   we cycle through those, if not we toggle between kOverrideRecord and
*   kDontRecord.
*/

Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] FYI: pvrusb2 5 default minute recording sizes

2005-08-04 Thread roger
Sorry.  This is erroranous data.

Somehow the recording may not have stopped when I thought I had stopped
it.

When I press R/r while in live tv viewing mode, mythtv will respond by
saying "Recording ..." and fades away.  No icons or any info are
displayed showing tv is actively being recorded.(Think I'm finding
out later, mythtv schedules the entire 30 minute + section for recording
or something, but I usually find pressing R/r not doing any recording.)

Pressing R/r again, simply shows "Recording ..." again. 

>From mythtv documentation, R or r should toggle start/stop recording.
(cycles through types?)


It looks as if the default 480x480 profile is being used, but mythtv is
just recording @ 720 x 480 (the output resolution of /dev/v4l/video0).
Which is just fine and dandy by me until I want to save disk space by
reducing the resolution.

MY MAIN QUESTION HERE:
>From the looks of it, mythtv does not transcode while recording at the
same time -- Or it is not possible with this hardware (external usb
mpeg2 tv card)?  I can see however, mythtv will execute a
script/transcode after recording has stopped.



(Think I'll just spend the day with tinkering with mythtv.  See how much
more stupid mythtv makes me look. :-)


--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Thu Aug 4 12:53:52 PDT 2005

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] FYI: pvrusb2 5 default minute recording sizes

2005-08-04 Thread Phil Bridges
On 8/4/05, roger <[EMAIL PROTECTED]> wrote:
> The first is using mythtv with the default recording profile.
> The second, test-5min.mpg, is created using cat /dev/v4l/video0.
> 
> These are +/- 30 seconds.
> 
> 468M Aug  4 10:58 3045_20050804104900_2005080413.nuv
> 229M Aug  4 11:38 test-5min.mpg
> 
What are the resolution and bitrate settings for the 2nd file?
> 
> 
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] FYI: pvrusb2 5 default minute recording sizes

2005-08-04 Thread roger
The first is using mythtv with the default recording profile.
The second, test-5min.mpg, is created using cat /dev/v4l/video0.

These are +/- 30 seconds.

468M Aug  4 10:58 3045_20050804104900_2005080413.nuv
229M Aug  4 11:38 test-5min.mpg

(This device streams mpeg2 on /dev/v4l/video0)


--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Thu Aug 4 11:47:00 PDT 2005

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users