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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th May 2013, 19:18   #1281  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
I can do a freeware CLI demuxer that is capable of supporting MPLS and pulling from M2TS or SSIF easy enough. I already have code that does all that in BD-RB, I'd just have to reuse it. I assume you want to pull the combined AVC core and MVC extensions together, or put them into separate files?

Is the source code for DirectshowMVCSource available? I haven't see it anywhere.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 8th May 2013 at 19:22.
jdobbs is offline   Reply With Quote
Old 8th May 2013, 20:04   #1282  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Originally Posted by jdobbs View Post
I can do a freeware CLI demuxer that is capable of supporting MPLS and pulling from M2TS or SSIF easy enough. I already have code that does all that in BD-RB, I'd just have to reuse it. I assume you want to pull the combined AVC core and MVC extensions together, or put them into separate files?
Yes, i would like to have one nice tool which extracts one combined bitstream. The mvccombine.exe was mainly coded to support seamless branching movies, as eac3to only extracts separate streams. Having (even C) code i could look or just borrow is a big plus, so i could code in delphi;-)

BTW there isn't any magic in the combine process, i just interleave the NALUs from both streams.
I read all NALUs until i encouter the next NALU_TYPE_VDRD(24) or NALU_TYPE_AUD(9), (the AUD one normally on the main view VDRD on the dependent view). Those are the begin-marker of the next frame. Then i interleave the NALUs the following way:
AUD (throw the VDRD away),
SPS and SUB_SPS from left, SPS and SUB_SPS from right (normally left only SPS, right SUB_SPS)
left PPS, right PPS,
left SEI, right SEI,
all the other left NALUs, then all right NALUs

If i have seen it correctly MakeMKV when doing 3D stuff just first puts all left NALUs of one frame, then all right NALUs of that frame. (Of course taking care of AUF and VDRD)
Quote:
Is the source code for DirectshowMVCSource available? I haven't see it anywhere.
The source should be in the published packages, and please excuse the bad coding
http://www.share-online.biz/download.php?id=I3CQBCDMI5

Last edited by Neisklar; 8th May 2013 at 20:15.
Neisklar is offline   Reply With Quote
Old 8th May 2013, 21:18   #1283  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
One of importants points is to get a muxer like TsMuxer with 3D support. I don't know if it's easily possible or not but it will be necessary. With a MVC transcoder (MVC to MVC) it will be perfect :-) )
Thanks to all coders of differents tools !!
Nico8583 is offline   Reply With Quote
Old 8th May 2013, 23:02   #1284  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
I'm not sure I understand the interest of a new CLI tool to "just" demux the AVC and MVC streams and combine them. Currently, eac3to + mvccombine can do that, and it is also possible to demux the necessary audio and subtitle streams (and the chapters) during the same operation. IMO, the only thing that is still missing is the possibility to mux the combined stream directly to M2TS, but that can probably be done easily with a new possibility to pipe the output of MVCCombine to tsMuxer.

I agree that a new tool to read the MPLS and output directly to M2TS will be more rapid and elegant, but without the possibility to demux the other streams as well, the process will require a second pass with eac3to, and that will ruin its advantage. IMO, to have a real gain, the whole process should be combined with the AVC and MVC decoding and integrated in an Avisynth plugin, so that it will be possible to read the MPLS directly from the AVS script and encode to SBS or T&B directly. That's much more difficult, I suppose.
__________________
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 8th May 2013, 23:10   #1285  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Quote:
Originally Posted by Neisklar View Post
And that worked ??? Since for now the pipe names are hardcoded in the combiner ;-)
Yes somes crash without specific path
If other coder use \\.\pipe\left.h264 or \\.\pipe\right.h264

My old dosen't work without pipe subfolder ex: \\.\pipe\WFS\3D_L.yuv & \\.\pipe\WFS\3D_R.yuv
Code:
LoadPlugin("ffms2.dll")
LoadPlugin("RawSource.dll")

