DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Sony XDCAM EX Pro Handhelds (https://www.dvinfo.net/forum/sony-xdcam-ex-pro-handhelds/)
-   -   HD>SD downconversion Mac/FCP only (https://www.dvinfo.net/forum/sony-xdcam-ex-pro-handhelds/140015-hd-sd-downconversion-mac-fcp-only.html)

Perrone Ford December 27th, 2008 11:52 AM

Quote:

Originally Posted by Dominik Seibold (Post 984604)
I tried DNxHD and my impressions are:
-it is 4:2:2, not 4:4:4

Neither is ProRes, DVCProHD, HDCam, Etc. Other than an image format like PNG, JPEG2000, or something similar, you are not going to get 4:4:4. Most people can't aquire in 4:4:4, but it does have some uses for VFX and such. If that's your bag, then this isn't for you.

Quote:

Originally Posted by Dominik Seibold (Post 984604)
-the 36mbit/s-variant has much more artifacts than 35mbit/s-XDCAM-EX

Not in my testing. What was your source? I tested mine against some 2k RED footage and it was very, very nice.

Quote:

Originally Posted by Dominik Seibold (Post 984604)
-at all bitrates (and without alpha-channel) it needs for playback about 2 times as much CPU than ProResHQ and about 3 times as much CPU than XDCAM-EX

I can't verify this because I am not on a Mac. So I'll take your word for it. The closest I can come to ProResHQ on the PC is Cineform, and I can't use it in my new NLE, which is why I went on a hunt for a new codec. I am trying to be respectful to the fact that this is a Mac thread and not a PC one though.


Quote:

Originally Posted by Dominik Seibold (Post 984604)
-it doesn't support 1080p/29.97

This surprised me until I realized what the codec was for. Film. This is not a broadcast codec. It is there to support 24p, 25p, and IVTC film rates. Honestly, if you're going to NTSC broadcast, you'd want to follow standard, and I don't remember 1080p being in the rec.709 standard. Though maybe it is now.

Quote:

Originally Posted by Dominik Seibold (Post 984604)
So I can't see any advantages using it except the alpha-channel-capability.

Advantages over what though? The advantages of working in uncompressed are clear. The Advantages over working in ProRes, I can't speak to. How do the file sizes compare? For us poor PC folk, it has an advantage over nearly any other choice we have except maybe Cineform, but this is free.

It was not my intent to come to a Mac thread and convince everyone to use an Avid codec! :) It works well for my purposes, and I think others may find use for it. One of the PRIMARY advantages to me, is the ability to move high quality proxy and master files from Mac <-> PC without gamma shift or other issues. ProRes falls down badly there, and the 4:4:4 codecs are HUGE in comparison.

For me, and as noted in the linked articles, the ability to cut HD sized proxies gives great advantage. I can preview for clients in HD and view my cuts and grades on my laptop. This was not something I could easily do before. I recut my latest project masters over night. Being able to open my masters and play them in near realtime on this underpowered laptop is amazing. I wish AVCHD was as easy!

Perrone Ford December 27th, 2008 12:13 PM

Quote:

Originally Posted by Steve Shovlar (Post 984502)
OK it installed perfectly. Stuck a 720P50 clip on the FCP timeline, went export, Quicktime Conversion, chose DNxHD codec, and it made the same sized file. A 20 second clip came out at 283Mb in size.


But. The clip looks washed out. The contrast is shot.

Sounds like a gamma conversion issue. This is one thing I wish the Mac and the PC could sort out. Not sure why you saw it in one codec and not the other.

Andy Nickless December 27th, 2008 12:14 PM

Quote:

Originally Posted by Steve Shovlar (Post 984594)
Original untouched file is here. Shot with EX1.
Right mouse click and "save target as"
http://www.steveshovlar.com/cinemacr...44_1441_01.mov

The finished file is here.
Right mouse click and "save target as"
http://www.steveshovlar.com/cinemacr...tEncoderMP.m2v

Can anyone improve on that finished file?

Try this - I downconverted with Compressor
http://www.workingsheepdog.co.uk/vid...or-MPEG-2.tiff

And here's a still from your CCE file:
http://www.workingsheepdog.co.uk/vid...EncoderMP.tiff


Look closely at the bride's necklace.

Dominik Seibold December 27th, 2008 12:15 PM

2 Attachment(s)
Quote:

Originally Posted by Mitchell Lewis (Post 984628)
So what your saying is that because I compressed to standard DV codec (YUV), it's going to look crappy.

I'm sorry I did a mistake. What I wrote is true for 4:2:0 but not for 4:1:1, because 4:1:1 has quartered horizontal chroma-resolution, but FULL vertical chroma-resolution, so NTSC-DVs chroma-subsampling doesn't produce an interlaced look on strong colored edges.
But there are two issues with QuickTime-Player:
-DV-Movies will initially be displayed with very bad quality. You have to check the "high-quality"-checkbox in the movie-settings to get better quality.
-then the quicktime-player shows indeed a full-resolution luma-channel, but always deinterlaced chroma-channels. I don't know how to turn that chroma-deinterlacing off.

I only can access the full-resolution DV-file, if I load it into AfterEffects. Then I see that your downscaling hasn't worked well, because there are jaggy edges.
I don't know what went wrong, but if I try it myself to do that HD->DV-conversion in Compressor, then everything looks fine. I attached examples to illustrate:
The first one is a still of your dv-file. The second is a still of my dv-result.

Perrone Ford December 27th, 2008 12:32 PM

Quote:

Originally Posted by Mitchell Lewis (Post 984628)
Sorry Dominik, I am listening, but I'm not understanding. You (and others in this thread) talk over my head quite a bit.

Mitchell, this article may help. It's very clear, speaks on the variety of codecs out there, and what they do (in non-technical terms):

http://www.avid.com/resources/articl...out_Codecs.pdf

Quote:

Originally Posted by Mitchell Lewis (Post 984628)
So what your saying is that because I compressed to standard DV codec (YUV), it's going to look crappy. Sorry but this doesn't make any sense to me, because the commercial was originally produced and broadcast in DV codec. I rendered the project in AfterEffects directly to a DV codec file (Quicktime mov). I've seen it on the air and it looks fine. By my logic this tells me that it should be possible to convert HD to SD - DV codec, but that the tools I'm using (Compressor) arn't working very well.

I think Dominik, and myself to a degree, get in these semantic arguments for no purpose. The primary purpose of a codec for editing, is to allow you to do your work while losing as little information as possible. In the camera, what we WANT is high resolution (4k is great, 8k is better) and no color subsampling, so 4:4:4, and we want as much fine granularity as possible in that color, so 12 or 14 bits please! Now I shouldn't have to tell you that saving 4k, 4:4:4, 12 bit data is going to make data files that are astronomical. So choices need to be made on what to throw away. In the camera, we generally see resolution subsampling so that lovely image is now 1920x1080. And we lose some color usually, so that goes down to 4:2:2 or even 4:2:0 in the case of the Sony XDCamEX. And we record 8 or 10 bits instead of 10 or 12. More expensive cameras throw away less data.

When we get back to the NLE, our camera has tossed away a ton of stuff already, so we'd like to preserve whatever is left if possible! In film, the norm has been to use uncompressed data which preserves all we can. Problem is, it makes very large files which require big and fast disks to handle properly. So we have to make more compromises. But it's here that we have some choices. If data is going to the web, do we really NEED massive files when we're going to lose 80% going to the web? If we are going to broadcast and we know that 50% of it will be tossed, do we really need the pain of 20 hour renders?

So you can chose two things. Your editing codec, and your mastering codec. I typically chose to master to uncompressed because I could always go back later and re-render to anything lower. And for editing, I chose to use uncompressed SD, which was still big files, but not as big as HD. You can use ProRes for both mastering and editing. I changed to Cineform to do the same. The Avid codecs don't fit here. They fit in the idea of proxy and seperate master. Not a one size fits all. It's simply a choice. However, of all the codecs out there, the DV codec typically is the most lossy of all the common ones. Coming from uncompressed 1080p, it probably loses 80% of the information, or thereabouts. It is absolutely the worst thing to do to a file. So do NOT go there until the very end of the workflow when you are producing a deliverable.

Quote:

Originally Posted by Mitchell Lewis (Post 984628)
Compressor does offer conversion to DVCPRO50. Isn't that a 4:2:2 codec? I can't remember. I think it also will convert to the Uncompressed codec.

DVCPro50 is nice, but not full raster. So you'll take your 1920x1080 and shring it to 1280x1080. better than DV, but still a terrible thing to do if you don't have to.

Quote:

Originally Posted by Mitchell Lewis (Post 984628)
My problem is all the local broadcasters in my market broadcast their commercials using the DV codec. When I send them copies of my work (dubs) I have to send them as Standard Def DV codec mov files. Another option is to send them as a DV Stream, but that's basically the same thing as a DV codec mov.

If this is what you have to do, then it's what you have to do. BUT, don't do this until the VERY END of the workflow. Render to DV, and master to tape or whatever. Save it for the very end.

Quote:

Originally Posted by Mitchell Lewis (Post 984628)
On January 5th (when all our new equipment arrives) I'm especially looking forward to installing our new AJA Io HD device. Supposedly I does a great job converting HD to SD using hardware based conversion. Once it's all hooked up, I will have an SD monitor connected alongside our HD monitor so I will be able to instantly see what an AJA IoHD SD conversion looks like. But I agree with you, I not very optimistic that it will look better than the best software based conversion.

The very same Aja codec is available as a free software codec. I've used it. Honestly, I like the Avid one better.

Quote:

Originally Posted by Mitchell Lewis (Post 984628)
Still looking for a simple HD to SD (DV codec) solution on a Mac..... (hopefully you now understand why I keep wanting to transcode to DV)

I think we've inched closer though. Especially given Dominic's success with his Compressor results, and my posted resuts with Virtualdub that are available to Mac users running bootcamp.

Dominik Seibold December 27th, 2008 12:45 PM

1 Attachment(s)
Quote:

Originally Posted by Perrone Ford (Post 984632)
Neither is ProRes, DVCProHD, HDCam, Etc.

I know, but I guessed that you implied that DNxHD can do 4:4:4 by saying that it can do RGB:
Quote:

Originally Posted by Perrone Ford (Post 984458)
Based on my results tonight, and over the past few months of testing, Avi's DNxHD is giving results darn near equal to uncompressed at a fraction of the size. ProRes isn't close since it cannot do RGB with Alpha channels (unless someone know's sommething I don't).

Quote:

Originally Posted by Perrone Ford (Post 984458)
Not in my testing. What was your source? I tested mine against some 2k RED footage and it was very, very nice.

I used XDCAM-EX-source for testing. I attached an 100%-crop-example. The left side is avid with 36mbit/s, the right unaltered XDCAM. There are clearly more artifacts on the left side.
Quote:

Originally Posted by Perrone Ford (Post 984458)
Advantages over what though?

advantages over using ProRes.
Quote:

Originally Posted by Perrone Ford (Post 984458)
How do the file sizes compare?

very similar.
Btw, watch the graph at the top on page 10 in this document. ;)

