[FFmpeg-user] Transcoding foscam mkv to mp4 is resulting in larger files

Kai Hendry kai.hendry at gmail.com
Sun Sep 13 16:24:43 CEST 2015

On 13 September 2015 at 12:24, Steve Boyer <steveboyer85 at gmail.com> wrote:
> Put the "-c:a copy -c:v copy" to copy the streams and not transcode and it
> worked fast (778 fps) and plays fine with ffplay and VLC. MPlayer plays it
> at an insane FPS. Stats on the resulting file:

Thanks Steve, I didn't realise a 'copy' was enough to make a MP4 that
could be played back with a browser.

Can I assume the source "mpeg" was actually already H264? It just
needed to be re-containerized (not sure on terminology) as MP4?

Sometimes I have had luck in the past where just renaming a file from
foo.mkv to foo.mp4 was all I needed to do, but it's not the case here.

Many thanks,

More information about the ffmpeg-user mailing list