Hi,

On Mon, Nov 5, 2018 at 10:59 AM Ben <[email protected]> wrote:
>
> As I read I can lossless re-package an existing video from a source container 
> file into a different target container file by issuing e.g. the following 
> command:
>
> FFmpeg.exe -i sample.mp4 -acodec copy -vcodec copy sample.avi
>
> or
>
> FFmpeg.exe -i sample.avi -acodec copy -vcodec copy sample.mkv
>
> So the target container type is simply identified by the target file 
> extension.
> No additional parameter is required.
> Correct?

Pretty much, but you might want to add `-map 0` so that all tracks in
your source file make their way into your output file. By default,
ffmpeg will only map one track of each type (audio/video etc).
https://trac.ffmpeg.org/wiki/Map

>
> "Lossless" means without re-encoding the video and audio content.
> Meta data values are obviously lost when "downgrading" e.g. from MP4 to AVI.
>
This loss of metadata is definitely something to watch out for.

Best,

Kieran.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to