FFIndex("left.mkv", cachefile="left.index", indexmask=0, demuxer="lavf")

left  = FFVideoSource("left.mkv", cachefile="left.index", seekmode=0).AssumeFPS(24000,1001).ConvertToYV12()

#left  = RawSource("\\.\pipe\WFS\3D_L.yuv", 1920, 1080, "I420").assumefps(24000,1001)
right = RawSource("\\.\pipe\WFS\3D_R.yuv", 1920, 1080, "I420").assumefps(24000,1001)

Video  = stackhorizontal(left, right)
#Video  = Trim(Video,0,196204)
Video  = BicubicResize(Video,1920,1080)

return Video
Quote:
Originally Posted by Neisklar View Post
If i have seen it correctly MakeMKV when doing 3D stuff just first puts all left NALUs of one frame, then all right NALUs of that frame. (Of course taking care of AUF and VDRD)
If MVCCombine in the next realease export to mkv or/and m2ts yeah !!!!

Quote:
Originally Posted by Neisklar View Post
excuse the bad coding
http://www.share-online.biz/download.php?id=I3CQBCDMI5
I do not think what you say.
Without you... "MVC PLayer Free" and "BD3D2MK3D" doesn't exist !!!

Quote:
Originally Posted by jdobbs View Post
I can do a freeware CLI demuxer that is capable of supporting MPLS and pulling from M2TS or SSIF easy enough. I already have code that does all that in BD-RB, I'd just have to reuse it. I assume you want to pull the combined AVC core and MVC extensions together, or put them into separate files?.
"MVC PLayer Free" and "BD3D2MK3D" Already work for/with MVCCombiner, but why not another version
__________________
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; 8th May 2013 at 23:37.
frencher is offline   Reply With Quote
Old 12th May 2013, 20:10   #1286  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Update of MVCCombine:
http://www.share-online.biz/download.php?id=BDSX8PMM2B8

NOTE: The parameters have slightly changed:
Code:
-l <left> -r <right> -o <out>
-pi use INPUT pipes
  When using pipes you could specify the pipename with -l and/or -r
  which results in pipes named \\.\pipe\<name>
  If no <name>s given it defaults to left.h264 and right.h264
-po use OUTPUT pipe
  Same rules for naming as input pipes. Defaults to combined.h264
-v Debug output
-ml to get multiline progress
-ano Alternate NALU ordering
-nt No thread throttle (WILL eat CPU!!!)
We have input and output pipes. The pipe-using processes must use at the win-api level CreateFile for opening and not the old deprecated OpenFile call.
Pipes can be named and have a good and resonable default name. All Output Messages should be prefixed with MVCC:

So using the defaults and piping all through
Code:
MVCCombine -pi -po
Using \\.\pipe\left.h264 as MainView, \\.\pipe\right.h264 as MVC Stream, \\.\pipe\combined.h264 as Output pipe.
with -l, -r, -o you can in pipe mode also specify the part after \\.\pipe\

Important: Due to the nature of pipes seeking is not possible. So if the outpipe-reading programm tries to seek it may crash or have unexpected results.
The end of an pipe/a closed pipe is something a little different then a normal File-EOF, so there may also some weird results.

Have fun and happy crashing;-)

EDIT:

Do we have some free(1) and NON GPL(2) source for simple ts or m2ts muxing?
If yes i will recode it in delphi and add it. After that i will try to convince Matthias to include it in eac3to. (Thats why (1) and (2))

Last edited by Neisklar; 12th May 2013 at 20:55.
Neisklar is offline   Reply With Quote
Old 12th May 2013, 21:06   #1287  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Very nice update and thank you, i test tomorrow

