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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > DV

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th March 2016, 22:40   #21  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Quote:
Originally Posted by WorBry View Post
Why? Note in the screenshot, Cedocida is configured to output YUY2.
What does the output mean in this case ? Dvsd is always in yv12, right ?
Music Fan is offline   Reply With Quote
Old 9th March 2016, 23:23   #22  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
It means Cedocida internally converts DV 4:2:0 (PAL) or 4:1:1 (NTSC) to YUY2 for output....correctly.

http://forum.doom9.org/showthread.ph...231#post844231
__________________
Nostalgia's not what it used to be

Last edited by WorBry; 9th March 2016 at 23:29.
WorBry is offline   Reply With Quote
Old 12th March 2016, 16:19   #23  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
Quote:
Originally Posted by P.J View Post
Would you explain in depth? I'm not familiar with AviSynth and encoding =/
Which I did.

Quote:
Originally Posted by WorBry View Post
So, for the O.P's benefit, probably best not to complicate matters with alternative approaches that amount to the same thing.

P.J, just do it as described and it will work just fine.

.......And let us know how you get on. We're all rooting for you
Wonder why I bothered now.
__________________
Nostalgia's not what it used to be

Last edited by WorBry; 12th March 2016 at 16:26.
WorBry is offline   Reply With Quote
Old 13th March 2016, 15:30   #24  |  Link
P.J
Δ
 
Join Date: Jun 2008
Posts: 535
Wow, thanks a lot!
Just followed your tutorial and it fixed the problem

Edit: Which script is better? the first one or this: (since I know, DV is mostly BFF)
Code:
AVISource("C:\...path...\EncodedVideo.avi", audio=false).AssumeFPS(30000,1001)
AssumeTFF()
SeparateFields()
And how to detect if my source is DV Type I or II?

Last edited by P.J; 13th March 2016 at 15:53.
P.J is offline   Reply With Quote
Old 13th March 2016, 16:12   #25  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
Quote:
Originally Posted by P.J View Post
Wow, thanks a lot!
Just followed your tutorial and it fixed the problem
There you go - I guess it did amount to a tutorial.

Quote:
Originally Posted by P.J View Post
Edit: Which script is better? the first one or this: (since I know, DV is mostly BFF)
Code:
AVISource("C:\...path...\EncodedVideo.avi", audio=false).AssumeFPS(30000,1001)
AssumeTFF()
SeparateFields()
As explained, that script is purely to confirm the field order - not to change it:
Quote:
Originally Posted by WorBry View Post
If you want to satisfy yourself that the field order is indeed changed to TFF, simply load the encoded avi file with this script:

Code:
AVISource("C:\...path...\EncodedVideo.avi", audio=false).AssumeFPS(30000,1001)
AssumeTFF()
SeparateFields()
And then, using the >> control button at the bottom of the VirtualDub screen, advance the video frame by frame. If it is TFF, the motion will be 'normal'. If it were BFF, it would jerk back and to.
Quote:
Originally Posted by P.J View Post
And how to detect if my source is DV Type I or II?
If it had been Type I you wouldn't have been able to load it with AVISynth, at least not as an AVISource using the Cedocida DV codec.

Edit: Correction on that - just dug out and tested a Type I DV.avi file that I had archived. Actually it loads OK. I recall now, what used to happen with VirtualDubMod is that you couldn't extract the WAV audio. Not a problem with VirtualDub 1.10.4. So you would have been OK even if it was Type I.
__________________
Nostalgia's not what it used to be

Last edited by WorBry; 13th March 2016 at 17:25.
WorBry is offline   Reply With Quote
Old 13th March 2016, 16:34   #26  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Quote:
Originally Posted by WorBry View Post
It means Cedocida internally converts DV 4:2:0 (PAL) or 4:1:1 (NTSC) to YUY2 for output....correctly.

http://forum.doom9.org/showthread.ph...231#post844231
Thus output means this setting is used when playing (decoding) it ?
Why does it have to be converted into yuy2 when played ?
Music Fan is offline   Reply With Quote
Old 13th March 2016, 16:57   #27  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
Quote:
Originally Posted by Music Fan View Post
Why does it have to be converted into yuy2 when played ?
It doesn't. I merely configured Cedocida for YUY2 output in this instance because ReverseFieldDominance requires YUY2. That's all.
__________________
Nostalgia's not what it used to be
WorBry is offline   Reply With Quote
Old 13th March 2016, 17:10   #28  |  Link
P.J
Δ
 
Join Date: Jun 2008
Posts: 535
Thanks again

The last problematic video is .TS H.264 50fps progressive that need to be converted to 25fps interlaced.
The source's frames are all interlaced and also duplicated (AABBCCDD, all interlaced)
How is it possible to fix it with minimal quality loss?
Not sure if I should create a new topic for it or not =/
P.J is offline   Reply With Quote
Old 13th March 2016, 17:28   #29  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
Might be a good idea, since it's not DV related.
__________________
Nostalgia's not what it used to be
WorBry is offline   Reply With Quote
Old 13th March 2016, 18:12   #30  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
edit : I believe I understand what you mean, I forgot that Cedocida was also used in the first script's line (and not only for re-encoding), and the video becomes yuy2 from the first line because Cedocida's output is set on yuy2. And as the video is re-encoded with Cedocida too, the input and output work at the same time.
Anyway I find it confusing, I prefer to use Avisynth conversion and configure Cedocida's input and output in yv12.

Last edited by Music Fan; 13th March 2016 at 18:31.
Music Fan is offline   Reply With Quote
Old 13th March 2016, 18:34   #31  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Quote:
Originally Posted by P.J View Post
Thanks again

The last problematic video is .TS H.264 50fps progressive that need to be converted to 25fps interlaced.
The source's frames are all interlaced and also duplicated (AABBCCDD, all interlaced)
How is it possible to fix it with minimal quality loss?
Not sure if I should create a new topic for it or not =/
Yes, in the Avisynth part ;
http://forum.doom9.org/forumdisplay.php?f=33
Music Fan is offline   Reply With Quote
Old 13th March 2016, 18:46   #32  |  Link
WorBry
Registered User
 
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
Quote:
Originally Posted by Music Fan View Post
Anyway I find it confusing, I prefer to use Avisynth conversion and configure Cedocida's input and output in yv12.
Yes, like I said, I could have set it out that way, and if it was with a view to further YV12 filtering with AVISynth I would do the same i.e. output YV12 with "MPEG2 interlaced" chroma sampling. But in this instance, the ReverseFieldDominance requires YUY2, and configuring Cedocida accordingly kept it simple for the OP.
__________________
Nostalgia's not what it used to be

Last edited by WorBry; 13th March 2016 at 19:37.
WorBry is offline   Reply With Quote
Old 14th March 2016, 21:07   #33  |  Link
P.J
Δ
 
Join Date: Jun 2008
Posts: 535
Just wanted to update the topic, it wasn't the video file's issue.
The hardware de-interlacer had problem while detecting the field order's flag:
http://forum.doom9.org/showpost.php?...ostcount=20658

I'll update again if I found any clue to fix it <3
P.J is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.