Log in

View Full Version : Drop audio point to keep sync


lintran
12th August 2013, 14:48
Hi everyone.
I always use FFVideoSource (or sometime DirectShowSouce) to encode video.
Sometime original video file corrupt at some frames, but when play by player like MPC, Splash... they auto skip these frame and skip audio too, so everything keep sync. But when i encode this video by FFVideoSource (exam to mp4), corrupt frames may be skiped, or dropped, and when i convert audio of this video (exam ac3, aac...) the result audio out of sync with mp4. So anyone please tell me how can i do to audio auto skip some point of corrupt video frames to keep sync?
Thanks very much.

Guest
12th August 2013, 14:53
I suggest solving your corrupted frame issue at its source. What are these videos and why are they corrupted?

lintran
13th August 2013, 10:42
I suggest solving your corrupted frame issue at its source. What are these videos and why are they corrupted?

They are TV series mkv video. I dont know why are they corrupted, may be corrupt during upload processing...
But i mean, whatever video corrupt or not, i want when encode video and audio, it will process both video channel and audio channel by the same way. Exam video frame x,y (time at x1,y1) dropped when encode, then i want audio skip at x1,y1 too.
thanks so much.