ffmpeg -c copy vs -copyts vs -copytb etc & similar options? What's the overlap, differences, significances, pros cons, how, why & when TO or NOT TO use?
ffmpeg -c copy vs -copyts vs -copytb etc & similar options?
What's the overlap, differences, significances, pros cons, how, why & when TO or NOT TO use?
----------------------------
I am new to playing with ffmpeg and messing with AV containers, codeecs & tracks but have been reading a bit and gathered some of the following.
And googling does not bring up any source that clarifies the usage & implications between them; separately and/ or combined together at times.
Here's snippets from what I gathered, but have not fully clearly understood or comprehended the meaning or implication of:
(Some were from authors here on OBS): @dodgepong @Jack0r @WayZHC @sepultribe
Quoting from others posts:
P1:
ffmpeg -c copy vs -copyts vs -copytb etc & similar options?
What's the overlap, differences, significances, pros cons, how, why & when TO or NOT TO use?
----------------------------
I am new to playing with ffmpeg and messing with AV containers, codeecs & tracks but have been reading a bit and gathered some of the following.
And googling does not bring up any source that clarifies the usage & implications between them; separately and/ or combined together at times.
Here's snippets from what I gathered, but have not fully clearly understood or comprehended the meaning or implication of:
(Some were from authors here on OBS): @dodgepong @Jack0r @WayZHC @sepultribe
https://obsproject.com/forum/threads/guide-how-to-convert-flvs-to-mp4-fast-without-re-encoding.6406/
https://obsproject.com/forum/resources/how-to-convert-flvs-to-mp4-fast-without-re-encoding.78/ffmpeg -i %1 -c copy -copyts %1.mp4[/CODE]
https://obsproject.com/forum/resources/guide-batch-convert-flv-to-mp4-losslessly-with-ffmpeg.525/ffmpeg -i input.flv -c copy -copyts output.mp4
The "-c copy" means it will just copy the audio and video tracks without re-encoding them.
The "-copyts" flag means it will copy timestamps, which should help with syncing audio and video.
Quoting from others posts:
P1:
P2:The "-c copy" means it will just copy the audio and video tracks without re-encoding them.
The "-copyts" flag means it will copy timestamps, which should help with syncing audio and video.
Are there Pros/ Cons to "Copy Timestamps" vs "Create New Timestaps"?-c copy is used to copy all video/audio/subtitles streams
-copyts copy timestamps from original source (does not create new timestamps)
What is "timeline base" & adding this in addition to -copy & -copyts "brings what benefit"?-copytb copy timebase which is for example, the same thing as your timeline timebase