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 > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th July 2011, 23:24   #61  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Quote:
Originally Posted by kolak View Post
x264 at 100Mbit is great, but still not that easy to cope for NLE.
x264 decoding with sliced threads would probably be ok.
kieranrk is offline   Reply With Quote
Old 7th July 2011, 01:09   #62  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
Quote:
Originally Posted by Atak_Snajpera View Post
Does XviD support interlaced encoding (MBAFF) ?
It supports Progressive, TFF and BFF. Easily selectable via xvid_encraw (multithread unfriendly) and VFW GUI (via Virtualdub which is multithread friendly, fully unleashing the new sliced-threading).

Note that the new sliced-threading may have compatibility problems with hardware standalone players, but there is no need to worry if used as an intermediate codec.

Last edited by henryho_hk; 7th July 2011 at 01:16.
henryho_hk is offline   Reply With Quote
Old 7th July 2011, 05:48   #63  |  Link
Alex-Kid
Antronio's DV ambassador
 
Alex-Kid's Avatar
 
Join Date: Mar 2006
Location: Santiago, Chile
Posts: 115
Quote:
Originally Posted by henryho_hk View Post
xvid_encraw is not multithread-friendly at all.
I didn't note that, but now that you have mentioned, I don't remember any option related to multi-threading. Then I have to assume that MeGUI didn't have multithreading support either.

