[x264-devel] x264 video+audio

Grozdan neutrino8 at gmail.com
Fri Dec 16 23:37:32 CET 2016


On Fri, Dec 16, 2016 at 11:34 PM, randy <randydom at gmail.com> wrote:
> Hello , i've an AVI file that i want to encode to an .mkv file  , here's my
> x264 syntax : --crf 22 --output Ovideo.mkv Ivideo.avi
>
> the result is an Ovideo.mkv but with no audio , although the original AVI
> video is with audio
>
> did i miss an extra option in my x264 syntax to fully encode my video ?

x264 is a video encoder only, not an audio encoder. Try with ffmpeg

ffmpeg -i video.avi -c:v libx264 -x264opts crf=22 -c:a copy output.mkv

>
> --
> Many thanks
>
> -----
>
> Yours Randy
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>



-- 
Yours truly


More information about the x264-devel mailing list