3 ms·
> --- Generated ffmpeg Command --- > ffmpeg -i my_video.avi -an -c:v libx264 my_video.mp4 The example itself shows a naive conversion, ending up transcoding to
by kookamamie 1y ago
> --- Generated ffmpeg Command ---
> ffmpeg -i my_video.avi -an -c:v libx264 my_video.mp4
The example itself shows a naive conversion, ending up transcoding to default h.264 params. This should have been -c:v copy for copying the input packets, as-is.
- 0points 1y agoNo, -c:v copy would copy the video stream from the input .avi (which could be DivX or some other obscure codec for all we know). I know this from RFTM. I don't ask LLM to second guess me.
- kookamamie 1y agoYeah, you're right. Depends on what's in the AVI, of course. If the input is already something that can be housed inside mp4, i.e. standard codecs, the packets can survive by just copying them.
- 0points 1y agoSure, you can mux DivX into a mp4 container, but don't be surprised if it wont play in various equipment that don't support that specific codec. H264 should be working mostly everywhere, I hope :-)