New submission from flicker <[EMAIL PROTECTED]>:
I am trying to transcode mpeg file to something with skipping few
seconds from start.
I use -ss option. The output video file was all black (no frames
decoded). Audio stream was copyed successful. Result not depends on
witch output format\codec i use. If i remove ss option everything works
OK.
G:\MSYS\local\bin>ffmpeg -ss 1 -i test-mpeg-ss-problem.mpg test-mpeg-
ss-problem.flv
FFmpeg version SVN-r15955, Copyright (c) 2000-2008 Fabrice Bellard, et
al.
configuration: --disable-logging --disable-static --enable-shared --
target-os=mingw32 --extra-cflags=-fn
o-common -mno-cygwin -mms-bitfields --extra-ldflags=-Wl -add-stdcall-
alias --enable-memalign-hack
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 4. 0 / 52. 4. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Dec 7 2008 14:06:58, gcc: 4.2.1-sjlj (mingw32-2)
Input #0, mpeg, from 'test-mpeg-ss-problem.mpg':
Duration: 00:00:06.80, start: 0.333344, bitrate: 1233 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288 [PAR
178:163 DAR 1958:1467], 1098 kb/s, 25.00
tb(r)
Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 112 kb/s
Output #0, flv, to 'test-mpeg-ss-problem.flv':
Stream #0.0: Video: flv, yuv420p, 352x288 [PAR 178:163 DAR
1958:1467], q=2-31, 200 kb/s, 25.00 tb(c)
Stream #0.1: Audio: adpcm_swf, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg @ 0x3d5da0]invalid dts/pts combination
frame= 0 fps= 0 q=0.0 Lsize= 241kB time=5.53 bitrate=
356.8kbits/s
video:0kB audio:239kB global headers:0kB muxing overhead 0.890683%
So there is an error "invalid dts/pts combination" but in other editors
\players this sample file looks and seek OK, and this file not looks
like damaged. I can download first few seconds of it to ftp://
upload.mplayerhq.hu/MPlayer/incoming/ or other place if you need.
----------
messages: 3799
priority: normal
status: new
substatus: new
title: mpeg seek problem
type: bug
______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue748>
______________________________________________________