[FFmpeg-trac] #4163(undetermined:new): Encodes ncompatible videos from similar picture and audio files
FFmpeg
trac at avcodec.org
Sat Dec 6 15:46:56 CET 2014
#4163: Encodes ncompatible videos from similar picture and audio files
-------------------------------------+-------------------------------------
Reporter: paheikki | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
We use FFmpeg to create a number of short videos from pictures and sound
files like this:
ffmpeg -loop 1 -t [length of Sound] -i Picture.jpg -i Sound.mp3 -acodec
copy -pix_fmt yuv420p -c:v libx264 -profile:v baseline -tune stillimage
-vf subtitles=Srtfile.srt Output.mp4
and then we concatenate them using GPAC. Even if all the input pics are of
the same size, 640x480, their parameters can be different after FFmpeging,
and this makes GPAC fail. Please see:
https://github.com/gpac/gpac/issues/13
Mr. Romain Bouqueau promised to give more information to you if needed.
The only difference we have found out is that the metadata of the input
JPEG files can be different because they have been created using different
image editors. Please see the attachment. The bank picture does not have
DPI information but most or all of the others do. It _seems_ that the
video created out of the bank picture is incompatible with the others. The
issue is about an aspect ratio flag even if the aspect ratios are equal.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4163>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list