[FFmpeg-user] The Start time is wrong when use -ss 00:00:00.00

Steven Liu lingjiujianke at gmail.com
Mon Nov 19 03:46:58 CET 2012

Hi Guys,

When i use the command line bellow, the start time is wrong.
     ffmpeg -y -ss 00:00:00.00 -t 10 -copyts -i kaka.mkv -scodec copy
-vcodec copy -acodec copy  -bsf h264_mp4toannexb -f mpegts test0.ts
the complete output is :
frame=  241 fps=0.0 q=-1.0 Lsize=   16863kB time=00:00:10.00
video:13585kB audio:1849kB subtitle:0 global headers:0kB muxing
overhead 9.260478%

but duration the command input and complete, it output the bellow:
[mpegts @ 0x18f2040] st:0 PTS: 116640 DTS: 116640 < 121951 invalid, clipping
[mpegts @ 0x18f2040] st:0 PTS: 117540 DTS: 117540 < 121952 invalid, clipping
[mpegts @ 0x18f2040] st:0 PTS: 118440 DTS: 118440 < 121953 invalid, clipping

when i saw the test0.ts
ffmpeg -i test-12.ts

Input #0, mpegts, from 'test-12.ts':
  Duration: 00:00:10.01, start: 1.400000, bitrate: 13800 kb/s
  Program 1
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1920x796, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x101](eng): Audio: dts (DTS) ([6][0][0][0] / 0x0006),
48000 Hz, 5.1(side), fltp, 1536 kb/s

The Start time is wrong.
Do you have the same problem?
Or i have use wrong parameters?


More information about the ffmpeg-user mailing list