[FFmpeg-user] first_dts X not matching first dts Y in que

Nuno Mota ambershaper at gmail.com
Wed Nov 7 13:32:17 CET 2012


Hi,

I've been doing some transcoding from H264 to MPEG2. I've encountered some
warnings relating to the mpegts container from mpeg. This is what I get
when i'm using for example ZDF HD. This happens with many others.

...
*** drop!34 fps= 88 q=10.0 size=     728kB time=00:00:05.28
bitrate=1128.9kbits/s dup=41 drop=88
    Last message repeated 1 times
[mpegts @ 0x8fab500] first_dts 2843370702 not matching first dts 2843770302
in que
    Last message repeated 3 times
*** drop!
    Last message repeated 1 times
[mpegts @ 0x8fab500] first_dts 2843370702 not matching first dts 2843781102
in que
    Last message repeated 3 times
*** drop!
    Last message repeated 2 times
[mpegts @ 0x8fab500] first_dts 2843370702 not matching first dts 2843791902
in que
    Last message repeated 3 times
*** drop!
... and so on...


Original:
Duration: N/A, start: 31608.320567, bitrate: 1088 kb/s
  Program 11110
    Stream #0:0[0x17de]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x17e8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16, 256 kb/s
    Stream #0:2[0x17e9](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16, 192 kb/s
    Stream #0:3[0x17eb](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16, 192 kb/s
    Stream #0:4[0x17ea](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz,
stereo, s16, 448 kb/s
    Stream #0:5[0x17f2](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:6[0x17f3](deu): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006) (hearing impaired)

Final:
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p, 720x576 [SAR 64:45 DAR 16:9], 104857 kb/s, 25 fps, 25 tbr, 90k
tbn, 50 tbc
    Stream #0:1[0x101](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16, 256 kb/s

Currently i'm using this command line. This was the only command line I
could find that worked fluidly. Using q=10 the bit rate is lower than
2Mbits, but lowering this value or using "b 4000k minrate 4000k maxrate
4000k" I get a lot of macroblocks.

 -threads 8 -fflags +igndts -vcodec mpeg2video -q 10 -s 720x576 -r 25 -bf 1
-trellis 0 -acodec copy -copyts -copytb 1 -f mpegts -v info -xerror

Am I doing something wrong?

BTW, the final.ts file is currently in the
upload.ffmpeg.org/incomingfolder. The original stream is available as
an FTA in the Astra satelite
and others. ZDF HD.

Best regards,
Nuno


More information about the ffmpeg-user mailing list