[FFmpeg-trac] #2058(undetermined:open): FFMPEG sometimes not able to stream copy WTV files, error with pts < dts

FFmpeg trac at avcodec.org
Tue Dec 25 19:22:36 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 facing similar issues (same error messagE) with some TS files also.
 Should I tag those to this ticket also or should I open a new ticket for
 them?


 {{{
 ffmpeg  -y -threads 0 -i "CSI- Crime Scene
 Investigation_WVLTDT_22_02_2012_21_58_01.ts" -ss 23.19 -t 233.4 -map 0:a
 -map 0:v -vcodec copy -acodec copy "CSI- Crime Scene
 Investigation_WVLTDT_22_02_2012_21_58_01_23_256.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-
 helpers/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-libtheora --enable-libspeex --enable-
 libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-
 fontconfig --enable-libass --enable-libutvideo --enable-libopus --disable-
 w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc
 --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB
 --enable-libopencore-amrnb --enable-libopencore-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- Crime Scene
 Investigation_WVLTDT_22_02_2012_21_58_01.ts':
 -->   Duration: 01:04:58.13, start: 1.269000, bitrate: 10817 kb/s
 --> Video duration=3898.13
 -->   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.94 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, mpegts, to 'CSI- Crime Scene
 Investigation_WVLTDT_22_02_2012_21_58_01_23_256.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
 --> frame=    0 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=
 0.0kbits/s
 --> frame=    0 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=
 0.0kbits/s
 --> frame=    0 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=
 0.0kbits/s
 --> frame=    0 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=
 0.0kbits/s
 --> pts (22590) < dts (24120) in stream 1
 --> av_interleaved_write_frame(): Invalid argument
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2058#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list