Opened 19 years ago
Closed 19 years ago
#2044 closed enhancement (fixed)
add support for v4l2 mpeg encoding api
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | 0.20 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Attached patch implements the new V4L2 mpeg encoding api in MPEGRecorder. The API is added to the upcoming kernel 2.6.18.
Supported cards will be ivtv release 0.8 and in kernel drivers for pvr2usb and cx88-blackbird.
I'm not sure if the vbi support is working since current ivtv has no vbi support.
Hans Verkuil looked at the patch and said it is ok.
Attachments (4)
Change History (11)
by , 19 years ago
Attachment: | v4l2_mpeg.diff added |
---|
comment:1 by , 19 years ago
Milestone: | → 0.20 |
---|---|
Owner: | changed from | to
comment:2 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 19 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
ah, sorry about that. fixed patch attached.
I haven't fixed the whitespace changes in videodev2_myth.h since I'm unsure how the file should be handled. The diff for this file was generated by:
diff -u linux-2.6.15/**/videodev2.h linux-2.6.18-rc1/**/videodev2.h | patch -pRightValue
I can strip the whitespace changes. But I think it is better to stay in sync with the kernel header.
by , 19 years ago
Attachment: | v4l2_mpeg.2.diff added |
---|
comment:4 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [10589]) Fixes #2044. Start getting MythTV ready for in kernel ivtv driver in Linux 2.6.18 with patch from Janne.
Unless ivtv releases a fixed driver for 2.6.18, the upcoming Linux 2.6.18 release should not be used by those wishing to have fully functional PVR-250 or PVR-350 support, the ivtv driver has not yet been completely ported to the new interface. In particular aspect ratio info, captions and teletext will not be recorded when using the in kernel 2.6.18 ivtv driver.
by , 19 years ago
Attachment: | v4l2_mpeg_64bit_and_audio_fix.diff added |
---|
comment:5 by , 19 years ago
Milestone: | 0.20 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | head → 0.20 |
A structure in videodev2.h was changed after my initial patch. This modification will also be in the upcoming 2.6.18 kernel version (initial release of V4L2 Mpeg encoding api). The attached patch fixes this 64bit only issue.
It also actually forces MPEG Layer 2 audio encoding and corrects a debug message.
by , 19 years ago
Attachment: | sync_myth_videodev2_with_kernel.diff added |
---|
Can you look this over again?