#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:10 cehoyos]: > Replying to [comment:9 dinhka]: > > 2. test case 2. the process hang. > > > > ffmpeg -f video4linux2 -pix_fmt yuv420p -i /dev/video0 -vcodec mpeg4 -b:v 1200k -y test.avi > > Please confirm that 2d777bb also hangs if you remove "-pix_fmt yuv420p". > Does "-loglevel 99" show some output? > Does MPlayer work with your card? Hi, 1. remove "-pix_fmt yuv420p" still hang. 2. ffmpeg -loglevel 99 -f video4linux2 -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 [video4linux2 @ 0xa7b64c0] [3]Capabilities: 5000001 [video4linux2 @ 0xa7b64c0] Querying the device for the current frame size [video4linux2 @ 0xa7b64c0] Setting frame size to 720x480 [video4linux2 @ 0xa7b64c0] The V4L2 driver set input_id: 0, input: Composite0 3. I test my video card on windows xp is OK. the hardware is good. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2410#comment:11> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac