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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th November 2012, 08:09   #901  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by Eseninzhiv View Post
did a little test
combined raw bitstream opened in graphstudio
http://i.imgur.com/R4cae.jpg
Where did you get that DirectShowFilter?

Quote:
Originally Posted by r0lZ View Post
OK, nice explanation. BUT, IMO, it's too much work and a too long process to be a practical solution.
Yeah, it's not meant to be a general solution, since it needs space und time. It's just an alternative for some really problematic movies.
It's also not optimized for speed, it uses code from ldecod converted to delphi. Was just for playing around with bitstream interleaving, i'm even not sure if the combined bitstream is absolutly spec conform in the order of that NALUs.

Quote:
Originally Posted by frencher View Post
For Good news it's very very good news nice nice nice
Remux stereo to one AVC+MVC stream "combined.h264"

I suggest
- Possible to use "CombineMVC.exe" in cmd
- Add Export to mts, m2ts, ts, mkv, mp4, avi
- Complile to "CombineMVC_x64.exe"
- Increase speed optimization if not include (mmx,sse,3D Now, etc...)
- Remaning time

PS: Very Very good news, thank you for your work
Most of that things aren't won't gonna happen, sorry, i'm lacking the skills.
Commandline version, ok no problem. Creating different containers, if at all then only by calling external tools. For 64bit i would need to shift to c++ and i'm bad at c, or buy a newer delphi with 64bit support, ...

