8000 Methods for removing error/bad portions during packaging · Issue #981 · mipops/dvrescue · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Methods for removing error/bad portions during packaging #981

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

Open
iamdamosuzuki opened this issue Mar 24, 2025 · 6 comments
Open

Methods for removing error/bad portions during packaging #981

iamdamosuzuki opened this issue Mar 24, 2025 · 6 comments

Comments

@iamdamosuzuki
Copy link

I recently came across a file that has two problematic frames in the middle of it. The file was mostly just 4:3 NTSC, but there were two problematic frames in the middle that were being parsed as 4:3 PAL. Upon further investigation, these PAL frames were actually just error frames, probably recorded in when the recorded in by a faulty camcorder or recording unit. I wanted to find a way to package just the non-problematic portions of the video file into a single file. However, since the errors occurred in the middle of the tape, packaging using the gui would result in three video files (2 working, and one error.

I reached out the @dericed and got this advice:

dvpackager -e dv input.dv

that should make your 3 files by just chopping the dv into pieces

then do

cat part1.dv part3.dv > output.dv

then drop that output.dv file into DVRescue and package to MOV as normal

This method worked. An alternate method was also suggested, however this didn't work:

I guess there's another trick were you could open the dvrescue xml and delete the middle pal reference, so like

<frames ntsc>
 <frame1/>
 <frame2/>
</frames>
<frames pal>
 <frame3/>
 <frame4/>
</frames>
<frames ntsc>
 <frame5/>
 <frame6/>
</frames>

to
<frames ntsc>
 <frame1/>
 <frame2/>
 <frame5/>
 <frame6/>
</frames>

then rerun dvpackager and it will just run according to the edited xml.

This returned a single file that appears to be the correct duration, but would freeze during playback at the point where the error frames would have been.

@iamdamosuzuki
Copy link
Author

Would it be possible to build this sort of functionality into the GUI somehow? Maybe have a checkbox next to each "part" in the Packager. If contiguous selected "parts" are identical then they are combined. That way, if there's an error chunk in the middle, which is deselected, but the rest of the file is consistent, then only one file gets made.

@dericed
Copy link
Contributor
dericed commented Mar 24, 2025

@iamdamosuzuki, actually i thought that the ui does permit selection and deselection of parts. But it's not a checkbox but a selection, so try to highlight the ones you want and deselect the others. But yes possibly we should consider switching from row selection to row checkboxes.

@iamdamosuzuki
Copy link
Author

I tried highlighting but it's not possible to select more than one part. Maybe i'm on an earlier version?

@dericed
Copy link
Contributor
dericed commented Mar 24, 2025

shift-click?

@iamdamosuzuki
Copy link
Author

no luck

@libbyhopfauf
Copy link
Member

I also wasn't able to deselect on my end, but I feel like that used to be an option...checkboxes would make it more obvious/intuitive IMO :)

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

No branches or pull requests

3 participants
0