After trying all the suggestions and even trying to keep the -ss code in there but change it to “0” or “1” I can’t seem to get it to work. How can I make the changes so that there will be no trimming of the video unless I set a certain amount of time with the “Start Trim” and “End Trim” feature.
In general if you’re facing an issue attach the conversion log. Folks can take a look and advise on the potential issues. Did you modify the profile also? (there are 2 places which need to be adjusted, mcebuddy.conf and profiles.conf)
That’s very helpful. I had a look at the logs and here is what I found.
Your video is analtered/untrimmed right upto the encoding, so you changes are working perfectly.
However during the encoding the encoder found a bunch of errors in your video and dropped quite a few frames which will explain why the output video is a little shorter than your input video.
An example (there are quite a few in the logs)
MCEBuddy.AppWrapper.Handbrake → Encoding: task 1 of 1, 99.79 % (167.04 fps, avg 167.10 fps, ETA 00h00m01s)[16:01:43] sync: audio 0x100 time went backwards 611 ms, dropped 26 frames (start 132641187, next 132696221)
2018-01-26T16:01:43 MCEBuddy.AppWrapper.Handbrake → [16:01:43] sync: video time didn’t advance - dropped 11 frames (delta 340 ms, current 132661796, next 132664174, dur 2378)
The root cause of the issue is a video that is non compliant with the standards so the best fix would be go back find out why your source video has errors in it, often due to a buggy tuner/recording firmware.
I also noticed that your using an intel hardware encoder. The intel driver is very susceptible to errors in the video file and drops frames when it encounters one.
You can try to turn off your hardware encoding the expert settings of your conversion task which will use a software encoder like handbrake or ffmpeg (you can play with the order settings in your profile to see which ones works better at handing your video file errors) which are slower but better at handling video errors and may drop fewer frames.
Thanks Goose! I looked into all of the potential errors for my videos. I could not find one. I shutdown my server, stopped using the HW feature, tried movies from 3 different sources, and a different computer. Any ideas on how to overcome this? as I don’t think the errors can be changed? Is there a way to fix them?
Only permanent fix can be from the recording source, the tuner or capture card or recording device. You’ll have to track down the driver or firmware and see if there’s an update or maybe an older version which is better and doesn’t introduce these timing errors in the recordings.
Hi Goose,
I have an odd question. Is there a way I can setup the config and profile to only trim 4 seconds off the front and the last 7 seconds off the back of the file. I do not want it to do anything else. Meaning no encoding, no metadata, no compression, etc.
What would that code look like?
Sure you can. Use any of the Unprocessed profiles. They just copy the audio and video as is without processing them.
Then in the expert settings page set your start trim to 4 seconds and end trim to 7 seconds.
Also refer to the topic is first few using seconds and make those adjustments to your profile as MCEBuddy trims a few seconds off the start of the video by default.