[FFmpeg-user] No audio on ffmpeg output

Laura Smith n5d9xq3ti233xiyif2vp at protonmail.ch
Thu Mar 4 18:17:55 EET 2021


Hi,

Am I missing something simple here ?

The command I am using is based on the example given at https://google.github.io/shaka-packager/html/tutorials/encoding.html :

ffmpeg -i "${SOURCE}" -c:a copy \

 -vf "scale=-2:1080" \

 -c:v libx264 -profile:v high -level:v 4.2 \

 -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 \

 -minrate 6000k -maxrate 6000k -bufsize 6000k -b:v 6000k \

 -y "${OUTDIR}/1080/${OUTPFX}_1080.mp4"

ffmpeg -i "${SOURCE}" -c:a copy \

 -vf "scale=-2:720" \

 -c:v libx264 -profile:v main -level:v 4.0 \

 -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 \

 -minrate 3000k -maxrate 3000k -bufsize 3000k -b:v 3000k \

 -y "${OUTDIR}/720/${OUTPFX}_720.mp4"

The source file (an mp4 output from Adobe premiere) audio is perfect, no problems. So there is something happening at the ffmpeg stage ?

Where am I going wrong ?

Thanks !

Laura


More information about the ffmpeg-user mailing list