-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFmpeg commands: Doesn't show the merge command. #954
Labels
Comments
Hi. What do you need the merge command for? I think the reason why I don't log it is because it will not be very useful, because it looks like this:
|
Thank you Mikael for the command.
I wanted to see it because I’m having a problem with subtitles on a couple files. I wanted to see if I could extract some segments and modify the merge command manually. I’ll check it out and let you know what I find in a couple days.
Karl P.
On Jan 1, 2022, at 3:45 AM, Mikael Finstad ***@***.***> wrote:
Hi. What do you need the merge command for? I think the reason why I don't log it is because it will not be very useful, because it looks like this:
ffmpeg -hide_banner -f concat -safe 0 -protocol_whitelist 'file,pipe' -i - -c copy -map 0 -movflags '+faststart' -ignore_unknown -strict experimental -f mp4 -y 'cut-file-merged-1641026628937.mp4'
—
Reply to this email directly, view it on GitHub <#954 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOMALF2FTOK54PBWJESFCYDUT25LVANCNFSM5KB3DS4Q>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
losslesscut could log the concat list along with the command but I'm not sure if it's something a lot of people would need. |
Yes, I agree the command would not help. So here’s why I was asking.
1. I record a lot of shows using Playon desktop - they recently began passing subtitles and saving the subs stream in the .mp4 file.
2. I noticed on some of the newer recordings, once I modified them by removing advertising chapters in losslesscut, the audio was really out of sync with the video in the new concatenated file. However, the subtitles and video were in sync while the audio was out of sync.
3. So I investigated and finally found using “ffprobe filename” that all the input files causing problems had the following warning in the ffprobe output: Unsupported codec with id 100359 for input stream xx.
4. I originally thought this error was in the subtitle streams, but found out it’s actually in the titles in the metadata. And if I didn’t copy any metadata over in the concat command (using ffmpeg), the resultant file was ok.
5. I found an additional command that let’s me copy the metadata over and ignore the chapter titles. That command is.
ffmpeg -loglevel error -hide_banner -nostats -f concat -safe 0 -i to.txt -c copy -c:v copy -dn -map_metadata:c -1 -map 0 -c:s mov_text testOutMerged.mp4
Thanks for your help
Karl P.
On Jan 5, 2022, at 4:26 AM, Mikael Finstad ***@***.***> wrote:
losslesscut could log the concat list along with the command but I'm not sure if it's something a lot of people would need.
—
Reply to this email directly, view it on GitHub <#954 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOMALFYQU2A7DLRX46PSRS3UUQFDNANCNFSM5KB3DS4Q>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Ok. can leave this open in case more people need it |
now implemented:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, minor issue, but I noticed when you cut and merge a file, the ffmpeg commands show up for the cut, but not for the merge. Thanks
By the way, fantastic program
The text was updated successfully, but these errors were encountered: