[mythtv-users] hdpvr recording o byte files

Nick Rout nick.rout at gmail.com
Sun Jan 25 20:15:00 UTC 2009


On Mon, Jan 26, 2009 at 8:49 AM, Eppo Eppleston <eppo120 at gmail.com> wrote:
>
>
> On Sun, Jan 25, 2009 at 12:32 PM, John P Poet <jppoet at gmail.com> wrote:
>>
>> On Sat, Jan 24, 2009 at 6:03 PM, Eppo Eppleston <eppo120 at gmail.com> wrote:
>> > when i try to record a program with my hdpvr it says its recording it
>> > creates the file, but the file contains no data.
>> > here is a copy of the backend logs:
>> > 2009-01-24 20:00:00.215 TVRec(1): Changing from RecordingOnly to None
>> > 2009-01-24 20:00:00.327 Finished recording New Jersey Nets Pregame:
>> > channel
>> > 2715
>> > 2009-01-24 20:00:03.953 Finished recording New Jersey Nets Pregame:
>> > channel
>> > 2715
>> > 2009-01-24 20:00:03.982 mythbackend version: trunk [19811]
>> > www.mythtv.org
>> > 2009-01-24 20:00:04.014 TVRec(1): Changing from None to RecordingOnly
>> > 2009-01-24 20:00:04.015 Using runtime prefix = /usr/local
>> > 2009-01-24 20:00:04.028 TVRec(1): HW Tuner: 1->1
>> > 2009-01-24 20:00:04.050 Empty LocalHostName.
>> > 2009-01-24 20:00:04.069 Using localhost value of
>> > ubuntuserver.homelinux.org
>> > 2009-01-24 20:00:04.073 New DB connection, total: 1
>> > 2009-01-24 20:00:04.076 Connected to database 'mythconverg' at host:
>> > localhost
>> > 2009-01-24 20:00:04.077 Closing DB connection named 'DBManager0'
>> > 2009-01-24 20:00:04.078 Connected to database 'mythconverg' at host:
>> > localhost
>> > 2009-01-24 20:00:04.081 Current Schema Version: 1228
>> > 2009-01-24 20:00:04.082 New DB connection, total: 2
>> > 2009-01-24 20:00:04.083 Connected to database 'mythconverg' at host:
>> > localhost
>> > 2009-01-24 20:00:04.088 Preview Error: Previewer file
>> > '/home/ataraid/Mythtv/2715_20090124194000.mpg' is not valid.
>> > 2009-01-24 20:00:04.089 Preview Error: Run() file not local:
>> > '/home/ataraid/Mythtv/2715_20090124194000.mpg'
>> > 2009-01-24 20:00:04.093 Preview Error: Preview process not ok.
>> >             fileinfo(/home/ataraid/Mythtv/2715_20090124194000.mpg.png)
>> > exists: 0 readable: 0 size: 0
>> > 2009-01-24 20:00:04.491 ret_pid(29515) child(29515) status(0x0)
>> > 2009-01-24 20:00:04.500 External Tuning program exited with no error
>> > 2009-01-24 20:00:04.673 AutoExpire: CalcParams(): Max required Free
>> > Space:
>> > 3.0 GB w/freq: 15 min
>> > 2009-01-24 20:00:04.677 Started recording: Cops: channel 2705 on cardid
>> > 1,
>> > sourceid 2
>> > 2009-01-24 20:00:05.681 Reschedule requested for id 0.
>> > 2009-01-24 20:00:05.707 Scheduled 21 items in 0.0 = 0.00 match + 0.02
>> > place
>> >
>> > any ideas?
>> > when i cat /dev/video0 i get video, so i dont think its the driver
>>
>> Unfortunately, that log does have much useful information in it.  You
>> can adjust which categories mythbackend puts in the log by doing "-v
>> <category>".  To find out what categories are available, try
>> "mythbackend -v help".  Avoid the "all" and "timestamp" categories,
>> because they slows myth down so much that it causes it's own set of
>> problems.
>>
>> If you want to find out what kind of information is generated for each
>> category, take a look at the source code.  For example, the HD-PVR
>> recorder code can (partially) be found in mpegrecorder.cpp
>>
>> Once you get more useful information in the log, it may be obvious
>> what your problem is.
>>
>> BTW, has this every worked for you?  If it has never worked, you
>> probably don't have the capture device setup correctly in
>> mythtv-setup.
>>
>>
>> John
>
>  yes it did, would create empty files randomly. now they are all empty. one
> time i got it to record like a sec or two, then it stopped. i noticed this
> in dmesg:
> hdpvr: read: copy_to_user failed
> over and over again,when it it attempting to record.  i went on the driver
> irc channel and was told you get that when the driver is giving info to a
> program, but the program isnt answering.

does the user running mythbackend have permissions to create and write
files in your storage directory(ies)?


More information about the mythtv-users mailing list