[FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

FFmpeg trac at avcodec.org
Tue Jun 5 18:13:56 CEST 2012


#1297: FFMPEG creating stuttering MPEG-2 TS video files
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    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 cehoyos):

 Replying to [comment:19 ramitbhalla]:
 > 1. Yes tried with a lower resolution (1024x768 - the lowest possible)
 and output video is still stuttering.
 What do you mean with "lowest possible"?
 I tried 320x180 and I find the video still very watchable at least for
 testing and I do not see any stuttering, it also works fine with 640x360.
 I do see stuttering with higher resolutions because my current setup
 cannot play 60fps movies with (for example) 960x540 or higher resolutions.
 {{{
 $ ffmpeg -i Test2.ts -s 320x180 -qscale 2 -ac 2 out.ts
 ffmpeg version N-41327-g02827a3 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jun  5 2012 14:33:36 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
 --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
   libavutil      51. 56.100 / 51. 56.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 78.100 /  2. 78.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mpeg2video @ 0x90143c0] mpeg_decode_postinit() failure
     Last message repeated 19 times
 [mpegts @ 0x90123c0] PES packet size mismatch
 Input #0, mpegts, from 'Test2.ts':
   Duration: 00:00:51.70, start: 30981.471378, bitrate: 9754 kb/s
   Program 1009
   No Program
     Stream #0:0[0x7c0]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR
 1:1 DAR 16:9], 17782 kb/s, 64.74 fps, 59.94 tbr, 90k tbn, 119.88 tbc
     Stream #0:1[0x7c1]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
 Please use -q:a or -q:v, -qscale is ambiguous
 [buffer @ 0x9018e60] w:1280 h:720 pixfmt:yuv420p tb:1/90000 sar:1/1
 sws_param:flags=2
 [ffmpeg_buffersink @ 0x9019640] No opaque field provided
 [scale @ 0x90161c0] w:1280 h:720 fmt:yuv420p sar:1/1 -> w:320 h:180
 fmt:yuv420p sar:1/1 flags:0x4
 [aformat @ 0x9082be0] auto-inserting filter 'auto-inserted resampler 0'
 between the filter 'Parsed_anull_0' and the filter 'aformat'
 [auto-inserted resampler 0 @ 0x9083660] chl:5.1(side) fmt:s16 r:48000Hz ->
 chl:stereo fmt:s16 r:48000Hz
 [mpegts @ 0x9019bc0] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf54.6.101
     Stream #0:0: Video: mpeg2video, yuv420p, 320x180 [SAR 1:1 DAR 16:9],
 q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
     Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
   Stream #0:1 -> #0:1 (ac3 -> mp2)
 Press [q] to stop, [?] for help
 frame= 3055 fps= 82 q=2.0 Lsize=   20399kB time=00:00:50.43
 bitrate=3313.1kbits/s dup=50 drop=0
 video:17737kB audio:788kB global headers:0kB muxing overhead 10.111193%
 }}}

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


More information about the FFmpeg-trac mailing list