[FFmpeg-user] No audio on ffmpeg output

Phil Rhodes phil_rhodes at rocketmail.com
Thu Mar 4 18:27:44 EET 2021

 Hi there
Can I suggest you post for us the actual commandline that ends up getting executed, and the output from ffmpeg, at least until it gets down to the serious number crunching? The problem may be in the way the command is being assembled.
    On Thursday, 4 March 2021, 16:18:15 GMT, Laura Smith via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:  

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 !

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".  

More information about the ffmpeg-user mailing list