Skip to content
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

Closed
piezanno opened this issue Dec 14, 2021 · 6 comments
Closed

FFmpeg commands: Doesn't show the merge command. #954

piezanno opened this issue Dec 14, 2021 · 6 comments

Comments

@piezanno
Copy link

piezanno commented Dec 14, 2021

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

@mifi
Copy link
Owner

mifi commented Jan 1, 2022

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'

@piezanno
Copy link
Author

piezanno commented Jan 2, 2022 via email

@mifi
Copy link
Owner

mifi commented Jan 5, 2022

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.

@piezanno
Copy link
Author

piezanno commented Jan 5, 2022 via email

@mifi
Copy link
Owner

mifi commented Jan 11, 2022

Ok. can leave this open in case more people need it

@mifi mifi closed this as completed in 11e1f81 Feb 28, 2022
@mifi
Copy link
Owner

mifi commented Feb 28, 2022

now implemented:
will log like this:

echo -e "file 'file:timecode-smartcut-segment-encode-0.mp4'\nfile 'file:timecode-smartcut-segment-copy-0.mp4'" | ffmpeg -hide_banner -f concat -safe 0 -protocol_whitelist 'file,pipe' -i - -i 'timecode-smartcut-segment-copy-0.mp4' -map '0:0' '-c:0' copy '-disposition:0' default -map '0:1' '-c:1' copy '-disposition:1' default -map '0:2' '-c:2' copy -map_metadata 1 -movflags '+faststart' -default_mode infer_no_subs -ignore_unknown -video_track_timescale 24000 -f mp4 -y 'out.mp4'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants