Log in

View Full Version : DGIndexNV frame issue on joins


inject0r
18th October 2012, 05:15
I've recently been trying out DGIndexNV with a friend however I've run into a bit of an issue...

If I join two files together that I've cut back to back, there's a frame glitch at the join point then following the color appears to change then it goes back to normal. I was wondering if there's anything I can do to fix this. The issue was present in DGAVCIndex I was hoping DGIndexNV fixed but no such luck.

Here's a sample, in the mp4 contaner the content came from bbc hd, the issue is present at 30 seconds.

http://bayfiles.com/file/odX1/RimIm0/bbc_hd.mp4

If you need any details let me know I'll be more than willing to provide them and help in anyway I can to find a solution.

sneaker_ger
18th October 2012, 05:44
Did you cut in the middle of a GOP?
(Can't download your file, btw. Try mediafire.)

inject0r
18th October 2012, 06:08
I think I may have cut in a GOP I'm not entirely sure.

Here is my file: http://www.mediafire.com/?xmr7b1p57dt2m1i

Edit I did cut during the GOP but I did so using VideoReDo from my understanding ReDo re-encodes the last few frames so I don't think that's the issue.

inject0r
18th October 2012, 09:32
Interesting I just used Trim within the avs and I get a good result perhaps VideoReDo is the issue.

This isn't a feasible option though as you can't get accurate sound this way, or perhaps somebody here has some advice on accurately cutting audio I remember trying once with ffmpeg and time stamps I had calculated from the frames and fps it cut from the correct place however it wasn't the correct duration.

Edit: Trying delaycut it appears to be doing the trick, but I'm still open to a better tool if there is one.

Guest
18th October 2012, 13:22
You can get accurate audio cuts with Trim in your script. It's all about using ++ to align things when you recombine the sections.

inject0r
18th October 2012, 22:50
I've actually found that encoding them separately and joining them with mp4box or ffmpeg results in the same quality so long as you trim within the avs.

I'm just trying to work audio out, as I like to manipulate the demuxed ac3 itself but delaycut seems to cut accurately.