#2058: FFMPEG sometimes not able to stream copy mpeg2video files, error with pts < dts -------------------------------------+------------------------------------- Reporter: ramitbhalla | Owner: Type: defect | Status: open Priority: normal | Component: Version: git-master | undetermined Keywords: | Resolution: av_interleaved_write_frame mpegts | Blocked By: mpeg2video | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): {{{ $ ffmpeg -i csi.ts -an -vcodec copy -f null - ffmpeg version N-48238-g10a3fa8 Copyright (c) 2000-2012 the FFmpeg developers built on Dec 27 2012 21:51:00 with gcc 4.7 (SUSE Linux) configuration: --enable-gpl --disable-indev=jack libavutil 52. 12.100 / 52. 12.100 libavcodec 54. 81.100 / 54. 81.100 libavformat 54. 50.102 / 54. 50.102 libavdevice 54. 3.102 / 54. 3.102 libavfilter 3. 30.101 / 3. 30.101 libswscale 2. 1.103 / 2. 1.103 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100 Input #0, mpegts, from 'csi.ts': Duration: 00:00:01.44, start: 1.269000, bitrate: 7733 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.92 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Output #0, null, to 'pipe:': Metadata: encoder : Lavf54.50.102 Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 90k tbn, 59.94 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [null @ 0x200d800] st:0 PTS: 0 DTS: -4500 < -4499 invalid, clipping [null @ 0x200d800] pts (-1530) < dts (0) in stream 0 [null @ 0x200d800] pts (3060) < dts (4500) in stream 0 [null @ 0x200d800] pts (7560) < dts (9000) in stream 0 [null @ 0x200d800] pts (12060) < dts (13500) in stream 0 [null @ 0x200d800] pts (16560) < dts (18000) in stream 0 [null @ 0x200d800] pts (21060) < dts (22500) in stream 0 [null @ 0x200d800] pts (25560) < dts (27000) in stream 0 [null @ 0x200d800] pts (30060) < dts (31500) in stream 0 [null @ 0x200d800] pts (34560) < dts (36090) in stream 0 [null @ 0x200d800] pts (39060) < dts (40590) in stream 0 [null @ 0x200d800] pts (43560) < dts (45090) in stream 0 [null @ 0x200d800] pts (48060) < dts (49590) in stream 0 [null @ 0x200d800] pts (52560) < dts (54090) in stream 0 [null @ 0x200d800] pts (57060) < dts (58590) in stream 0 [null @ 0x200d800] pts (61560) < dts (63090) in stream 0 [null @ 0x200d800] pts (66060) < dts (67590) in stream 0 [null @ 0x200d800] pts (70560) < dts (72090) in stream 0 [null @ 0x200d800] pts (75060) < dts (76590) in stream 0 [null @ 0x200d800] pts (79560) < dts (81090) in stream 0 frame= 60 fps=0.0 q=-1.0 Lsize=N/A time=00:00:00.93 bitrate=N/A video:1213kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.001771% }}} -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2058#comment:10> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker