Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I just want to know if it's possible to encode audio & video at the
same time by FFmpeg
-c:a libfaac for audio
x264.exe for video.
and any example!
To pipe to x264 and encode to AAC file in the same command, use
ffmpeg -i in.mp4 -map v -f yuv4mpegpipe - -map a -c:a libfaac v.aac | x264 --demuxer y4m --crf 18 --output "v.mp4" -
Then you can mux it via
mp4box -add v.mp4 -add v.aac -new va.mp4
ffprobe -show_entries stream=duration dc.mp4
1 year, 9 months ago
6 days ago