Steve Shovlar December 27th, 2008 12:49 PM

Quote:

Originally Posted by Andy Nickless (Post 984644)
Try this - I downconverted with Compressor
http://www.workingsheepdog.co.uk/vid...or-MPEG-2.tiff

And here's a still from your CCE file:
http://www.workingsheepdog.co.uk/vid...EncoderMP.tiff


Look closely at the bride's necklace.

Andy, remember although the CCE file is out of compressor, it was also taken out of FCP using quicktime conversion into the Avid codec.

I'll run two tests. One from FCP to compressor using CCE, and the other from FCP via Prores422, then onto a SD FCP time line and out via compressor with CCE.

I'll post screengrabs when done.

Mitchell Lewis December 27th, 2008 01:09 PM

I don't have much time to talk right now (I will later tonight).

But I'm amazed at how Dominik has made my DV footage look so much better. I'm wondering if it's how you guys are taking "screen shots". Are you literally taking a screen grab (on a Mac = shift, command, 4) or are you exporting a frame from Quicktime?

Dominik says that he could only download my crappy DV conversion. But he has taken crap and made it look great! This makes no sense to me.

Sorry guys if I'm slow on the uptake. But when the light bulb finally comes on it will be much appreciated.

BTW, Dominik I knew about the high-quality thing in Quicktime. I'm guessing that trips a lot of people up though. When do you think Apple is going to remove that check box.....it's about time. :)

