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 > NLE - Non Linear Editing

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th October 2007, 10:25   #1  |  Link
MaeWanto
Registered User
 
Join Date: Oct 2004
Posts: 72
DNxHD Encoding with FFmpeg

FFmpeg is now providing Avid DNxHD (SMPTE VC-3) encoding and decoding features:
http://www.fullres.blogspot.com/2007...th-ffmpeg.html

In conjunction with Ingex ( http://ingex.sourceforge.net ), such essence can be wrapped into MXF file format and directly ingested into Avid's NLEs without any rendering process.
MaeWanto is offline   Reply With Quote
Old 13th October 2007, 09:59   #2  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
hey, that's pretty cool.

i wonder if that ingex system could work like a virtual vtr? it'd be cool to be able to play out from an Ursa directly into MXF files and save myself some double-handling with tapes.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 13th October 2007, 13:18   #3  |  Link
MaeWanto
Registered User
 
Join Date: Oct 2004
Posts: 72
I guess it could ... I saw a demonstration at IBC 2006 where BBC R&D was showing Ingex' features ( based on a DVS I/O board ). More info on their workflow :
http://www.bbc.co.uk/rd/pubs/whp/whp...les/WHP133.pdf
http://www.bbc.co.uk/rd/pubs/whp/whp...les/WHP141.pdf
http://www.bbc.co.uk/rd/pubs/whp/whp...les/WHP155.pdf
MaeWanto is offline   Reply With Quote
Old 14th October 2007, 22:20   #4  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Very nice. DNXHD is a hell of a format, and the more supported by libavcodec the better!

If only this had been around about a year and a half ago when I was responsible for managing an uncompressed HD workflow for a feature film! AviSynth helped a lot, but this would have been super cool.

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 16th October 2007, 14:59   #5  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Very nice. DNXHD is a hell of a format, and the more supported by libavcodec the better!
So it's better then AVC Intra @ the same bitrate ?
im building on such a AVC intermediate workflow (10 Generations) currently as my tests with Cineform and Canopus HQ where destructing both but i didn't test DNXHD yet

PS: My tests where done in the 80 mbit range reaching 51 dB for 1440x1080 30p (tough with compresed Mpeg-2 source)
Results= http://cruncher.mufflastig.com/hdtv/hdv/intermediate/
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 16th October 2007 at 15:22.
CruNcher is offline   Reply With Quote
Old 4th October 2009, 15:38   #6  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by CruNcher View Post
So it's better then AVC Intra @ the same bitrate ?
im building on such a AVC intermediate workflow (10 Generations) currently as my tests with Cineform and Canopus HQ where destructing both but i didn't test DNXHD yet

PS: My tests where done in the 80 mbit range reaching 51 dB for 1440x1080 30p (tough with compresed Mpeg-2 source)
Results= http://cruncher.mufflastig.com/hdtv/hdv/intermediate/
Did you use highiest HQ settings or the one which gives about 100Mbit bitrate?
If you have your results up to 4 digits than you should have xx.3450 not xx.345 - heheheehe

Hmmm....Canopus HQ is great codec- extreamly fast and quality is also very good. Cineform is better (depends on quality settings), but slower. I'm supprised (or maybe not), that AVC-I is so good, but of course not as fast as 2 others.
AVC-I in Edius works briliantly- RT playback with no problems even with few tracks. Very fast encoding also (2x faster than RT for 1920x1080 60i, with 95% on 8 cores machine)- Edius is one of the best multithreaded application I've seen.

DNxHD is not going to be better than Cineform at the same bitrate, maybe slightly better than Canopus HQ, but way slower on Windows.

Andrew

Last edited by kolak; 4th October 2009 at 23:10.
kolak is offline   Reply With Quote
Old 4th November 2009, 00:23   #7  |  Link
chaynik
Registered User
 
Join Date: May 2002
Location: Los Angeles
Posts: 88
Any advancements in bringing ProRes support to FFMPEG? It's been 2 years
chaynik is offline   Reply With Quote
Old 2nd December 2009, 15:42   #8  |  Link
Storyteller
Registered User
 
Join Date: Nov 2009
Posts: 1
+1 For this question. Any news?

Quote:
Originally Posted by chaynik View Post
Any advancements in bringing ProRes support to FFMPEG? It's been 2 years
+1 For this question. Any news?
__________________
Warm regards,

Pedro Pablo
Storyteller is offline   Reply With Quote
Old 7th December 2009, 15:29   #9  |  Link
RunningSkittle
Skittle
 
RunningSkittle's Avatar
 
Join Date: Mar 2008
Posts: 539
Quote:
Originally Posted by kolak View Post
...AVC-I in Edius works briliantly- RT playback with no problems even with few tracks. Very fast encoding also (2x faster than RT for 1920x1080 60i, with 95% on 8 cores machine)- Edius is one of the best multithreaded application I've seen...
x264 can achieve ~2x realtime with 1080p50 on a q6600 ~100fps thats only 4 cores
RunningSkittle is offline   Reply With Quote
Old 15th December 2009, 00:44   #10  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by RunningSkittle View Post
x264 can achieve ~2x realtime with 1080p50 on a q6600 ~100fps thats only 4 cores
These are 2 different porducts- h264 is not even a product- just a "core".
Did you test I frames only at 100Mbit?

Last edited by kolak; 15th December 2009 at 01:01.
kolak is offline   Reply With Quote
Old 16th October 2007, 20:24   #11  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
What about speed? I was under the impression that DNxHD and Apple ProRes422 were both real-time on reasonably fast systems. I can't see HD resolution AVC being real-time.

~Misfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 17th October 2007, 01:43   #12  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Bear in mind though that they're post-production codecs, designed to be IIRC a master transfer. 10-bit is especially useful for studios because it keeps more detail. Speed doesn't necessarily matter, quality does. That said, if it's fast, it'll find its uses.

EDIT: Apple's ProRes codec is likely to be fast on Macs, but slow elsewhere.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld

Last edited by Inventive Software; 17th October 2007 at 01:52.
Inventive Software is offline   Reply With Quote
Old 18th October 2007, 07:52   #13  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
speed matters! it's probably second only to quality (if you're offline editing you'll want speed OVER quality).

the big deal with DNxHD and ProRes is they're heavily parallelised, and give enough compression to carry HD in the same bandwidth as uncompressed SD. meaning the hard disk bottleneck is offloaded onto the (increasingly multicore) CPU.

it means you can use cheaper hard disks to do the same tasks, and the compression is similar (possibly better than) to mastering tape formats.

...unfortunately people haven't quite got into these codecs yet, so i still have to wait forever to copy uncompressed stuff onto 1394 hard disks, tying up edit suite time and meaning lots of double-handling (ie, you can't capture uncompressed reliably over 1394, so you have to capture once then copy).

