Bug#789254: This sample seems not to be processable by FFmpeg

Peter Belkner pbelkner at snafu.de
Sun Jun 21 20:28:55 UTC 2015


What BS1770GAIN does is best approximated by the following FFmpeg 
command (copying the video stream, transcoding the audio stream into 
FLAC and muxing both into a MKV container):

    $ ffmpeg -i sample/20030213-cvs.mpeg -vcodec copy -acodec flac -y ffmpeg/20030213-cvs.mkv

FFmpeg aborts with the following error message:

    [matroska @ 02a9ae00] Can't write packet with unknown timestamp
    av_interleaved_write_frame(): Invalid argument

Google for that error. You will see that it is known for a long time.

It's not the aim of BS1770GAIN to work around FFmpeg's bugs (it is 
impossible anyway). We hope that some day the bugs in FFmpeg will be 
fixed (a lot of them are meanwhile gone, some fixes I've provided myself.)

The best way for organizing your workflow is as a first step before 
running BS1770gain is to remux all your files into a proper MKV using 
"mkvmerge".

In my opinion, choosing MKV as the intermediate container while working 
with multimedia files is the best choice anyway.

Best regards,

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150621/df2c9849/attachment.html>


More information about the pkg-multimedia-maintainers mailing list