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. |
|
|
Thread Tools | Search this Thread | Display Modes |
8th May 2013, 19:18 | #1281 | Link |
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. Last edited by jdobbs; 8th May 2013 at 19:22. |
8th May 2013, 20:04 | #1282 | Link | ||
Registered User
Join Date: Sep 2012
Posts: 68
|
Quote:
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:
http://www.share-online.biz/download.php?id=I3CQBCDMI5 Last edited by Neisklar; 8th May 2013 at 20:15. |
||
8th May 2013, 21:18 | #1283 | Link |
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 !! |
8th May 2013, 23:02 | #1284 | Link |
PgcEdit daemon
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 |
8th May 2013, 23:10 | #1285 | Link | ||||
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
Quote:
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:
Quote:
Without you... "MVC PLayer Free" and "BD3D2MK3D" doesn't exist !!! Quote:
__________________
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. |
||||
12th May 2013, 20:10 | #1286 | Link |
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!!!) 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
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. |
12th May 2013, 21:06 | #1287 | Link |
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
Very nice update and thank you, i test tomorrow
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. |
12th May 2013, 22:26 | #1288 | Link |
PgcEdit daemon
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 |
12th May 2013, 23:49 | #1289 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,975
|
Quote:
[Edit] Just looked, it is GPL. Last edited by jdobbs; 12th May 2013 at 23:52. |
|
13th May 2013, 10:32 | #1290 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Code:
MVCCombine -pi -po
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 |
13th May 2013, 10:43 | #1291 | Link | |
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
Quote:
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. |
|
14th May 2013, 21:51 | #1293 | Link |
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 ! |
14th May 2013, 23:05 | #1294 | Link |
PgcEdit daemon
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. |
15th May 2013, 07:25 | #1296 | Link | |
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
Quote:
__________________
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. |
|
15th May 2013, 16:46 | #1297 | Link | |
Registered User
Join Date: Jul 2009
Posts: 244
|
Quote:
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. |
|
15th May 2013, 20:20 | #1298 | Link |
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
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. |
22nd May 2013, 14:54 | #1299 | Link | |
Registered User
Join Date: Sep 2007
Posts: 104
|
Quote:
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. |
|
23rd May 2013, 20:53 | #1300 | Link | |
Registered User
Join Date: Sep 2012
Posts: 68
|
Quote:
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. |
|
|
|