#2410: ffmpeg down with video4linux2. ------------------------------------+------------------------------------ Reporter: dinhka | Owner: Type: defect | Status: new Priority: normal | Component: avdevice Version: git-master | Resolution: Keywords: v4l2 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------
Comment (by dinhka): Replying to [comment:8 cehoyos]: > Replying to [comment:7 dinhka]: > > Replying to [comment:6 cehoyos]: > > > Could you test if version 2d777bb works? > > How do I get 2d777bb version? > > Either with "git checkout 2d777bb" or at http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=2d777bb;sf=tgz Hi, I have installed 2d777bb version. 1. test case 1 ffmpeg -f v4l2 -i /dev/video0 -vcodec mpeg4 -b:v FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 29 2013 13:23:35 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3) configuration: --enable-version3 --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --enable-libfaac --enable-libx264 --enable-pthreads --disable-stripping --extra-cflags=-I/usr/local/include --disable-debug libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec 52.102. 0 / 52.102. 0 libavformat 52.92. 0 / 52.92. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 Unknown input format: 'v4l2' 2. test case 2. the process hang. ffmpeg -f video4linux2 -pix_fmt yuv420p -i /dev/video0 -vcodec mpeg4 -b:v 1200k -y test.avi FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers built on Mar 29 2013 13:23:35 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3) configuration: --enable-version3 --enable-libopencore-amrnb --enable- libopencore-amrwb --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --enable-libfaac --enable-libx264 --enable-pthreads --disable-stripping --extra-cflags=-I/usr/local/include --disable-debug libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec 52.102. 0 / 52.102. 0 libavformat 52.92. 0 / 52.92. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 output of dmesg: stk1160: vma=0xf3e5d3e8 stk1160: vma start=0xb74ce000, size=692224 (0) stk1160: vma=0xf3e5d128 stk1160: vma start=0xb7425000, size=692224 (0) stk1160: vma=0xf3e5d230 stk1160: vma start=0xb737c000, size=692224 (0) stk1160: vma=0xf3e5d180 stk1160: vma start=0xb72d3000, size=692224 (0) stk1160: vma=0xf3e5d390 stk1160: vma start=0xb722a000, size=692224 (0) stk1160: vma=0xf3e5da18 stk1160: vma start=0xb7181000, size=692224 (0) stk1160: vma=0xf218d860 stk1160: vma start=0xb70d8000, size=692224 (0) stk1160: vma=0xf218d7b0 stk1160: vma start=0xb702f000, size=692224 (0) stk1160: vma=0xf218db78 stk1160: vma start=0xb6f86000, size=692224 (0) stk1160: vma=0xf218d910 stk1160: vma start=0xb6edd000, size=692224 (0) stk1160: vma=0xf218d808 stk1160: vma start=0xb6e34000, size=692224 (0) stk1160: vma=0xf218d968 stk1160: vma start=0xb6d8b000, size=692224 (0) stk1160: vma=0xf218d8b8 stk1160: vma start=0xb6ce2000, size=692224 (0) stk1160: vma=0xf218dbd0 stk1160: vma start=0xb6c39000, size=692224 (0) stk1160: vma=0xf218dc28 stk1160: vma start=0xb6b90000, size=692224 (0) stk1160: vma=0xf218da70 stk1160: vma start=0xb6ae7000, size=692224 (0) stk1160: vma=0xf2151180 stk1160: vma start=0xb6a3e000, size=692224 (0) stk1160: vma=0xf2151de0 stk1160: vma start=0xb6995000, size=692224 (0) stk1160: vma=0xf2151bd0 stk1160: vma start=0xb68ec000, size=692224 (0) stk1160: vma=0xf2151338 stk1160: vma start=0xb6843000, size=692224 (0) stk1160: vma=0xf21518b8 stk1160: vma start=0xb679a000, size=692224 (0) stk1160: vma=0xf2151c28 stk1160: vma start=0xb66f1000, size=692224 (0) stk1160: vma=0xf2151f98 stk1160: vma start=0xb6648000, size=692224 (0) stk1160: vma=0xf2151440 stk1160: vma start=0xb659f000, size=692224 (0) stk1160: vma=0xf2133e38 stk1160: vma start=0xb64f6000, size=692224 (0) stk1160: vma=0xf2133d88 stk1160: vma start=0xb644d000, size=692224 (0) stk1160: vma=0xf21335f8 stk1160: vma start=0xb63a4000, size=692224 (0) stk1160: vma=0xf2133860 stk1160: vma start=0xb62fb000, size=692224 (0) stk1160: vma=0xf2133968 stk1160: vma start=0xb6252000, size=692224 (0) stk1160: vma=0xf21334f0 stk1160: vma start=0xb61a9000, size=692224 (0) stk1160: vma=0xf2133e90 stk1160: vma start=0xb6100000, size=692224 (0) stk1160: vma=0xf2133ac8 stk1160: vma start=0xb6057000, size=692224 (0) stk1160: setting alternate 5 stk1160: minimum isoc packet size: 3072 (alt=5) stk1160: setting alt 5 with wMaxPacketSize=3072 stk1160: allocating urbs... stk1160: urbs allocated stk1160: streaming started -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2410#comment:9> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac