[FFmpeg-trac] #4117(undetermined:new): ffmpeg hangs while converting usb camera input

FFmpeg trac at avcodec.org
Mon Nov 17 15:16:16 CET 2014


#4117: ffmpeg hangs while converting usb camera input
-------------------------------------+-------------------------------------
             Reporter:  biofool      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by biofool):

 fmpeg -f lavfi -i aevalsrc=0 -f video4linux2 -s 640x480 -i /dev/video0
 -strict -2 http://localhost:8090/feed1.ffm
 ffmpeg version N-67694-gdcb10ef Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Nov 15 2014 13:25:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
   configuration: --enable-libvpx --enable-libvorbis
   libavutil      54. 11.100 / 54. 11.100
   libavcodec     56. 12.101 / 56. 12.101
   libavformat    56. 12.103 / 56. 12.103
   libavdevice    56.  3.100 / 56.  3.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
 Input #0, lavfi, from 'aevalsrc=0':
   Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
     Stream #0:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
 Input #1, video4linux2,v4l2, from '/dev/video0':
   Duration: N/A, start: 3225.154243, bitrate: 147456 kb/s
     Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,
 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
 [libvpx @ 0x29758a0] v1.3.0-4832-gc3a9056
 Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
   Metadata:
     creation_time   : now
     encoder         : Lavf56.12.103
     Stream #0:0: Audio: vorbis (libvorbis), 22050 Hz, mono, fltp, 64 kb/s
     Metadata:
       encoder         : Lavc56.12.101 libvorbis
     Stream #0:1: Video: vp8 (libvpx), yuv420p, 800x448, q=10-42, 400 kb/s,
 30 fps, 1000k tbn, 30 tbc
     Metadata:
       encoder         : Lavc56.12.101 libvpx
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_f64le (native) -> vorbis (libvorbis))
   Stream #1:0 -> #0:1 (rawvideo (native) -> vp8 (libvpx))
 Press [q] to stop, [?] for help
 frame=   99 fps=3.6 q=0.0 Lsize=     104kB time=00:00:03.34 bitrate=
 255.0kbits/s dup=73 drop=0
 video:94kB audio:0kB subtitle:0kB other streams:0kB global headers:4kB
 muxing overhead: 10.710758%

 Not sure if this depends on multiple inputs or not.  I'll try to test.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4117#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list