reset pts/dts and stream copy
Hi All, I am writing a piece of code that copies all audio, video and subtitle streams to a new mpeg file and at the same time handle any time-stamp rollovers and discontinuities. But the destination streams appear in the reverse order. Input file: Duration: 00:02:05.08, start: 66193.736344, bitrate: 4093 kb/s ? Program 1 ??? Stream #0.0[0x7c0]: Video: mpeg2video, yuv420p, 704x480 [PAR 10:11 DAR 4:3], 15000 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc ??? Stream #0.1[0x7c1](eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s ??? Stream #0.2[0x7c2](spa): Audio: ac3, 48000 Hz, mono, s16, 128 kb/s Output file: Duration: 00:02:05.08, start: 66193.736344, bitrate: 3978 kb/s ??? Stream #0.0[0x81]: Audio: ac3, 48000 Hz, mono, s16, 128 kb/s ??? Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s ??? Stream #0.2[0x1e0]: Video: mpeg2video, yuv420p, 704x480 [PAR 10:11 DAR 4:3], 15000 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc At least one output file must be specified Any Ideas. Also any clues on how to reset the pts/dts of streams to start from 0. Sen
participants (1)
-
sun_radhaï¼ yahoo.com