sorry for the long text. But I wanted to explain my goal.
Indeed, that could be during a commercial break, which I would not want to consider, as it is cut anyhow.
But using command line ffmpeg for cropdetection seems to work as I would want it to. So this is some kind of prove that it is possible using ffmpeg.
For example (for one minute):
ffplay -ss 600 -i “Singh Is Bling.ts” -vf “cropdetect=24:16:0”
detects the correct values
and if I play it then with
ffplay -ss 600 -i “Singh Is Bling.ts” -vf “crop=704:448:10:58” (in this example)
all is fine (for the whole movie)
Is there a way to tell MCE buddy how to use cropdetection? For instance after how many seconds and for how long?
If not, could I make it a feature request
What I typically try to achieve and I have no idea, if I can achieve this somehow via profile.conf:
ffmpeg -i “Pitch Black - Planet der Finsternis.ts” -map 0:v -c:v h264_nvenc -vf “crop=1280:544:0:88” -aspect 16:9 -crf 16 -qmin 16 -qmax 26 -f mpegts -map 0:a -c:a:0 ac3 -b:a:0 448k -c:a:1 ac3 -b:a:1 192k -c:a:2 ac3 -b:a:2 192k -af “dynaudnorm=p=1:m=50:s=0:g=11” -map 0:s:1 -scodec copy output_crop.ts -y
- Removing commercials (via MCEBuddy and comskip)
- Compressing it to H.264 (Nvidia HW) and placing it in a .TS container
- Cropping it to remove black bars on top and the sides and applying a 16:9 ratio for my TV (well after manually detecting crop settings)
- Using the original audio tracks with amplification, using original bit rates and codecs despite varying amount of tracks and codecs used. Could be one track mp2 only or up to 5 tracks (multilanguage) with a mixture of ac3 and mp2 (after manually retrieving audio channels and bitrates)
- Copying the subtitle tracks unchanged
- Applying some video quality things
Mostly I want to get rid of doing manual steps.
Guess MCEBuddy will not really be able to help me here, won’t it?
Many thanks for your help.