[FFmpeg-user] I can't mux pcm into mka with FFmpeg.

Austin Murphy austin.murphy at gmail.com
Mon Jul 18 17:52:56 CEST 2011


Try explicitly setting the format type with " -f matroska " right
before the output file name.

Austin


On Mon, Jul 18, 2011 at 11:45 AM, bat guano <batguano999 at hotmail.com> wrote:
>
> Hi
> I have a problem when muxing pcm audio in mka.
>
> If I record system sound it's OK with these commands:-
>
> ffmpeg -y -f alsa -ac 2 -i pulse -acodec pcm_s16le audio1.wav
> ffmpeg -y -f alsa -ac 2 -i pulse -acodec flac audio2.mka
>
> But if I try to put pcm into mka it gives "non monotonically increasing dts" errors:-
> ffmpeg -y -f alsa -ac 2 -i pulse -acodec pcm_s16le audio3.mka
>
> This also causes problems when muxing pcm with x264 in mkv for screencasts-
> ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 15 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast video.mkv
>


More information about the ffmpeg-user mailing list