[FFmpeg-trac] #7651(undetermined:new): Corrupted start of mp4 file after "-ss 0 -to XXX -c copy"
FFmpeg
trac at avcodec.org
Wed Jan 2 14:37:11 EET 2019
#7651: Corrupted start of mp4 file after "-ss 0 -to XXX -c copy"
-------------------------------------+-------------------------------------
Reporter: v0lt | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
The beginning of the file is corrupted when copying data, even if "-ss 0"
is specified. Any other value for "-ss" (indicating a keyframe, of course)
can also give a problem.
It looks like #7644, but this is a bug.
How to reproduce:
ffmpeg version N-92868-g51b356eef8
I run the following commands.
{{{
ffplay "movie.mp4"
ffmpeg -hide_banner -i "movie.mp4" -ss 0.000 -to 603.480 -c copy
"movie.1.mp4"
ffplay "movie.1.mp4"
}}}
"movie.mp4" plays without errors.
"movie.1.mp4" play with an error at the beginning of the playback.
{{{
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000459900] Could not find codec
parameters for
stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720, 417 kb/s):
unspecifi
ed pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
}}}
MPC-HC and MPC-BE players have a black screen at the start of playback.
[https://cloud.mail.ru/public/4q5h/U6VYKV5Sr movie.mp4]
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7651>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list