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 > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th December 2010, 16:43   #61  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by nm View Post
Yep, that's what I thought. So you'll need to manually switch the desktop layout if you have videos with different frame packing formats.
That's right.

Either way should work. I chose vertical stacking because graphics cards may be able to decode 1920x2160 in DXVA.
mariner is offline   Reply With Quote
Old 19th December 2010, 16:46   #62  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
As nm already pointed out: setting frame-packing only sets some kind of flag in the stream and your player does not rely on it. That's why correct playback works anyways.

Quote:
Originally Posted by rica View Post
But i can get BD compatible files as well: (Both TMT 5 and PDVD 10 plays them flawlessly in 3D mode:
So the BD specs allow side-by-side/top-bottom encoded H.264 in addition to MVC? If not, please don't call them BD compatible, because the specs define what's BD, not the abilities of some BD player.
sneaker_ger is offline   Reply With Quote
Old 19th December 2010, 16:53   #63  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by sneaker_ger View Post
So the BD specs allow side-by-side/top-bottom encoded H.264 in addition to MVC? If not, please don't call them BD compatible, because the specs define what's BD, not the abilities of some BD player.
You're right; that was a false explaination, sorry.

Edited, thanks:

Quote:
But i can get 1920*1080 3D files as well: (Both TMT 5 and PDVD 10 plays them flawlessly in 3D mode:

Last edited by rica; 19th December 2010 at 16:56.
rica is offline   Reply With Quote
Old 19th December 2010, 17:05   #64  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by sneaker_ger View Post
As nm already pointed out: setting frame-packing only sets some kind of flag in the stream and your player does not rely on it. That's why correct playback works anyways.
Thanks again, sneaker_ger. Your help has been indispensable.

For your amusement, here is a short pseudo 3D using Martin Haverland's conversion script:

Name: 700_v_2D3D.mkv
Size: 125.25MB
Description: 1920x1080/60p 2Dto3D Top/bottom
http://www.sendspace.com/file/hnw7q9

Any feedback on graphics cards DXVA decoding capabilities most appreciated.

Last edited by mariner; 19th December 2010 at 17:08.
mariner is offline   Reply With Quote
Old 19th December 2010, 17:20   #65  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Thanks, but I don't actually own a 3D display yet to enjoy the clip.

@x264 devs
Do you plan to also flag 3D streams on the container level for Matroska? Players that prioritize container information over stream information (which is the correct way to do things IMHO) would regard the current output as 2D material. (I know that it's not that important without audio support and missing indexing.)
sneaker_ger is offline   Reply With Quote
Old 20th December 2010, 01:56   #66  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by shon3i View Post
I am playing with Mainconcept MVC (not cinevision) and usualy get same results as kolak. Right eye definitly need less bitrate, but depends from many factors.
Hi shon3i,

i downloaded MainConcept Referance MVC beta and i always got this popup while i was trying to add the files to output:



Any ideas?

Last edited by rica; 20th December 2010 at 01:59.
rica is offline   Reply With Quote
Old 20th December 2010, 08:48   #67  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Try installing reference 2.1 trial too.
shon3i is offline   Reply With Quote
Old 20th December 2010, 17:46   #68  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by shon3i View Post
Try installing reference 2.1 trial too.
Yes i already did but i have the same pop-up.

(Even i unistalled both of them and reinstalled back- this time i installed reference before reference MVC)

Thank you anyway.
rica is offline   Reply With Quote
Old 20th December 2010, 19:17   #69  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Well you can contact mainconcept, i have no problems.
shon3i is offline   Reply With Quote
Old 20th December 2010, 22:05   #70  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
shon3i,

i don't think they will help since my source left and right files are extracted from a 3D BD:

BTW, i think the problem is MC can not recognize the frame number of the right-eye video.

Re-encoded right-video: (at bottom)

Code:
[PRG] 0:00:39.421 6927 frames found, 92% complete
[PRG] 0:00:39.531 7020 frames found, 93% complete
[PRG] 0:00:39.624 7106 frames found, 94% complete
[PRG] 0:00:39.733 7205 frames found, 95% complete
[PRG] 0:00:39.827 7275 frames found, 96% complete
[PRG] 0:00:39.936 7342 frames found, 97% complete
[PRG] 0:00:40.045 7402 frames found, 98% complete
[PRG] 0:00:40.139 7467 frames found, 99% complete
[DBG] 0:00:40.248 mpegInOpen: 10.323846 sec, result=0
[DBG] 0:00:40.264 mpegdec: opened in 10.378210 sec.
[INF] 0:00:40.264 Successfully opened file 'C:/H264StereoSource_a2/left.h264' with decoder 'mpegdec'.
[INF] 0:00:40.264 Successfully opened file 'C:/H264StereoSource_a2/left.mmf' with decoder 'mvmetadec'.



[PRG] 0:02:42.397 196 frames found, 89% complete
[PRG] 0:02:42.475 197 frames found, 90% complete
[PRG] 0:02:42.522 198 frames found, 91% complete
[PRG] 0:02:42.662 200 frames found, 93% complete
[PRG] 0:02:42.787 204 frames found, 94% complete
[PRG] 0:02:42.865 206 frames found, 95% complete
[PRG] 0:02:42.974 207 frames found, 97% complete
[PRG] 0:02:43.052 210 frames found, 98% complete
[PRG] 0:02:43.161 211 frames found, 99% complete
[DBG] 0:02:43.255 mpegInOpen: 55.040471 sec, result=0
Un-encoded original right video (at bottom)

Code:
[PRG] 0:03:26.498 60518 frames found, 95% complete
[PRG] 0:03:27.497 61353 frames found, 96% complete
[PRG] 0:03:28.433 62034 frames found, 97% complete
[PRG] 0:03:29.322 62670 frames found, 98% complete
[PRG] 0:03:30.227 63321 frames found, 99% complete
[DBG] 0:03:31.225 mpegInOpen: 159.904661 sec, result=0
[DBG] 0:03:31.319 mpegdec: opened in 160.580298 sec.
[INF] 0:03:31.319 Successfully opened file 'C:/00010 - 2 - h264 (left eye), 1080p24.h264' with decoder 'mpegdec'.
[INF] 0:03:31.319 Successfully opened file 'C:/00010 - 2 - mmf (left eye), 1080p24.mmf' with decoder 'mvmetadec'.
[DBG] 0:03:31.319 cropper.setParam: mode [Int32]          = 1


[PRG] 0:06:36.742 1401 frames found, 87% complete
[PRG] 0:06:37.615 1410 frames found, 88% complete
[PRG] 0:06:38.270 1420 frames found, 89% complete
[PRG] 0:06:39.191 1443 frames found, 90% complete
[PRG] 0:06:39.846 1457 frames found, 91% complete
[PRG] 0:06:40.517 1474 frames found, 92% complete
[PRG] 0:06:41.250 1488 frames found, 93% complete
[PRG] 0:06:41.983 1503 frames found, 94% complete
[PRG] 0:06:42.638 1512 frames found, 95% complete
[PRG] 0:06:43.434 1540 frames found, 96% complete
[PRG] 0:06:44.136 1581 frames found, 97% complete
[PRG] 0:06:44.978 1600 frames found, 98% complete
[PRG] 0:06:45.478 1708 frames found, 99% complete
[DBG] 0:06:46.195 mpegInOpen: 115.293104 sec, result=0

Last edited by rica; 21st December 2010 at 00:52.
rica is offline   Reply With Quote
Old 22nd December 2010, 01:08   #71  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
My initial testing on 3D content is done.

Free lossless 3D test sequence (L/R interleaved).

I have some tweaking I plan to do, but the crux of the matter is that MVC is totally pointless, as are all coding schemes besides interleaved mode. DVB's insane attempt to use T/B half-resolution using regular AVC is going to cost billions of dollars in wasted bandwidth.

Using that source, at crf 25, without any changes to x264:

Two separate streams: 3709 and 3700kbps, for 7.4mbps total
One stream, interleaved: 5503kbps (improvement: ~34.5%)
PSNR improvement: ~0.381db (~7.5%)
Overall improvement: 42%

Also, even on superfast x264 is able to capture "motion" perfectly between two views, even if they're widely spaced from each other. No special 3D-aware motion estimation methods are required. I do recommend using at least --ref 2 though, even with superfast, so it can predict from both the previous frame and the previous view.

Last edited by Dark Shikari; 22nd December 2010 at 01:11.
Dark Shikari is offline   Reply With Quote
Old 22nd December 2010, 01:26   #72  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by Dark Shikari View Post
No special 3D-aware motion estimation methods are required.
Sorry in advance if i misundersood:
Do you mean existent 3D Players are able to recognize those re-created frame packed files without MVC?
rica is offline   Reply With Quote
Old 22nd December 2010, 01:26   #73  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
Quote:
Originally Posted by Dark Shikari View Post
I have some tweaking I plan to do, but the crux of the matter is that MVC is totally pointless, as are all coding schemes besides interleaved mode. DVB's insane attempt to use T/B half-resolution using regular AVC is going to cost billions of dollars in wasted bandwidth.
I can see how frame interleaving might be practical for 720p, since 30 fps is still a reasonable speed, but I fail to see how broadcasters have much choice in the matter for 1080i unless they use some kind of frame packing, probably row interlacing. Or, do you have some other scheme in mind?

Quote:
Originally Posted by rica View Post
Sorry in advance if i misundersood:
Do you mean existent 3D Players are able to recognize those re-created frame packed files without MVC?
I think he just means that the motion estimation in H.264 is sufficient to compress stereoscopic content. Whether players recognize non-MVC 3D is a whole other matter.

Last edited by Stephen R. Savage; 22nd December 2010 at 01:29.
Stephen R. Savage is offline   Reply With Quote
Old 22nd December 2010, 01:33   #74  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Quote:
Originally Posted by Stephen R. Savage View Post
I can see how frame interleaving might be practical for 720p, since 30 fps is still a reasonable speed.
ESPN uses 720p120 on it's main feed.
kieranrk is offline   Reply With Quote
Old 22nd December 2010, 01:35   #75  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Stephen R. Savage View Post
I can see how frame interleaving might be practical for 720p, since 30 fps is still a reasonable speed, but I fail to see how broadcasters have much choice in the matter for 1080i unless they use some kind of frame packing, probably row interlacing. Or, do you have some other scheme in mind?
Er... you just lower the resolution. They're already planning on doing this with top/bottom frame packing: you include two 1920x540 streams. They would be better off doing 1920x540 at 60fps than 1920x540, packed to 1920x1080, at 30fps. The amount of processing power required is identical.
Dark Shikari is offline   Reply With Quote
Old 22nd December 2010, 01:45   #76  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by Stephen R. Savage View Post
I think he just means that the motion estimation in H.264 is sufficient to compress stereoscopic content. Whether players recognize non-MVC 3D is a whole other matter.
Ok then please correct me if i'm wrong:

1) If you don't re-create a 3D BD you won't need MVC encoding.
2) In this case you may use x264 and it will put some flags.
3) Then what MVC is for: just for player to recognize the file structure by itself? Side-by-side or top-bottom?