We need coders, so we can start the big 'free' decoder thing, which i mentioned earlier, where this stuff is part of.
(BTW: that combined bitstream could even be fed through ldecod, after fixing a small bug in ldecod's source)
Maybe madshi could also be convinced to give out the demuxing code, ...

Last edited by Neisklar; 12th November 2012 at 08:18.
Neisklar is offline   Reply With Quote
Old 12th November 2012, 08:20   #902  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
@Neisklar

What minimal version of Delphi do you need for these optimizations ?
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.

Last edited by frencher; 12th November 2012 at 08:31.
frencher is offline   Reply With Quote
Old 12th November 2012, 10:38   #903  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by frencher View Post
@Neisklar

What minimal version of Delphi do you need for these optimizations ?
With XE2 at least i can create 32bit OSX and 32 and 64bit Windows executables. You don't need to search, i have an XE2 at hand, but just not officially. It's planned to upgrade to XE3 in the next time (if my boss pays the upgrade), but Embarcadero still isn't able to provide some details about some needed features.
And I'm not sure if 64bit really speeds things up. I think the way the "Annex B" bytestream-parser is done in ldecod is the speedlimit.
The processorspecific optimisations are hopefully done by the compiler, since i don't have a clue of that stuff;-)

So, it should be relativly easy to create an quick'n'dirty commandline version, since i could reuse most of the code. Maybe that version is then already quicker. Dunno if i got time today, to much projects at work for to few hours.
Neisklar is offline   Reply With Quote
Old 12th November 2012, 10:46   #904  |  Link
Wolfy59
Registered User
 
Join Date: Oct 2011
Posts: 54
hello all and thanks for all the work you do here.
I have a little problème with the new DirectShowMVCSource.dll
I want to use it to create 2 raw mkv and use them to cinevision.
So I created this 2 script

left eye

loadPlugin("DirectShowMVCSource.dll")
video=DirectShowMVCSource("G:\BDMV\STREAM\00800.m2ts", decodeleft=true)
AssumeFPS(video,"ntsc_film")
return video

and right eye

LoadPlugin("DirectShowMVCSource.dll")
video=DirectShowMVCSource("G:\BDMV\STREAM\00800.m2ts")
AssumeFPS(video,"ntsc_film")
return video

When i load them I have a violation access error in line 2 and I can do nothing.
So i want to know where s my error

Thanks for the answers
Wolfy59 is offline   Reply With Quote
Old 12th November 2012, 10:55   #905  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
@Neisklar
Strongly update

@Wolfy59
Before extract Left.h264 and Right.h264 tracks of you mpls with eac3to

Combine the result with "CombineMVC.exe"
Remux "combinedMVC.h264" to "combinedMVC.ts" with TsMuxer and after

Script AVS
Code:
loadPlugin(".\DirectShowMVCSource.dll")
left   = DirectShowMVCSource(".\combinedMVC.ts", decodeleft=true)
right  = DirectShowMVCSource(".\combinedMVC.ts")
video  = StackHorizontal(left, right).BicubicResize(1920,1080).AssumeFPS(24000, 1001)
return video
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.

Last edited by frencher; 12th November 2012 at 10:59.
frencher is offline   Reply With Quote
Old 12th November 2012, 11:11   #906  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by Wolfy59 View Post
left eye

loadPlugin("DirectShowMVCSource.dll")
video=DirectShowMVCSource("G:\BDMV\STREAM\00800.m2ts", decodeleft=true)
AssumeFPS(video,"ntsc_film")
return video

and right eye

LoadPlugin("DirectShowMVCSource.dll")
video=DirectShowMVCSource("G:\BDMV\STREAM\00800.m2ts")
AssumeFPS(video,"ntsc_film")
return video
From the BDMV\STREAM\ part of the sourcefile part, i assume you want to open an 3D BluRay?
Then you need to open the SSIF File.

The bitstream combining thing is only for certain rare cases of multi-ssif movies, and other sources which provide seperated streams.
Neisklar is offline   Reply With Quote
Old 12th November 2012, 11:20   #907  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,309
I'm also interested in a CLI version of CombineMVC.

And it would be nice if it could work with named pipes. That way, at least the disc size will be less important. (I don't know if eac3to can demux to named pipes, and if tsMuxeR can get its input streams from named pipes, but it it's the case, I can write a GUI to output directly the combined TS file from the BD, without having to launch several apps and write large temp files to disc.)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 12th November 2012, 11:30   #908  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
@r0lZ
Same Idea lol

@Neisklar
"CombineMVC.exe" uses the same standard as SONY 3D Camcorder (mts) ?
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.

Last edited by frencher; 12th November 2012 at 11:34.
frencher is offline   Reply With Quote
Old 12th November 2012, 12:05   #909  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by r0lZ View Post
I'm also interested in a CLI version of CombineMVC.

And it would be nice if it could work with named pipes. That way, at least the disc size will be less important. (I don't know if eac3to can demux to named pipes, and if tsMuxeR can get its input streams from named pipes, but it it's the case, I can write a GUI to output directly the combined TS file from the BD, without having to launch several apps and write large temp files to disc.)
Should be possible, afaik EVERY program that uses standard windows api file handling can read and write to a named pipe, if the other process opened it. So only one side must be pipe aware and create it and voila it works. It should even work over the network.

So it should possible to pipe all 3 steps together eac3to, combine, and tsmuxer

Quote:
Originally Posted by frencher View Post
@r0lZ
Same Idea lol

@Neisklar
"CombineMVC.exe" uses the same standard as SONY 3D Camcorder (mts) ?
No it only uses and produces raw .264 bytestreams, no container format support
Neisklar is offline   Reply With Quote
Old 12th November 2012, 12:07   #910  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,309
Quote:
Originally Posted by Neisklar View Post
Should be possible, afaik EVERY program that uses standard windows api file handling can read and write to a named pipe, if the other process opened it. So only one side must be pipe aware and create it and voila it works. It should even work over the network.

So it should possible to pipe all 3 steps together eac3to, combine, and tsmuxer
Great! Honestly, I know nothing about named pipes, but if you can do the hard job, that would be very nice!
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 12th November 2012, 12:30   #911  |  Link
Eseninzhiv
Registered User
 
Join Date: Jun 2012
Posts: 52
Neisklar
Quote:
Where did you get that DirectShowFilter?
MainConcept H.264 v.9.5.7.1886 * (DirectShow with DXVA2; AVC-Intra & MVC Blu-Ray 3D support)
here http://codec.kiev.ua/mpeg4.html section MPEG-4 AVC / H.264 Software DEcoders
Eseninzhiv is offline   Reply With Quote
Old 12th November 2012, 12:31   #912  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
Quote:
Originally Posted by Neisklar View Post
No it only uses and produces raw .264 bytestreams, no container format support
I mean in the output file (combinedMVC.h264)
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.
frencher is offline   Reply With Quote
Old 12th November 2012, 12:50   #913  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by frencher View Post
I mean in the output file (combinedMVC.h264)
I don't have a clue waht sony produces, do you have a sample file to download and inspect?

The order of that NALUs from the two streams is mainly the same as the one Intel Media SDK MVC Encoder produces, so for each picture: first all NALUs from main stream, then all NALUs from dependent stream.
It may that i have misunderstood the MVC spec, but thats not 100% conformant, but ldecod, corecodec, intel media sdk decoder and so on, can decode it.
Neisklar is offline   Reply With Quote
Old 12th November 2012, 13:24   #914  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
SONY MVC 3D Samples
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.
frencher is offline   Reply With Quote
Old 12th November 2012, 13:42   #915  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by frencher View Post
OK thanks.

That are normal MPEG-Transportstreams with a full AVC base view stream and a MVC-Subset stream, just like a 3D BluRay (except this time in one m2ts container) (.mts is the shortform of m2ts) So you can and could already open that files with ssifSource2 and/or SirectShowMVCSource.

Last edited by Neisklar; 12th November 2012 at 13:47.
Neisklar is offline   Reply With Quote
Old 12th November 2012, 13:51   #916  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
OK it's Same
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.
frencher is offline   Reply With Quote
Old 12th November 2012, 16:34   #917  |  Link
Wolfy59
Registered User
 
Join Date: Oct 2011
Posts: 54
Quote:
Originally Posted by Neisklar View Post
From the BDMV\STREAM\ part of the sourcefile part, i assume you want to open an 3D BluRay?
Then you need to open the SSIF File.

The bitstream combining thing is only for certain rare cases of multi-ssif movies, and other sources which provide seperated streams.
Thanks Neisklar and Frencher for your answers
Wolfy59 is offline   Reply With Quote
Old 12th November 2012, 17:06   #918  |  Link
Eseninzhiv
Registered User
 
Join Date: Jun 2012
Posts: 52
tell me please
why filter MainConcept MVC/AVC/H.264 Video Decoder not decode the MVC file ?
just a black screen http://i.imgur.com/GcMFY.png

how to build filters to graphstudio so as to obtain a separate (left eye, right eye) input with combinedMVC.h264?
http://i.imgur.com/Gx0KH.jpg
Eseninzhiv is offline   Reply With Quote
Old 12th November 2012, 17:53   #919  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by Eseninzhiv View Post
tell me please
why filter MainConcept MVC/AVC/H.264 Video Decoder not decode the MVC file ?
just a black screen http://i.imgur.com/GcMFY.png

how to build filters to graphstudio so as to obtain a separate (left eye, right eye) input with combinedMVC.h264?
http://i.imgur.com/Gx0KH.jpg
The right eye, or MVC Subset stream can't be decoded without the base view (stream), since it depends on that.

Edit:

There are two different types of MVC bitstreams. The combined one where the base and the dependent view are in the same bitstream, and then a seperate bitstream in which only the NALUs from the second view are present. Both types share that the second view is ALWAYS dependent of the base view, and can't bereconstructed without it, since the dependent view only stores the differences to the base view.

The combined stream is even backwards compatible, cause a non-MVC capable decoder just ignores the MVC part, and only 'sees' a normal H.264 stream.

Last edited by Neisklar; 12th November 2012 at 18:16.
Neisklar is offline   Reply With Quote
Old 12th November 2012, 18:19   #920  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 429
@Wolfy59
You are welcome
__________________
2013-11-29 MVC Player Free v0.0.2.6 BD & 3D BD's Player, Demuxer v0.0.0.8b, Recoder. Tutorial
Demo for MVC Player Free: Trailer 3D

3DBD's Free - v0.0.0.0005.exe Old

Programing free for all.
frencher 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 18:21.


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