Bug 1824

Summary: v4l2 not compiled in transcode
Product: Fedora Reporter: J <jacques.basson>
Component: transcodeAssignee: David Juran <david>
Status: RESOLVED FIXED    
Severity: normal CC: kwizart
Priority: P5    
Version: 15   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: v4l hw support using libv4l-devel
spec file with v4l2 hardware support

Description J 2011-06-26 10:31:03 CEST
The v4l/v4l2 component is not compiled in transcode which means it is not possible for transcode to read from a v4l device.

It is not sufficient to have just --enable-libv4l2 and --enable-libv4lconvert in the configure script.

--enable-v4l also needs to be added to the configure script.

Without enable-v4l the following is printed by configure:

hardware support
----------------------------------------
v4l/v4l2                       no

With enable-v4l the following is printed by configure:

hardware support
----------------------------------------
v4l/v4l2                       yes
Comment 1 Nicolas Chauvet 2011-06-26 12:11:09 CEST
v4l1 is deprecated nowadays, at the point that it has been removed from F-14 updates kernels. So the bug #1700 only provide a workaround.

The right way to have it fixed would have been to use libv4l1-videodev.h from libv4l-devel instead of <linux/videodev.h> until the transcode code is fully ported to v4l2.

@Jacques. Can you make this change and provide a patch against the current transcode.src.rpm ?
Thx for the report.

Comment 2 J 2011-06-26 20:32:58 CEST
Created attachment 656 [details]
v4l hw support using libv4l-devel
Comment 3 J 2011-06-26 20:33:35 CEST
Created attachment 657 [details]
spec file with v4l2 hardware support
Comment 4 J 2011-06-26 20:36:27 CEST
Apologies, I did not search fully enough to find that bug report.

It is a bit annoying that transcode can't easily be compiled with v4l2 import support without compiling the v4l import support. Perhaps I'll look into that upstream.

Patch file and patch for spec file uploaded.
Comment 5 Nicolas Chauvet 2011-06-30 22:47:15 CEST
Fixed, the package was just pushed in testing.
Please close the bug if it's actually fix your issue.

Indeed, transcode upstream code need to be fully ported to v4l2, please get it touch with upstream if you can help.

Thx for the report.
Comment 6 J 2011-07-01 15:36:36 CEST
Thank you. Working as expected now.
Comment 7 David Juran 2011-07-07 17:41:35 CEST
Seems I'm a bit late for the party, but regarding the v4l import, I thought (or at least hoped) that that was what my patch transcode-1.1.5-fix_v4l.patch that I added in bug 1700 would have fixed...

Also regarding upstream... Unfortunately it's officially dead since some year ago so don't count too much on anything happening there.