EDIT: BTW thanks Dark for your valuable contribution.

Last edited by rica; 22nd December 2010 at 01:49.
rica is offline   Reply With Quote
Old 22nd December 2010, 01:53   #77  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by rica View Post
Ok then please correct me if i'm wrong:

1) If you don't re-create a 3D BD you won't need MVC encoding.
2) In this case you may use x264 and it will put some flags.
3) Then what MVC is for: just for player to recognize the file structure by itself? Side-by-side or top-bottom?

EDIT: BTW thanks Dark for your valuable contribution.
--frame-packing is for the player to recognize the file structure. You don't need MVC for that.
Dark Shikari is offline   Reply With Quote
Old 22nd December 2010, 01:59   #78  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by Dark Shikari View Post
--frame-packing is for the player to recognize the file structure. You don't need MVC for that.
Sorry but why do i have to reset everytime the player's 3D settings then?

EDIT: I've missed "--frame-packing" switch.
rica is offline   Reply With Quote
Old 22nd December 2010, 02:06   #79  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
I do wonder whether i can combine "--frame-packing" with Adam's tool or not?

http://forum.doom9.org/showpost.php?...5&postcount=56
rica is offline   Reply With Quote
Old 22nd December 2010, 02:11   #80  |  Link
Disabled
Registered User
 
Join Date: Aug 2004
Posts: 211
But what does MVC add? This Introduction to Multiview Video Coding doesn't have many details. That "Temporal/inter-view prediction structure for MVC" looks complex, but might be reproducable with multi-refs and b-pyramid? I also wonder, why Cam1 doesn't have any P-frames...
Disabled is offline   Reply With Quote
Reply

Tags
stereo-3d, stereoscopic, useless

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 17:47.


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