[FFmpeg-trac] #2058(undetermined:open): FFMPEG sometimes not able to stream copy WTV files, error with pts < dts
FFmpeg
trac at avcodec.org
Wed Dec 26 01:58:40 CET 2012
#2058: FFMPEG sometimes not able to stream copy WTV 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 wtv | Blocked By:
mpeg2video | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by ramitbhalla):
I'm attaching a small sample. Here is the command (simplified) to
reproduce the issue:
ffmpeg -threads 0 -i csi.ts -map 0:a -map 0:v -vcodec copy -acodec copy
"csi-test.ts"
{{{
ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg
developers
built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-
prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config
--enable-gpl --enable-libx264 --enable-avisynth -
-enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib
--enable-librtmp --enable-libvorbis --enable-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm
--enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads
--enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-
cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-
libbluray --enable-libvpx --enable-runtime-cpudetect
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 49.102 / 54. 49.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 29.100 / 3. 29.100
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 fp
s, 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
File 'csi-test.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'csi-test.ts':
Metadata:
encoder : Lavf54.49.102
Stream #0:0: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo,
192 kb/s
Stream #0:1: 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:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 03630060] st:0 PTS: 43650 DTS: 39150 < 39151 invalid, clipping
[mpegts @ 03630060] pts (42120) < dts (43650) in stream 1
av_interleaved_write_frame(): Invalid argument
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2058#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list