[FFmpeg-user] Change container/encoder used to create a file without re-encoding

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Jun 2 21:26:24 EEST 2019

Am Sa., 1. Juni 2019 um 21:58 Uhr schrieb Carlos M <carlosmarc12 at gmail.com>:

> What I'm trying is to get several videos that were remuxed, to it's
> original state, with the same original metadata/headers. But i only have
> one of those videos in original were i can get the original metadata/header
> information.

If your question is "Is FFmpeg an archiving tool like zip, 7z or tar?", the
answer is "no" - for real-world cases, you cannot get the "video in original"

> The format profile of the original video is "Base Media / Version 2" and
> the format profile of the remuxed ones is "Base Media". I saw that i can
> remuxed them again and get "Base Media / Version 2" passing the switch
> "-brand mp42". But i'm still have other metadata difference.

I don't think FFmpeg supports writing "Base Media / Version 2", only
"Base Media" is supported.

> To make the question simple what i want to do is
> 1) Remove the metadata "Writing application" that is being added when using
> 2) Add the metadata fields "Tagged date", "TIM", "TSC" and "TSZ". I tried
> for example with
> -metadata -tsc="1001"
> and
> -metadata -TSC=1001"
> but it doesn't seem to work.

"It doesn't seem to work" is usually not a helpful problem description.

> 3) When using ffmpeg i see on the video stream that a "GOP" format setting
> is added, not sure if i can be disabled.

I don't understand this sentence (likely command line
and complete, uncut console output missing).

> By the way i'm gathering the video information with MediaInfo.

That's unrelated (and re-reading your mail, I have a strong feeling that
using MediaInfo is bad in your case because it makes you making
wrong assumptions like that you can force FFmpeg to wring "Base
Media / Version 2" files which you cannot).

Consider to describe your actual use-case, not what you believe the
technical description of your use case is.
(Ask "Why why does my media player XYZ not show the video?"
instead of "How can I write Base Media Version 2 files?")

Please find out what top-posting means and avoid it here, Carl Eugen

More information about the ffmpeg-user mailing list