i'd love to see prores implemented into ffmpeg
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 18th October 2007, 15:28   #14  |  Link
easy2Bcheesy
Moderator
 
easy2Bcheesy's Avatar
 
Join Date: Feb 2002
Posts: 643
I'd like to use this to transcode my 720p/60 CineForm AVIs into Avid-compliant streams, but it looks as though this implementation is for 1080i/p only

Any idea on how fast this encoder is? Is it multithreaded?
easy2Bcheesy is offline   Reply With Quote
Old 18th October 2007, 23:12   #15  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
@ Mug Funky

My sentiments EXACTLY!!

I had such a headache capturing uncompressed 1080p24 in 8 bit 4:2:2 to a RAID, and then offloading it to a bunch of firewire drives. It takes WAY too much time. Capturing directly into an editing format like CineForm/ DNxHD / ProRes would have been a huge time (and space) saver.

Unfortunately, we were on Final Cut Pro, which at the time didn't have ProRes, and still doesn't have CineForm. DNxHD was a no-go for some reason..

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 19th October 2007, 00:32   #16  |  Link
tateu
Registered User
 
Join Date: Jan 2002
Location: Los Angeles, CA USA
Posts: 132
As with almost every other codec, I have found (as I'm sure many of you have also found) that the FFMpeg implementation is significantly faster than the one in windows Quicktime.

Using QTInput in an avisynth script opened in VirtualDub, pressing F5, I get about 10.5fps. Using FFMpegSource, I get about 19.5fps.
tateu is offline   Reply With Quote
Old 19th October 2007, 08:53   #17  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Hmm - that's still very slow. Does Avid have some sort of hardware acceleration??
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 19th October 2007, 19:51   #18  |  Link
tateu
Registered User
 
Join Date: Jan 2002
Location: Los Angeles, CA USA
Posts: 132
The Avid appears to have acceleration of some kind. I created 3 test quicktime clips: 23.976 1080p at 185Mb, 120Mb and 36Mb. As mentioned above, they do not play in realtime using FFMpegSource or QTInput. Quicktime player cannot play them in realtime either. The 36Mb file was pure white in quicktime and QTInput. FFMpegSource crashed when trying to play it.

I imported all 3 into a 23.976 1080p project on a 2 year old Avid Meridien Uncompressed system. The 185Mb and 120Mb files fast imported to MXF but the 36Mb was converted to MXF 115. I don't have hi-def out of the Avid but the 185Mb and 120Mb clips played back in real time, atleast to my eyes. The 36Mb file was pure white which means the quicktime codec could not decode the file.
tateu is offline   Reply With Quote
Old 20th October 2007, 06:21   #19  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
i think the deal with DNxHD and ProRes is they are heavily parallel. from what i've found (which is scant info to say the least), the codecs are extremely similar in philosophy and implementation, though of course apple made a lot more noise about it than Avid did (when they came out with it much earlier).

@ tateu: it'd be interesting to compare the quicktime and ffmpeg implementations of prores, assuming it gets ported eventually. there'll likely be massive gains in quicktime the more cores you have.
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 22nd October 2007, 19:26   #20  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
By "heavily parallel", do you mean similar, or parallel in the sense of being heavily multithreaded?

I wonder how real-time ProRes or DNxHD 1080p ingest runs real-time??

~Misfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit 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 15:16.


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