Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#21 | Link |
Guest
Posts: n/a
|
IJust wanted to say thanks for providing this. After seeing the announcement for AvxSynth I was thinking of porting DGIndex to something cross-platform but got discouraged by the fact that it's a huge mass of spaghetti code. But after seeing this post, I've started up again a few days ago this time starting from scratch and just re-implementing core features (generating d2v files, demuxing video/audio, d2v fixer, etc.) and leaving out all the other cruft (AC3 decoding, audio resampling, cropping filter, luminance filter, etc). Right now, I have d2v generation and demuxing working and I'm getting identical results to DGIndex in my limited tests. I'm trying to finish up the last few features I want supported and trying to test it as much as possible. Should have something by mid next week for others to test and I'll throw the code up on github. It's written for Qt and uses ffmpeg libs for parsing/demuxing of the streams.
Last edited by lil'jerry; 17th November 2012 at 15:55. |
![]() |
![]() |
#22 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,907
|
Quote:
Last edited by Guest; 19th November 2012 at 15:45. |
|
![]() |
![]() |
![]() |
#26 | Link | |
Registered User
Join Date: Mar 2005
Posts: 128
|
Quote:
As a side note, new beta is posted, this time with a MinGW build as well, which has inline assembly and should be faster. Changlog here, because I'm lazy: https://github.com/dwbuiten/d2vsourc.../beta2...beta3 |
|
![]() |
![]() |
![]() |
#27 | Link |
契約者
Join Date: Jun 2008
Posts: 1,577
|
Daemon404
Hi. You mentioned gui before, but I don't see it. It is not yet ready, right? Anyway I want to make feature request for it - please don't forget some kind of indication where vobs,cells start/end so we can easily cut exactly at these points. Of course if cutting will be part of the subset at all. |
![]() |
![]() |
![]() |
#28 | Link | |
Registered User
Join Date: Mar 2005
Posts: 128
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#29 | Link | |
Guest
Posts: n/a
|
Quote:
I'm working on a cloned DGIndex/DVD2AVI right now as I announced above. |
|
![]() |
![]() |
#30 | Link |
Registered User
Join Date: Mar 2005
Posts: 128
|
As it is right now, neither VapourSynth nor d2vsource has a concept of a 'field'. I do not feel it is worth the complexity of adding this to d2vsource to achieve something you can easily do outside of it, in the same 'perfect' way. There's no value-add for this feature, as far as I can tell...
|
![]() |
![]() |
![]() |
#31 | Link |
Guest
Posts: n/a
|
So then how are you decoding mpeg-2 files with RFF flags set? Are you just always ignoring the repeats or what? ffms2 has the rffmode option that still works under Vapoursynth just as it does under Avisynth. That Vapoursynth has no concept of a field seems irrelevant.
Last edited by lil'jerry; 19th November 2012 at 22:42. |
![]() |
![]() |
#35 | Link | |
Registered User
Join Date: Mar 2005
Posts: 128
|
Quote:
EDIT: It is feasible, however, to return rff flags as part of the frame metadata for other filters. Like hinting in AVS. |
|
![]() |
![]() |
![]() |
#36 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,497
|
Quote:
Got ya! I deleted the rff code from the vs side of ffms2 because I was lazy. NANANA ![]()
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
![]() |
![]() |
![]() |
#38 | Link |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
The other way around. ffmpeg ignores repeat fields when decoding, so you get only the coded frames. If you want to add the "missing" fields in the correct places you can do so by examining the frame PTS's, I believe. Or if you want to make your life easy just put the repeat_pict number in a per-frame property.
Last edited by TheFluff; 19th November 2012 at 23:02. |
![]() |
![]() |
![]() |
#39 | Link |
Guest
Join Date: Jan 2002
Posts: 21,907
|
I find this discussion amusing. The source filter is the last one to know about the RFF flags, so if repeated fields are going to be honored, that is the right place to do it. And to coordinate with random access by frame number...it has to take into account the repeats. This stuff is hardly "cruft", if you want to do things in a half-assed way, fine, it's your choice, but don't try to blame someone that has done the right thing.
There are lots of streams with irregular pulldown and ones with mixtures of hard and soft pulldown. If you want to have a hope of processing those correctly, you are going to need to honor repeat flags. |
![]() |
![]() |
![]() |
#40 | Link | ||||
Registered User
Join Date: Mar 2005
Posts: 128
|
Quote:
Quote:
Quote:
Quote:
P.S. You should take a look at how I'm actually using FFmpeg before you make such statements in the future. Last edited by Daemon404; 20th November 2012 at 02:39. Reason: s/work/worth/ |
||||
![]() |
![]() |
![]() |
Tags |
d2v, dgindex, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|