Table updated with results from henryho_hk (post). Just to keep things in order.
Alex-Kid is offline   Reply With Quote
Old 7th July 2011, 07:18   #64  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
xvid_encraw has "-threads" option (squid80's 1.2 version is better threaded) and the newer 1.3 versions has the "-slices" option. "-slices" should scale quite well but I find it much better realized in VirtualDub via VFW.

Concerning the speed, I suggest adjusting it by prorata as ~30.89fps = ~35fps / ~40 * 35.3
henryho_hk is offline   Reply With Quote
Old 7th July 2011, 10:10   #65  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Quote:
Originally Posted by kieranrk View Post
x264 decoding with sliced threads would probably be ok.
Yes- for simple timelines it works fine, but once you make it more complicated (or use multicam) it starts showing problems.

It's still more difficult than all intermediate codecs.
For crucial work it needs 150Mbit or more, so that's make it even more difficult.


Andrew
kolak is offline   Reply With Quote
Old 7th July 2011, 10:20   #66  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by kolak View Post
Yes- for simple timelines it works fine, but once you make it more complicated (or use multicam) it starts showing problems.

It's still more difficult than all intermediate codecs.
Bad decoders and demuxers aside, I don't see a format-related issue that would make it more difficult as long as you only have intraframe video.
nm is offline   Reply With Quote
Old 7th July 2011, 11:01   #67  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
It just complicity of AVC- all intermediate codecs are much easier to decode.

Edius export for this sample to HQX (about 120Mbit)= 145fps using 12 cores at 100% (all CPU processing).

There are different implementation of the decoders, but we're talking about using AVC as an intermediate format- so it has to work in NLEs.

In Edius to play this sample CPU=7%, for HQX file=4%.
Not sure how good is Edius AVC decoder, but I have not seen better NLE for handling AVC files.

Going to encode it to AVC-I using posted cmd and check playback.

AVC-I CPU=6%, but seeking is much better.

Andrew

Last edited by kolak; 7th July 2011 at 12:08.
kolak is offline   Reply With Quote
Old 7th July 2011, 11:18   #68  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,868
@kolak
http://forum.doom9.org/showthread.ph...72#post1508272
Atak_Snajpera is offline   Reply With Quote
Old 7th July 2011, 11:32   #69  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Quote:
Originally Posted by Atak_Snajpera View Post

Decoding speed?

To have fast decoder is one thing, but to have it working inside NLE with timeline, seeking is another.


Andrew
kolak is offline   Reply With Quote
Old 7th July 2011, 11:44   #70  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,868
What is your problem if we are talking about AVC-INTRA (each frame is independent) in mp4 container?
Atak_Snajpera is offline   Reply With Quote
Old 7th July 2011, 11:50   #71  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Yes- I know.

Not sure what are you talking about

I've encoded this sample to AVC-I using posted cmd line. I had 80fps using 60% of 12 cores. It may maxing my HDD speed.

update- it was maxing HDD- encodign from Canopus HQ gives about 180fps (6x faster than RT) and 70% of all 24threads. Should it be 100%?


Andrew

Last edited by kolak; 7th July 2011 at 12:20.
kolak is offline   Reply With Quote
Old 7th July 2011, 11:51   #72  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,868
Have you increased number of decoding and encoding threads?
Atak_Snajpera is offline   Reply With Quote
Old 7th July 2011, 11:57   #73  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Quote:
Originally Posted by Atak_Snajpera View Post
Have you increased number of decoding and encoding threads?
Encodign from uncompressed.

One note- people encode to AVC-I with x264, but this streams are way out of Panasonic AVC-I spec as far as I can see.

If it's just AVC with I frames only than fine, but it has nothing to do with AVC-I spec.

Andrew

Last edited by kolak; 7th July 2011 at 12:01.
kolak is offline   Reply With Quote
Old 7th July 2011, 12:22   #74  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,868
Quote:
update- it was maxing HDD- encodign from Canopus HQ gives about 180fps (6x faster than RT) and 70% of all 24threads. Should it be 100%?
Are you sure that your hdd is not a bottleneck again? Increase number of encoding threads.
Atak_Snajpera is offline   Reply With Quote
Old 7th July 2011, 12:24   #75  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by kolak View Post
One note- people encode to AVC-I with x264, but this streams are way out of Panasonic AVC-I spec as far as I can see.
Maybe some people encode to AVC-I, but you are the only one who has mentioned it in this thread so far. There's no reason to care about Panasonic specs when the stream is used internally and the tools aren't limited to AVC-I.
nm is offline   Reply With Quote
Old 7th July 2011, 14:25   #76  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
That's the whole point- you need compatibility with AVID and rest of Pro software if you want x264 being used commercially.

It should be also 4:2:2 as intermediate codec.

For home use you can do whatever you want. You never have good quality source- best is ripped BD, so it's bit pointless anyway.

Andrew
kolak is offline   Reply With Quote
Old 7th July 2011, 14:29   #77  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,868
Does so called pro software support mp4 container as input? BTW. I'm not "PRO" so for my AVCHD recordings x264 Intra 100 Mbps is perfect. Small size + very high quality + very fast decoding speed + natively decoded by Sony Vegas + it' free. Why should I use something else.

Quote:
It should be also 4:2:2 as intermediate codec.
I always thought that x264 10 bit does that.

Last edited by Atak_Snajpera; 7th July 2011 at 14:33.
Atak_Snajpera is offline   Reply With Quote
Old 7th July 2011, 14:31   #78  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Quote:
Originally Posted by Atak_Snajpera View Post
Are you sure that your hdd is not a bottleneck again? Increase number of encoding threads.
No- it can do 450MB/sec. Canopus HQ file is about 150Mbit.
It can be related to decoding in avisynth (I read it through mt mode 2). I know that it works 2x as fast in Edius- decoding/encoding for HQ.

Andrew

Last edited by kolak; 7th July 2011 at 14:37.
kolak is offline   Reply With Quote
Old 7th July 2011, 14:31   #79  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Quote:
Originally Posted by Atak_Snajpera View Post
Does so called pro software support mp4 container as input?
Depends which- some do. Most likely you need MXF.

Andrew
kolak is offline   Reply With Quote
Old 7th July 2011, 14:39   #80  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
Quote:
Originally Posted by Atak_Snajpera View Post
Does so called pro software support mp4 container as input? BTW. I'm not "PRO" so for my AVCHD recordings x264 Intra 100 Mbps is perfect. Small size + very high quality + very fast decoding speed + natively decoded by Sony Vegas + it' free. Why should I use something else.


I always thought that x264 10 bit does that.
Exactly, but world does not end only on your needs

Yes- but posted cmd line is for normal 8bit encoding. 10bit 4:2:2 would be even slower for decoding.

That's why I said that HQX is great- quality can be set from offiline to higher than HDCAM-SR and all extreamly fast for processing. Not free, but also not very expensive.

There is no specially designed, free intermediate codec (except DNxHD- but it's quite limited)- only paid ones. We have amazing lossless ones- like UtVideo, but someone would like lower bitrate (for small loss in quality).


Andrew

Last edited by kolak; 7th July 2011 at 15:42.
kolak is offline   Reply With Quote
Reply

Tags
codec, hdtv, intermediate

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 18:38.


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