Dominik Seibold December 27th, 2008 01:23 PM

Quote:

Originally Posted by Mitchell Lewis (Post 984678)
Dominik says that he could only download my crappy DV conversion.

No, I downloaded your dv-version and your png-compressed HD-version. The left attachment was a grab of your dv-version, the right was a grab of my dv-version made out of your hd-version with compressor.

I used AfterEffects for the grabs.
Quote:

Originally Posted by Mitchell Lewis (Post 984678)
When do you think Apple is going to remove that check box.....it's about time. :)

It would suffice if it would be turned on by default. ;)

Perrone Ford December 27th, 2008 01:27 PM

Quote:

Originally Posted by Dominik Seibold (Post 984659)
I know, but I guessed that you implied that DNxHD can do 4:4:4 by saying that it can do RGB:

No, only implying that the codec has an RGB option built into the choices. My guess is that it's there for Alpha Channel support.

Quote:

Originally Posted by Dominik Seibold (Post 984659)
I used XDCAM-EX-source for testing. I attached an 100%-crop-example. The left side is avid with 36mbit/s, the right unaltered XDCAM. There are clearly more artifacts on the left side.

That's weird. I am going to compare some 1080p high motion stuff I shot 2 weeks ago (flowing water) and see what happens. I'll post a difference still as well. Source to uncompressed, source to DNxHD, and Uncompressed to DNxHD.

