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
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to