mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #05006
[Bug 790099] Re: Can't record analog TV with WinTV HVR-950Q
Ooops, looks like my diff was backwards. Here's a new try.
1141c1141
< #ifdef USING_V4L
---
> #if defined(USING_V4L) || defined(USING_V4L2)
1143a1144
> #ifdef USING_V4L
1325a1327
> #endif
1728a1731
> #ifdef USING_V4L
1860a1864
> #endif
1863c1867
< #else // USING_V4L
---
> #else // USING_V4L || USING_V4L2
1868c1872
< #endif // USING_V4L
---
> #endif // USING_V4L || USING_V4L2
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/790099
Title:
Can't record analog TV with WinTV HVR-950Q
Status in “mythtv” package in Ubuntu:
New
Bug description:
I was not able to record analog TV with the WinTV HVR-950Q with MythTV
in Natty. The logs were not very helpful even with --setverbose all;
the actual failure point is not logged.
In gdb, I narrowed the problem down to this: in
NuppelVideoRecorder.cpp ( http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/natty/mythtv/natty/view/head:/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
), StartVideoRecording was always failing at line 1076, because
usingv4l2 is set and SetFormatV4L2 is a dummy function that always
returns false. This is apparently because of the ifdefs related to
V4L/V4L2.
I reworked the ifdefs a bit, mimicking what I saw for other V4L stuff,
so that the SetFormatV4L2 and DoV4L2 functions were defined correctly.
I left DoV4L and DoMJPEG hollowed out since they don't compile and I
don't care about 'em.
After that, I was able to record analog through V4L in MythTV. Here are the main parameters I set in MythTV, just in case they aren't all obvious:
In mythtv-setup:
Video device: /dev/video0
Audio device: ALSA:hw:CARD=HVR950Q,DEV=0
Force audio sampling rate: 48000
In mythfrontend, software encoders:
Width: 720
Height: 480
Video codec: MPEG4
Audio codec: MP3
Sampling rate: 48000
Here's the patch from the original source to my modified version:
1141c1141
< #if defined(USING_V4L) || defined(USING_V4L2)
---
> #ifdef USING_V4L
1144d1143
< #ifdef USING_V4L
1327d1325
< #endif
1731d1728
< #ifdef USING_V4L
1864d1860
< #endif
1867c1863
< #else // USING_V4L || USING_V4L2
---
> #else // USING_V4L
1872c1868
< #endif // USING_V4L || USING_V4L2
---
> #endif // USING_V4L
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/790099/+subscriptions
References