Quote:
Originally Posted by Neisklar View Post
If yes i will recode it in delphi and add it. After that i will try to convince Matthias to include it in eac3to. (Thats why (1) and (2))
Very good idea
__________________
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 May 2013 at 21:30.
frencher is offline   Reply With Quote
Old 12th May 2013, 22:26   #1288  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Great! Thanks!
__________________
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 May 2013, 23:49   #1289  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by Neisklar View Post
Do we have some free(1) and NON GPL(2) source for simple ts or m2ts muxing?
If yes i will recode it in delphi and add it. After that i will try to convince Matthias to include it in eac3to. (Thats why (1) and (2))
You could get some information from looking at the code for TsRemux. I'm not sure if it is GPL or not.

[Edit] Just looked, it is GPL.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 12th May 2013 at 23:52.
jdobbs is offline   Reply With Quote
Old 13th May 2013, 10:32   #1290  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Code:
MVCCombine -pi -po
Aargh! It seems that tsMuxer doesn't like \\.\pipe\combined.h264 as input. It replies: The system cannot find the file specified.

I'll try with TsRemux, but I don't know it well, and I'm not sure it will be possible to call it from CLI.
__________________
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 13th May 2013, 10:43   #1291  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Quote:
Originally Posted by r0lZ View Post
Code:
MVCCombine -pi -po
Aargh! It seems that tsMuxer doesn't like \\.\pipe\combined.h264 as input. It replies: The system cannot find the file specified.

I'll try with TsRemux, but I don't know it well, and I'm not sure it will be possible to call it from CLI.
Same...
The problem is meta file of tsMuxeR, don't accept pipe
PS: -pi -po = pipo lol
__________________
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; 13th May 2013 at 10:45.
frencher is offline   Reply With Quote
Old 13th May 2013, 15:17   #1292  |  Link
MaistroX
Registered User
 
Join Date: Oct 2002
Location: Wonderland
Posts: 159
I cross my fingers for this to find itself a solution!


Regards MaistroX
MaistroX is offline   Reply With Quote
Old 14th May 2013, 21:51   #1293  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
I have a question. When I use this command :
eac3to.exe F:\ 2: \\.\pipe\left.h264 3: \\.\pipe\right.h264 | MVCCombine.exe -nt -v -p -o Out-Combined-MVC.h264
Is it possible to extract another stream in this command ? For example :
eac3to.exe F:\ 2: \\.\pipe\left.h264 3: \\.\pipe\right.h264 | MVCCombine.exe -nt -v -p -o Out-Combined-MVC.h264 4:Audio.ac3 5:Subtitle.sup ... ?
Thanks !
Nico8583 is offline   Reply With Quote
Old 14th May 2013, 23:05   #1294  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Yes, but your syntax is not correct. All arguments for the eac3to command should be specified before the | character, and all args for the MVCCombine command after :
eac3to.exe F:\ 2: \\.\pipe\left.h264 3: \\.\pipe\right.h264 4: Audio.ac3 5: Subtitle.sup ... | MVCCombine.exe -nt -v -p -o Out-Combined-MVC.h264

Note also that joining the two commands with | is not an ideal method. When you do that, you send the messages of eac3to to MVCCombine, that has nothing to do with them, and you can't read them. You should preferably create two totally independent processes (in 2 command prompt windows), and type each command in its own window. Note that you must start the MVCCombine command first :
Command prompt 1:
MVCCombine.exe -nt -v -p -o Out-Combined-MVC.h264
Command prompt 2:
eac3to.exe F:\ 2: \\.\pipe\left.h264 3: \\.\pipe\right.h264 4: Audio.ac3 5: Subtitle.sup ...
You can now watch the progress of each command in its window.

Basically, it's what the next version of BD3D2MK3D will do.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV

