[FFmpeg-trac] #730(undetermined:open): Encoded video plays too fast for network input

FFmpeg trac at avcodec.org
Mon Dec 12 00:30:30 CET 2011


#730: Encoded video plays too fast for network input
-------------------------------------+-------------------------------------
             Reporter:  hackeron     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------

Comment (by hackeron):

 No, no difference using mpeg4

 {{{
 $ time ffmpeg -re -y -t 10 -i http://admin:@192.168.0.126/test.cmp -acodec
 copy -vcodec libx264 -crf 25 -preset ultrafast ffmpeg.ts
 -bash: $: command not found
 Roman-Gaufmans-MacBook-Pro:~ hackeron$ time ffmpeg -re -y -t 10 -i
 http://admin:@192.168.0.126/test.cmp -acodec copy -vcodec mpeg4 ffmpeg.ts
 ffmpeg version git-2011-12-10-78fde93, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec 10 2011 19:56:39 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
 --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-
 libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
 libxvid --disable-ffplay
   libavutil    51. 32. 0 / 51. 32. 0
   libavcodec   53. 42. 0 / 53. 42. 0
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 52. 0 /  2. 52. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [nc @ 0x7f8b7881ae00] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, nc, from 'http://admin:@192.168.0.126/test.cmp':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mpeg4, yuv420p, 720x576 [SAR 1:1 DAR 5:4], 100
 fps, 100 tbr, 100 tbn, 100 tbc
 [buffer @ 0x7f8b7841e060] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:
 [mpegts @ 0x7f8b7881dc00] muxrate VBR, pcr every 10 pkts, sdt every 200,
 pat/pmt every 40 pkts
 Output #0, mpegts, to 'ffmpeg.ts':
   Metadata:
     encoder         : Lavf53.24.0
     Stream #0:0: Video: mpeg4, yuv420p, 720x576 [SAR 1:1 DAR 5:4], q=2-31,
 200 kb/s, 90k tbn, 100 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
 Press [q] to stop, [?] for help
 frame=  999 fps= 32 q=31.0 Lsize=    1388kB time=00:00:09.99
 bitrate=1138.0kbits/s
 video:1161kB audio:0kB global headers:0kB muxing overhead 19.558646%

 real    0m44.579s
 user    0m5.549s
 sys     0m0.363s
 }}}

 ffmpeg thinks it's recording 10 seconds, in reality the video is 44
 seconds.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/730#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list