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. |
15th August 2006, 19:50 | #61 | Link | ||
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
As for Fizick's comment: Quote:
Last edited by Wilbert; 16th August 2006 at 20:12. |
||
20th August 2006, 10:22 | #63 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
That is, should we a) enable YV12 and MPEG2 interlaced output or b) enable YUY2 output and use ReYV12 in the script?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
20th August 2006, 13:24 | #64 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
I was wondering the same myself, but on checking the ReadMe for ReYV12 it states:
''reverts YUY2 decoded PAL-DV to its native DV-YV12'' I seem to recall some side note that the function was primarily created for re-conversion of processed YUY2 output from the Canopus decoder. Correct Scharfis? Edit: there it is in the MVBob script notes: #revert PAL-DV to YV12 for quality reasons; needs yuy2 input (ie. canopus-dv-decoder) Presumably Cedocida carries out a similar routine to encode DV(YV12) from YUY2 input? Last edited by WorBry; 20th August 2006 at 18:59. |
21st August 2006, 06:44 | #65 | Link |
Registered User
Join Date: Mar 2004
Posts: 889
|
Both ReYV12() and ConvertYV12(interlaced=true) are intended for field-based materials. ReYV12() uses point sampling and picks up the chroma information of even rows (row 0, 1, 2, 3....) of every _field_. For some DV codecs such as Canopus, the discarded chroma info. are simply duplicates. On the other hand, ConvertYV12(interlaced=true) generates the chroma pixels by interpolation according to the defined chroma sample positions in MPEG2/4 4:2:0 Interlaced.
I would say Cedocida's Interlaced MPEG2 YV12 output is appropriate for most purposes. Use ReYV12() when you need original chroma for some specific purposes. |
15th October 2006, 07:17 | #66 | Link |
Registered User
Join Date: Feb 2005
Posts: 31
|
Hi guys. Was previously using the Panasonic DV codec but thought I'd give this a try since I end up converting to YV12 in order for some of my filters to work in avisynth.
The thing is that I just tried a short 5-second test capture and when I tried convolution3d on it, an error spit out about how it "supports YV12 only". How do I change the settings to make my clips get recorded in YV12? Is this possible to do even? My camera is a Sony DCR-PC330. I've used vcswap.exe to access the configuration settings of Cedocida and checked "force input format" and selected YV12. That didn't seem to help so I did the same for "force output format". Any help would be appreciated. Thanks. |
15th October 2006, 16:59 | #67 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Jumbie,
Changing the Cedocida 'input' settings will not affect the outcome because they only influence the DV encoder component of the codec. Certainly, for final rendering to (non-DV) YV12 format (MPEG-4, MPEG-2 etc), "forced" YV12 output with "MPEG2 interlaced" sampling is recommended. Can’t see why you're getting an error with Convolution3D-YV12 though. Are you sure you have uninstalled or inactivated the Panasonic codec or any other DV codec that could be over-riding Cedocida? Easy enough to do with VCSwap - just drag the codec entry from the active to the inactive window. By the same token, make sure Cedocida is ‘active’. That’s the only thing I can think of. |
15th October 2006, 17:22 | #68 | Link |
Registered User
Join Date: Feb 2005
Posts: 31
|
Hi WorBry. Yeah, I'm pretty positive that I have uninstalled the Panasonic DV codec. I actually did that before finding VCSwap and, upon loading VCSwap, it does not show up.
Here is a screenshot of my currently installed codecs: And here is one with my current settings for Cedocida: I changed the YV12 chroma sampling to DV cause I figured that's what I'm recording in. I am actually recording straight to a hard drive with WinDV and not using any tapes. So should I change that to MPEG2 interlaced instead as my output will actually be MPEG-4 (using x264)? What if I record in progressive mode (30p) as my camera has this ability? Does it matter then and should I perhaps change it to MPEG2 noninterlaced (if leaving it in DV is not correct)? Dunno what's up with Convolution3D. I checked to make sure it was using the YV12 version and I am. Using converttoyv12() lets the script work. Anyway, thanks for the reply and for clearing up what the "input" settings do. Sorry about all the questions but there's no documentation that I'm aware of and I'm not sure of the proper settings to use. Obviously... |
15th October 2006, 18:10 | #69 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Well, there's your problem right there. If those are the decoder setiings you're using, then you are outputting (default) YUY2.
Tick the 'Force Output Format' box, select YV12* and, under *YV12 Chroma Sampling, select MPEG-2 Interlaced. I think the 30fps progessive option you are referring to must be the 'Movie Ex' mode for recording short (jittery) MPEG-1 clips to Memory Stick. Would you really want to use that when you've got DV? Last edited by WorBry; 15th October 2006 at 18:16. |
15th October 2006, 18:16 | #70 | Link | ||||
Registered User
Join Date: Feb 2005
Posts: 31
|
Quote:
Quote:
Quote:
Quote:
Thanks again. |
||||
15th October 2006, 18:58 | #71 | Link |
Registered User
Join Date: Feb 2005
Posts: 31
|
I think I figured it out. I was using DirectShowSource to load my clip instead of AviSource.
When I do an info() command after DirectShow it lists the colourspace as YUY2 but it shows it as YV12 after AviSource. So that's why Convolution3D wasn't working. If I use AviSource, it does. |
15th October 2006, 19:25 | #72 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Well there you go. Still dont understand this 'progressive' mode though. Cant be DV (which is interlaced) and you say it's not MPEG-1. So what is the format?
Also, I'm a bit perplexed that the Cedocida 1.6 dll appears with 3 FourCC entries on your VCSwap screen shot (YV12, dvsd and YUY2), whereas I only see dvsd in mine. Can anyone explain that? |
15th October 2006, 19:29 | #73 | Link | ||
Registered User
Join Date: Feb 2005
Posts: 31
|
Quote:
Quote:
|
||
15th October 2006, 21:43 | #74 | Link | |
Registered User
Join Date: Sep 2006
Posts: 602
|
Quote:
The DV specification supports both progressive and interlaced (IEC 61834-4, page 122). The way in which the video frame is compressed is identical, though. e.g., for NTSC, it doesn't matter whether the 720x480 frame is progressive or interlaced - the information is encoded the same way. The DV data stream contains a variety of flags, including progressive vs interlaced. This is really to tell the video hardware how to regenerate the video signal correctly. |
|
15th October 2006, 22:30 | #75 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
By Jolly-Wingo, you're right. Just encoded a pure 576p25 avi source to DV (Cedocida) and it's lo and behold, its progressive. And there was me thinking all this time that DV has to be interlaced
|
16th October 2006, 06:22 | #76 | Link |
Moderator
Join Date: Oct 2001
Location: Germany
Posts: 2,665
|
Many people say DV is interlaced, but this is plain wrong. This prejudice probably comes from the fact that most DV camcorders don't have a progressive scan option. Jumbie's camcorder is obviously one of the rare models that support progressive video (mine does, too).
Regarding compression, DV can support interlaced video by using different sizes of macroblocks; besides the standard 8x8 there's the combination of two 4x8 blocks as well ("2-4-8-DCT mode"). And there's the adaptive interfield compression, which treats interlaced frames as progressive frames, if the encoder detects little difference between the two interlaced fields. The DV specs require the video stream to be compressed in frames, not in fields. This is contrary to MJPEG, where most codecs compress interlaced video on a field basis. Thus I am tempted to say that DV is more a progressive format with an interlaced support addon rather than an interlaced format. bb |
16th October 2006, 11:35 | #77 | Link | |
Registered User
Join Date: Sep 2006
Posts: 602
|
Quote:
|
|
28th October 2006, 10:12 | #78 | Link |
Doom9ing since 2001
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 2,002
|
Just curious: have there been any tests done of the Cedocida ENcoder in terms of generational quality loss? How does it compare to MainConcept, Canopus or Panasonic? Is it safe to use it for DV editing projects?
|
5th November 2006, 14:49 | #79 | Link |
Doom9ing since 2001
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 2,002
|
OK, I can't seem to get PAL 4:2:0 DV encoding to work. Whenever I try to recompress a YV12 Avisynth output to PAL DV with MPEG-2 interlaced input option enabled - the resulting stream has strange flashes, macroblocks and errors. Has anybody been successful in encoding PAL DV with Cedocida?
|
|
|