Last edited by r0lZ; 14th May 2013 at 23:08.
r0lZ is offline   Reply With Quote
Old 14th May 2013, 23:20   #1295  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thanks for infos, I will try this :-)
Nico8583 is offline   Reply With Quote
Old 15th May 2013, 07:25   #1296  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Quote:
Originally Posted by Nico8583 View Post
I have a question. When I use this command :
eac3to.exe F:\ 2: \\.\pipe\left.h264 3: \\.\pipe\right.h264 | MVCCombine.exe -nt -v -p -o Out-Combined-MVC.h264
Is it possible to extract another stream in this command ? For example :
eac3to.exe F:\ 2: \\.\pipe\left.h264 3: \\.\pipe\right.h264 | MVCCombine.exe -nt -v -p -o Out-Combined-MVC.h264 4:Audio.ac3 5:Subtitle.sup ... ?
Thanks !
In progress
__________________
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 15th May 2013, 16:46   #1297  |  Link
Cedvano
Registered User
 
Join Date: Jul 2009
Posts: 244
Quote:
Originally Posted by frencher View Post
The project is under discussion with Nico8583

The ultimate demo package with CMD and sourcecode for convert MVC combined 3D Video
Code:
MVC to MVC and MVC>YUV>MVC from Intel MEDIA SDK 2013
But YUV take up much space. 500Gb for 1 movie and for the left eye only.

It would be best MVC to MVC like BD.

and combined MVC doesn't work with BD specifications.

Last edited by Cedvano; 15th May 2013 at 17:04.
Cedvano is offline   Reply With Quote
Old 15th May 2013, 20:20   #1298  |  Link
frencher
French Love
 
Join Date: Oct 2008
Location: France
Posts: 456
Quote:
Originally Posted by Cedvano View Post
But YUV take up much space. 500Gb for 1 movie and for the left eye only.

It would be best MVC to MVC like BD.

and combined MVC doesn't work with BD specifications.
Please, post your cmd line
__________________
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 22nd May 2013, 14:54   #1299  |  Link
vanden
Registered User
 
Join Date: Sep 2007
Posts: 104
Quote:
Stereoscopic Player Version History
Version 2.0.6 (May 5, 2013)

Added antialiasing to the image border in Oculus Rift mode.
Added Playback|Jump Backwards|Last Position command.
Added support for single-PID MVC MPEG transport streams.
Added -ir command line parameter to set the input orientation.
Added the following OLE Automation commands:
GetWindowBorderVisible
SetWindowBorderVisible
GetMenuVisible
SetMenuVisible
GetToolbarVisible
SetToolbarVisible
GetSwapLeftRight
SetSwapLeftRight
StepForwards
StepBackwards
Replay
GetEffectControlSerialOutputEnabled
SetEffectControlSerialOutputEnabled
GetEffectControlUDPOutputEnabled
SetEffectControlUDPOutputEnabled
GetEffectControlDMXOutputEnabled
SetEffectControlDMXOutputEnabled
GetEffectControlCommandExecutionEnabled
SetEffectControlCommandExecutionEnabled
Added DMX device sharing between multiple processes.
Changed: Updated MPEG splitter.
Changed: Updated AVC/MVC decoder.
Fixed Orientation dropdown list in the Video Properties dialog.
Fixed crash when cancelling renaming of library items.
it works with raw stream of combinemvc (without the -ano option) mux in m2ts with tsMuxeR.
but does not work with raw stream of combinemvc mux to mkv with mkvmerge ...
and do not work with MakeMKV files (remux in m2ts with tsMuxeR).

Last edited by vanden; 23rd May 2013 at 14:47.
vanden is offline   Reply With Quote
Old 23rd May 2013, 20:53   #1300  |  Link
Neisklar
Registered User
 
Join Date: Sep 2012
Posts: 68
Quote:
Stereoscopic Player Version History
Version 2.0.6 (May 5, 2013)

Changed: Updated MPEG splitter.
Changed: Updated AVC/MVC decoder.
New Splitter and most of all new MVC Decoder!!!

Anyone had a try?

I'm still busy doing educational stuff, so had'nt the time for that.
Maybe the new Decoder even works with the old STF.dll in single stream MVC-mode.
Sadly the new stf.dll is not usable (without some documentation by Peter) since the interface changed.
Neisklar is offline   Reply With Quote
Reply


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 20:42.


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