Quote:

Originally Posted by Dominik Seibold (Post 984659)
advantages over using ProRes.

Prores is pretty darn good. But I can't use it, and neither can any PC person. So for collaboration, it stinks. It also has no alpha channel.

Quote:

Originally Posted by Dominik Seibold (Post 984659)
very similar.
Btw, watch the graph at the top on page 10 in this document. ;)

LOL! Check out the paragraph BEFORE the chart: "The chart below plots the PSNR value for each image frame in the Digital Cinema
Initiatives StEM (Standard Evaluation Material) sequence. The HD version of this
sequence was converted to a 10-bit, Rec. 709–compliant sequence."

i.e. ProRes couldn't handle the RGB values from the original file so we truncated it to something we could handle, and then compared ourselves to our competitors! And even WITH that the gap from DNxHD to ProRes was 2db. Visually indistinguishable. Mind you, this is ProResHQ which most people don't use but probably should for this work.\

Gotta love Applespeak!

Dominik Seibold December 27th, 2008 01:53 PM

1 Attachment(s)
Quote:

Originally Posted by Perrone Ford (Post 984687)
No, only implying that the codec has an RGB option built into the choices.

If the codec would support RGB, then it would support 4:4:4, because RGB and YUV4:4:4 are effectively the same. But I can't find a RGB-Option in the dialog:

Mitchell Lewis December 27th, 2008 02:42 PM

Quote:

Originally Posted by Dominik Seibold (Post 984685)
No, I downloaded your dv-version and your png-compressed HD-version. The left attachment was a grab of your dv-version, the right was a grab of my dv-version made out of your hd-version with compressor.

Really?!! That's great news! When you have the time, can you pretty please tell me exactly what setting you used in Compressor. (remember to dumb it down for us non-technical guys, hehehehe)

Thank you very much Domink.

Perrone, I think your solution is great too, it's just that Dominik has seemed to have solved it using the tools I already have. :)

Perrone Ford December 27th, 2008 02:46 PM

Quote:

Originally Posted by Mitchell Lewis (Post 984713)
Perrone, I think your solution is great too, it's just that Dominik has seemed to have solved it using the tools I already have. :)

Completely understand! And that's why we are here. To find Mac solutions for Mac users. My solution is meant as an alternative at best, either for those without compressor, or those who, for whatever reason, can't get the results needed from their Mac based solution.

Mine does have the benefit of being free, so for those who have bootcamp but don't have Compressor, there is a way.

I hope Dominik gets you a screenshot, because this should solve your problem. And honestly, should be a sticky in a new, clean thread. That is, if we've actually solved the HD > SD conversion for Mac folks. And Dominik's posts and screenshots lead me to believe that he has.

Peter Kraft December 27th, 2008 02:59 PM

a sticky please, Chris
 
Gentlemen, I think this thread shouldbe turned into a sticky.
What a wealth of information :)

Steve Shovlar December 27th, 2008 03:00 PM

OK gormless question. How do you get a tif from an M2V file? I opened in Quicktime, go export, buut there is no export frame. I tried export image sequesnce and have spent 20 minutes clearing 1000 tifs from my desktop. Changed the amoount per second to 0.5 to get a few, but the quality is not as good as the .mov.

All I need is to find the frame I like, and then export that frame as a tif.


All times are GMT -6. The time now is 03:05 AM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network