View Full Version : Guide to convert BD 3D to 3D Left+Right Stereoscopic and Anaglyph
r0lZ
9th November 2012, 12:07
BTW, there is another bug in v0.11. If you tick "options -> Use ssifSource2 for SBS/T&B" and you encode a multi-angle/story MPLS file (containing several SSIF files), the "part" numbers in the generated AVS script are wrong. I have already fixed that bug, and I will release v0.12 as soon as possible. In the meantime, you can edit the script manually to fix the part numbers. (They should be "part1 = ssifSource(...)", "part2 = ssifSource(...)" and so on.)
r0lZ
9th November 2012, 13:22
@r0lZ!
Tryed to use BD3D2MK3D to backup the movie "Brave" from 2012, strange thing is that it dont seem to find 800.mpls (as is the main movie) but lets me be visual to three others (801.mpls, 802.mpls and 803.mpls) that kind of (but are totally wrong *.mpls for right angle and so on), what can be done?
Just tryed DVDFab (8) just to se if 800.mpls shows....and it does correctly.
Can it be done in future that one can shoose the biggest *.m2ts as done with RipBot and the alternatives comes to show? ;)
Regards MaistroX
Thanks to a generous donor, I've received the Brave BD. :)
I think I understand why 800.mpls doesn't show up in the list (before clicking "Scan Full BD"). In fact, 00800.mpls references exactly the same SSIF files than 00803.mpls, and that playlist is present in the eac3to default list. It seems that eac3to skips 00800.mpls for that reason. (I don't know why it keeps the second occurrence instead of the first.)
If you click "Scan Full BD", it's BD3D2MK3D that scans all MPLS files, and removes the duplicate playlists (as well as looping menus and the titles without 3D contents), but it does it in the numerical order, and therefore it keeps 00800.mpls and reject 00803.mpls, as you can see in the console:
[...]
*** Scanning 00800.mpls...
> eac3to.exe "Y:\BDMV\PLAYLIST\00800.mpls"
00800.mpls, 1:33:37
[914+948+954+956+962+1015+986+989].m2ts
*** Scanning 00801.mpls...
> eac3to.exe "Y:\BDMV\PLAYLIST\00801.mpls"
00801.mpls, 1:34:12
[914+950+954+958+962+984+1017+987+989].m2ts
*** Scanning 00802.mpls...
> eac3to.exe "Y:\BDMV\PLAYLIST\00802.mpls"
00802.mpls, 1:34:12
[914+952+954+960+962+985+1017+988+989].m2ts
*** Scanning 00803.mpls...
> eac3to.exe "Y:\BDMV\PLAYLIST\00803.mpls"
00803.mpls, 1:33:37
[914+948+954+956+962+1015+986+989].m2ts
* Skipped: Identical to entry 44
[...]
(The entry number is the number of the playlist in the GUI, not the MPLS file number. In this case, entry 44 corresponds to 00800.mpls.)
So, it's not a bug in eac3to or in BD3D2MK3D, it's just a strange eac3to decision.
You wrote "three others (801.mpls, 802.mpls and 803.mpls) that kind of (but are totally wrong *.mpls for right angle and so on)". I wonder why you think that they are "totally wrong". IMO, they are just the playlist for the other angles (with the credits in different languages). It may seem strange that eac3to displays the main angle (in English) after the other ones, but it's not really a problem. It's probably because it is slightly shorter than the other playlists, due to the shorter credits.
BTW, you can easily check each angle by using the "Preview M2TS" button and selecting a M2TS file that is different in the various angles.
Can I consider that problem as solved?
MaistroX
9th November 2012, 13:35
Dont really know...
Main movie is:
00800.mpls, 1:33:37
but
00803.mpls, 1:33:37 (* Skipped: Identical to entry 44) is not.
Is there a chance that it can be shown from start or atleast be seen without full BD scan?
Maby not really a problem, if one can access it anyway, but since DVDFab can find it and see direct that it´s the main movie, I thought it was possible here to!? ;)
And still stand my ground that in that case "801.mpls, 802.mpls and 803.mpls" are "totally wrong"! hihi
SuperB work r0lZ, ALOT of ppl will love the proggress of your work!!!!
*** Scanning 00800.mpls...
> eac3to.exe "Y:\BDMV\PLAYLIST\00800.mpls"
00800.mpls, 1:33:37
[914+948+954+956+962+1015+986+989].m2ts
r0lZ
9th November 2012, 13:48
Main movie is:
00800.mpls, 1:33:37
but
00803.mpls, 1:33:37 (* Skipped: Identical to entry 44) is not.
00800.mpls, 1:33:37
00803.mpls, 1:33:37
Where is the difference?
The two other playlists are slightly longer, because the credits are longer (due to the additional foreign actors for the voices).
Is there a chance that it can be shown from start or atleast be seen without full BD scan?
No, sorry. You can perhaps ask madshi (http://forum.doom9.org/showthread.php?t=125966&highlight=eac3to) (the author of eac3to) to keep the first occurrence of duplicated playlist, but I can't force eac3to to modify its default output from my GUI. And I don't want to scan the full BD anyway, as that takes a long time, and many users may be confused by the large amount of 3D titles. (However, the full scan is done automatically when the default eac3to output is empty or doesn't contain 3D titles. That can happen when a BD contains only very short 3D titles.)
MaistroX
9th November 2012, 14:02
Oki, I´ve contacted madshi! ;)
Xaurus
9th November 2012, 17:28
It seems that you're right. Even without the Convert to AC3 option, the True HD AC3 streams are converted to 5.1. I'm not sure I can force eac3to to keep the 7.8 channels unmodified, but I will try. If someone know the syntax to use, please let me know.
It works fine for me manually using a command like this:
eac3to "c:\bd" 1) 4: c:\mux\audio.thd
r0lZ
9th November 2012, 17:54
The secret is simply the ".thd" extension? I don't see it in the list of supported output formats:
Decoded audio data can be stored as / encoded to:
(1) RAW, (L)PCM
(2) WAV (PCM only), W64, RF64, AGM
(3) WAVs (multiple mono WAV files, PCM only)
(4) AC3
(5) DTS
(6) AAC
(7) FLAC
Anyway, thanks for the tip.
Xaurus
9th November 2012, 19:28
Video
VC-1: .vc1
AVC (h264): .h264
MPEG-2: .mpeg2, .m2v
Audio
AC3: .ac3
FLAC: .flac
EAC3: .eac3
TrueHD (without AC3 core): .thd
TrueHD (with AC3 core): .thd+ac3
DTS: .dts
DTS-HD: .dts, .dtshd, dtsma
LPCM: .wav
MaistroX
9th November 2012, 19:34
Just finnished Conan The Barbarian (2011) and had set (as allways) the video bitrate to 10000kbps, but when I checked the finnished *.mkv with MediaInfo (as I allso allways do), it says that the video file is 5799kbps.
I got curious direct when I saw the *.mkv files size, since it was only 5.90GB that with incl. DTS-MA track (3.44GB) and all subtitles and that in a movie that have the runtime of 1h 52min..
Any idea???
See here for the loggfiles -> http://www.mediafire.com/?1ncbw1tdugbbl29
and here for encoding logg -> http://www.mediafire.com/view/?c5p86msobovvm55
and here for MediaInfo logg -> http://www.mediafire.com/?dwni4r2davbq1z9
Regards MaistroX
r0lZ
9th November 2012, 19:46
@Xaurus: Thanks. From where did you got that information?
@MaistroX: It's the content of the _ENCODE.cmd file that determines the encoding method and bit rate. Can you post it here?
MaistroX
9th November 2012, 19:48
Here U go:
@echo off
if not exist "I:\BDMV\STREAM\SSIF\00005.ssif" goto filenotfound
set path=C:\BD3D2MK3D\toolset\stereoplayer.exe;C:\BD3D2MK3D\toolset;%path%
echo Encoding _ENCODE_3D_MOVIE.avs
echo Encoding started %date% %time%
@echo on
"C:\BD3D2MK3D\toolset\stereoplayer.exe\avs2yuv.exe" ^
"_ENCODE_3D_MOVIE.avs" -o - ^
| "C:\BD3D2MK3D\toolset\stereoplayer.exe\x264_x64.exe" ^
--bitrate 10000 --pass 1 --stats "00005_m2ts.stats" --preset slower --tune film --profile high10 --level 4.1 ^
--output NUL --frames 161616 --demuxer y4m --stdin y4m -
@echo Pass 1 finished %date% %time%
"C:\BD3D2MK3D\toolset\stereoplayer.exe\avs2yuv.exe" ^
"_ENCODE_3D_MOVIE.avs" -o - ^
| "C:\BD3D2MK3D\toolset\stereoplayer.exe\x264_x64.exe" ^
--bitrate 10000 --pass 2 --stats "00005_m2ts.stats" --preset slower --tune film --profile high10 --level 4.1 ^
--output "00005_m2ts.264" --frames 161616 --demuxer y4m --stdin y4m -
@echo off
echo Encoding finished %date% %time%
REM Optionnaly mux the video and demuxed streams to MKV.
REM Note: The mux is disabled if no streams are demuxed.
if exist "_MUX_3D.cmd" cmd /c "_MUX_3D.cmd"
REM Everything done: do the post-processing (Shutdown computer...)
if exist "_POSTPROCESS.cmd" cmd /c "_POSTPROCESS.cmd"
exit /B
:filenotfound
echo *******************************************************************************
echo ERROR: File "I:\BDMV\STREAM\SSIF\00005.ssif" not found!
echo Is the Blu-ray disc loaded?
echo *******************************************************************************
pause
CAN IT BE....that I have mounted the BD iso over the network and used BD3D2MK3D from there, can it have any effect on this? Just a thought, coz this is the first time I´ve done it and used BD3D2MK3D, and all other times IF SET to 10000kbps it would output 10000kpbs.
r0lZ
9th November 2012, 19:55
IMO, the parameters are correct and have been correctly set by BD3D2MK3D, but I'm not an expert in x264 encoding, and maybe I have to specify an additional parameter. Someone can verify?
--bitrate 10000 --pass 1 --stats "00005_m2ts.stats" --preset slower --tune film --profile high10 --level 4.1 ^
--output NUL --frames 161616 --demuxer y4m --stdin y4m -
[...]
--bitrate 10000 --pass 2 --stats "00005_m2ts.stats" --preset slower --tune film --profile high10 --level 4.1 ^
--output "00005_m2ts.264" --frames 161616 --demuxer y4m --stdin y4m -
Xaurus
9th November 2012, 20:02
@Xaurus: Thanks. From where did you got that information?
I've just done it before, don't remember where I read it. If you google it some of it shows up as well.
By the way, is there no way to disable encoding using BD3D2MK3D, i.e making just a remux?
r0lZ
9th November 2012, 20:14
Well, the MUX_2D batch can be used to mux the AVC video stream with your audio and/or subtitle streams, but you cannot remux the 3D video without encoding it.
But I don't understand why you want to do that? What's the utility of remuxing a 3D video that requires a BD player to be played successfully?
Xaurus
9th November 2012, 20:18
Well, the MUX_2D batch can be used to mux the AVC video stream with your audio and/or subtitle streams, but you cannot remux the 3D video without encoding it.
But I don't understand why you want to do that? What's the utility of remuxing a 3D video that requires a BD player to be played successfully?
Well what I was trying to say was that I'd like the quality to be equal to the original, but without having the need to actually pop in the bluray to be able to watch it. :)
r0lZ
9th November 2012, 20:29
I see. Unfortunately, afaik, there are no players that can play a SSIF file, and no good CLI tools to remux to SSIF.
You can encode in lossless mode (CRF 0) in SBS or T&B format, but you cannot mux an AVC stream in a MKV container anyway, so there is no solution to keep exactly the original streams as they are in the BD. (It is perhaps possible to encode the right view only and interlace it with the left view @48fps with some avisynth tricks, but BD3D2MK3D doesn't support that mode yet, and will probably never do. Anyway, the output video stream will be much larger than in the original BD, as it will be impossible to encode the right-eye in differential MVC mode.)
Xaurus
9th November 2012, 20:31
I see. Unfortunately, afaik, there are no players that can play a SSIF file, and no good CLI tools to remux to SSIF.
You can encode in lossless mode (CRF 0) in SBS or T&B format, but you cannot mux an AVC stream in a MKV container anyway, so there is no solution to keep exactly the original streams as they are in the BD. (It is perhaps possible to encode the right view only and interlace it with the left view @48fps with some avisynth tricks, but BD3D2MK3D doesn't support that mode yet, and will probably never do. Anyway, the output video stream will be much larger than in the original BD, as it will be impossible to encode the right-eye in differential MVC mode.)
I know that Stereoscopic Player plays ssif files without problems, but the problem in general with this solution is where a BD has like 10 ssif files... it's very awkward having to watch 5 minutes then load a new file etc.
edit: That ssif join function you added, is that basically just a copy function like in dos prompt? I tried that before and it didn't really work. But if it's something else maybe it simply works just to join them and keep one large ssif file to play with that player.
r0lZ
9th November 2012, 20:47
Yes, the Join function simply appends all SSIF files to the output SSIF. It should work exactly like "copy /b". It it's not the case (or if the final file size is wrong), please let me know.
Eseninzhiv
9th November 2012, 21:12
size output SSIF taken with the BD3D2MK3D fully matches the "copy / b"
with video all right (left, right eye) timecode
but there is a problem with the sound, i wrote about it
audio and subtitles pulled through tsMuxer (playlist) http://i.imgur.com/4jLhH.png
r0lZ
9th November 2012, 21:22
Not sure what that warning means exactly, but it's probably because the audio is not cut exactly at the right point in the original SSIF files. Anyway, that problem should be present also with the file generated with the copy /b command. Right?
Eseninzhiv
9th November 2012, 21:34
Anyway, that problem should be present also with the file generated with the copy /b command. Right?
Right
so I took a video of this method (copy /b)
audio and subtitles with tsMuxer, he remove frames
r0lZ
9th November 2012, 21:38
So, that Join method doesn't work well? Damned!
Eseninzhiv
9th November 2012, 21:44
this method gets only the left and right eye (fine)
sound incorrectly
MaistroX
10th November 2012, 18:35
Can comfirm that doing the same BD (Conan The Barbarian (2011)), but NOT MOUNTED OVER NETWORK, work perfect, set to 10000kbps and outcome is 10000kbps!
Problem solved!!! :)
Just finnished Conan The Barbarian (2011) and had set (as allways) the video bitrate to 10000kbps, but when I checked the finnished *.mkv with MediaInfo (as I allso allways do), it says that the video file is 5799kbps.
I got curious direct when I saw the *.mkv files size, since it was only 5.90GB that with incl. DTS-MA track (3.44GB) and all subtitles and that in a movie that have the runtime of 1h 52min..
Any idea???
See here for the loggfiles -> http://www.mediafire.com/?1ncbw1tdugbbl29
and here for encoding logg -> http://www.mediafire.com/view/?c5p86msobovvm55
and here for MediaInfo logg -> http://www.mediafire.com/?dwni4r2davbq1z9
Regards MaistroX
r0lZ
10th November 2012, 18:47
NOT MOUNTED OVER NETWORK :eek:
Xaurus
11th November 2012, 04:45
Hmm, I would never encode over the network for different reasons. The above is one of them. :)
frencher
11th November 2012, 04:50
Yeah Very Nice Update slavanap
What's wrong in my code ?
ssifSource2(".\BDMV\STREAM\SSIF\00003.ssif", frame_count = <autodetect>, left_view = true, right_view = true, horizontal_stack = true)
r0lZ
11th November 2012, 09:46
"frame_count = <autodetect>" is wrong.
Try:
ssifSource2(".\BDMV\STREAM\SSIF\00003.ssif", left_view = true, right_view = true, horizontal_stack = true)
Since the auto-detected frame count is the default, that should work.
r0lZ
11th November 2012, 12:10
Actually, I select the TrueHD stream but get only the embedded AC3. Seems eac3to is fed some wrong parameters?
Audio
AC3: .ac3
TrueHD (without AC3 core): .thd
TrueHD (with AC3 core): .thd+ac3
Well, I've tried to implement the TrueHD extraction in BD3D2MK3D. That works fine when I use the ".thd" extension, but I get only the TrueHD stream, without the AC3 core, and that's not compatible with many players.
I've also tried to demux the TrueHD with the AC3 core by using the ".thd+ac3" extension, but eac3to fails:
> eac3to.exe "Z:\BDMV\PLAYLIST\00200.mpls" 4: "test.thd+ac3"
[...]
M2TS, 2 video tracks, 3 audio tracks, 1 subtitle track, 0:06:56, 109.477p
1: Chapters, 4 chapters
2: h264/AVC (left eye), 1080p24 /1.001 (16:9)
3: h264/AVC (right eye), 1080p24 /1.001 (16:9)
4: TrueHD/AC3, English, 7.1 channels, 48kHz
(embedded: AC3, 5.1 channels, 640kbps, 48kHz)
5: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz
6: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz
7: Subtitle (PGS), English
a04 AC3 encoding doesn't support back channels. Will mix them into the surround.
a04 Extracting audio track number 4...
a04 Extracting audio track number 4...
a04 Extracting TrueHD stream...
a04 Extracting TrueHD stream...
a04 Decoding with libav/ffmpeg...
a04 Remapping channels...
a04 Mixing surround channels...
a04 Encoding AC3 <640kbps> with libAften...
a04 libav Too many audio samples in frame
a04 The libav decoder reported error -1 while decoding.
^C
Furthermore, when that problem occurs, eac3to hangs and never returns, so BD3D2MK3D hangs too (waiting for eac3to to terminate its job), and the user has to manually kill eac3to and BD3D2MK3D. It's not at all a practical solution. However, I'm not sure that problem occurs with all BDs.
Note also the messages "AC3 encoding doesn't support back channels. Will mix them into the surround." and "a04 Encoding AC3 <640kbps> with libAften...". It seems that anyway, eac3to cannot keep the content of TrueHD tracks unmodified.
I wonder what I should do. I can easily implement the TrueHD only mode, but the MKV resulting file will be difficult (if not impossible) to play with most hardware or software players. Or I can leave my code as it is now, and try to decode the HD and AC3 streams, but that will probably fail, and the whole job will need to be started over. Needless to say that I don't like that!
BTW, currently, the same option is used to demux the core only of DTS and AC3 streams. I can split it in two different options, so that the user will be able keep the DTS-HD streams if he wish, but keep only the AC3 core of TrueHD tracks. But I don't know if supporting the TrueHD demux is really useful, given the current eac3to/libav limitations.
What do you think I should do?
Xaurus
11th November 2012, 12:15
I'd just ask madshi for an answer, r0lz.
r0lZ
11th November 2012, 12:42
I did it. In the meantime, I will add an "hidden option" in the config file, to specify the extension to use when decoding a TrueHD stream. It will be by default ".ac3", but you can change it to ".thd" or ".thd+ac3" if you wish, at your own risk, of course. (To enable TrueHD decoding, you will have to manually edit the config file, and restart the program.)
Note that when the "Keep only the core of DTS-HD audio tracks" option is enabled in tab 2, the TrueHD extension will be forced to ".ac3" anyway, so you can still somewhat control how the TrueHD streams must be processed with the GUI.
[EDIT] Note that the new option will be present at the end of the config file ONLY when the file is saved (either when BD3D2MK3D is used for the first time, or when the options are explicitly saved). So, before trying to edit the config file, change an option in the Options menu, or select "Save settings now". Also, modify ONLY the ::config(TrueHD_ext) option, as editing other options can lead to crashes (and it's useless anyway)!
MaistroX
11th November 2012, 12:56
Hi!
Can one ask to have a batch mode in the convert subtitle to 3D?
A bit time consuming to go one by one, I often have more than 10 subtitles to go over and have to sit and wait for each and ever one to be done before trasforming another.
Please!? ;)
Regards MaistroX
Regards MaistroX
r0lZ
11th November 2012, 13:02
That should be possible, yes. But I will not do it right now, as I need to release v0.12 rapidly (as it fixes some important bugs), and I haven't enough time to modify the less used tools. I put it on my TODO list...
In the meantime, you can already convert all subtitles from a BD title by selecting them in tab 2 and processing the BD normally. You don't need to demux any audio stream or encode the video, of course.
BTW, is it OK to consider that ALL original subtitle files are in the same folder, and to save all converted files in a single folder (equal or different than the original one)? " 3D" will be appended to the file name anyway.
MaistroX
11th November 2012, 13:20
Yes you can! :)
Another TODO:
In the 2 Tab, allso have a "Select All" since in default only 1 audio and 1 Subtilte are selected. Say I want to keep all Exept 3, if a "Select All" button is present one can uncheck the few ones not needed instead of goinf trou a Long list and mark! ;)
Possible?
Regards MaistroX
r0lZ
11th November 2012, 13:34
I will see if it's possible. Probably yes.
[EDIT] Done. I've added a "Select All/None" button in tab 2. (If all streams are already selected, clicking it again deselects all.)
MaistroX
11th November 2012, 13:39
Another TODO maby...
For me and I asume alot of other ppl. a batch mode/Que, extracting hole selected BD's to disc in a Q mode (video to encode included), and push "Add to Que".
So one dont have to have each BD mounted and encoded on by one! :)
Regards MaistroX
r0lZ
11th November 2012, 13:47
Currently, that's very difficult to do without changing a lot of things. So, sorry, but I'll not doing that. Maybe later...
r0lZ
11th November 2012, 17:03
I tried two ways:
1. open BD 3D - tools - join SSIF - open space on the local disk, choose a different local drive, click on Save - APPCRASH http://i.imgur.com/4OPOe.png
2. If immediately go to section 5, select the output folder, change, - tools - join SSIF - click on Save - Everything works fine http://i.imgur.com/PgQ6z.png
I had a hard time to figure out the problem. In fact, it's not a bug in my code, but in FreeWrap. FreeWrap is used to put all pieces of the app in one exe file, so you don't have to install Tcl/Tk. FreeWrap v6.4.2.5 is currently the latest official stable release, and I have used it until now. With that version, the function I use to open the File dialog (to open or save a file) crashes when the user selects another drive than the drive of the current directory of the app AND when a default input or output file name is provided.
Unfortunately, I can fix that bug only if I use FreeWrap v6.5 beta1. I am already sure that FreeWrap v6.5 beta has other problems, but as far as I know, they are minor. (For example, you will notice strange scrollbars, but they work.)
I will wrap the next version with FreeWrap v6.5 b1. If someone reports another crash, I will need to revert to v6.4.2.5, or to a previous version. Please let me know if the app works correctly.
MaistroX
11th November 2012, 20:05
@r0lZ
Dont know if this is a new or an old fault, but second pass stopped (first one seemed to work).
Check here -> http://www.mediafire.com/?4rzjnvhwsoencad
Regards MaistroX
r0lZ
11th November 2012, 20:17
In Consol.txt, I see 2 times the same Avisynth error: Access Violation. So, I suppose that the two passes failed. Anyway, if the first pass works, the s2cond pass shoud also work fine.
Also, in the AVS script, I notice a strange syntax. Only part 1 is encoded. Have you edited the script?
MaistroX
11th November 2012, 20:31
Have'nt done anything but hitting "Do it!"
Regards MaistroX
Neisklar
11th November 2012, 21:43
For the multi SSIF problem i have some sort of inefficent workaround:
Get the updated DirectShowMVCSource Plugin: http://www.share-online.biz/download.php?id=I3CQBCDMI5
The Plugin is now capable of opening .m2ts (or other MPEG Transportstreams) files, with an single combined MVC stream.
BUT: when using such a file, the STF will NOT work (even the StereoPlayer won't play it), so you need to do it this way for example:
LoadPlugin ("DirectShowMVCSource.dll")
left = DirectShowMVCSource("combined.m2ts", decodeleft=true)
right = DirectShowMVCSource("combined.m2ts")
video = StackHorizontal(left, right).BilinearResize(1920, 1080)
return video
I will give slavanap the information needed, so he can update his ssifSource2, which is then more efficent cause it only decodes once.
To create an combined bitstream:
* extract left and right with eac3to from .mpls
* use that little quick and dirtty tool to create an combined bitstream: http://www.share-online.biz/download.php?id=WHDSBCDMBCK
* use tsMuxer or equivalent to create a .m2ts file.
(Note that combined raw bitstream can also be fed to the sample_decode.exe from the Intel Media SDK)
r0lZ
11th November 2012, 23:44
Sorry, but I don't understand the interest. The old DirectShowMVCSource can already open a SSIF file, that IS a combined AVC+MVC file. So, joining several SSIF files without demuxing them first should work. So, what's the benefit in creating a m2ts? Am I missing something?
Neisklar
12th November 2012, 00:10
Sorry, but I don't understand the interest. The old DirectShowMVCSource can already open a SSIF file, that IS a combined AVC+MVC file. So, joining several SSIF files without demuxing them first should work. So, what's the benefit in creating a m2ts? Am I missing something?
A SSIF file is a combination/mix of two MPEG-TransportStreams where every TS at least contains a Video Stream, one Base AVC and one Subset-MVC.
MPLS defines (multiple) start and stop points in one or more TS, so to get the correct result you need to get the streams by MPLS, not just binary concatenate the TS
(i think thats why we have that extra frame problem, and/or the audio problems.)
So eac3to is able to correctly extract the two raw streams. We don't have a tool to open the raw streams directly, and no tool which can remux the raw MVC-Subset stream in an container. So the little tool creates an combined MVC Stream (That is one stream inclusing both base and mvc view), which can be muxed with tsMuxer, and opened with MPEGSPlitter.dll
r0lZ
12th November 2012, 00:34
OK, nice explanation. BUT, IMO, it's too much work and a too long process to be a practical solution.
BTW, I'm currently testing the problem of the duplicate frames. I think now that the number of frames reported by all tools is correct (except eac3to that reports one frame less). For whatever reason, when I encode a single SSIF from a multi-angle MPLS, the final MKV file has one or two additional frames (dupes of the last frames). The same thing happens with DirectShowMVCSource, ssifSource2 and even DirectShowSource (on a single M2TS). But I can't see that frames when I encode the same SSIF followed by another one (with the avisynth syntax "clip1 + clip2"). Therefore, I think now that the dupe problem is not important, as there are only additional frames at the very end of the video. Not a big deal.
When decoding a "large SSIF" file produced with copy /b 1.ssif+2.ssif (or with my Join tool), but without remux, some very strange things are happening. Some frame are missing in the middle of the SSIF, but in one view only, and that causes a shift in the left/right synchro! IMO, currently, it's the worst method, probably due to the multiple start points, as you ave explained above.
I must now test your new method, but I spend too much time on that project, and I have to do other things. Not sure I'll do it soon, especially if I can't use that method in my GUI. Thanks anyway!
Eseninzhiv
12th November 2012, 02:29
did a little test
combined raw bitstream opened in graphstudio
http://i.imgur.com/R4cae.jpg
frencher
12th November 2012, 06:45
For the multi SSIF problem i have some sort of inefficent workaround:
Get the updated DirectShowMVCSource Plugin: http://www.share-online.biz/download.php?id=I3CQBCDMI5
The Plugin is now capable of opening .m2ts (or other MPEG Transportstreams) files, with an single combined MVC stream.
BUT: when using such a file, the STF will NOT work (even the StereoPlayer won't play it), so you need to do it this way for example:
LoadPlugin ("DirectShowMVCSource.dll")
left = DirectShowMVCSource("combined.m2ts", decodeleft=true)
right = DirectShowMVCSource("combined.m2ts")
video = StackHorizontal(left, right).BilinearResize(1920, 1080)
return video
I will give slavanap the information needed, so he can update his ssifSource2, which is then more efficent cause it only decodes once.
To create an combined bitstream:
* extract left and right with eac3to from .mpls
* use that little quick and dirtty tool to create an combined bitstream: http://www.share-online.biz/download.php?id=WHDSBCDMBCK
* use tsMuxer or equivalent to create a .m2ts file.
(Note that combined raw bitstream can also be fed to the sample_decode.exe from the Intel Media SDK)
For Good news it's very very good news :D 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...)
- Remaining time
PS: Very Very good news, thank you for your work ;)
Nico8583
12th November 2012, 08:37
For the multi SSIF problem i have some sort of inefficent workaround:
Get the updated DirectShowMVCSource Plugin: http://www.share-online.biz/download.php?id=I3CQBCDMI5
The Plugin is now capable of opening .m2ts (or other MPEG Transportstreams) files, with an single combined MVC stream.
BUT: when using such a file, the STF will NOT work (even the StereoPlayer won't play it), so you need to do it this way for example:
LoadPlugin ("DirectShowMVCSource.dll")
left = DirectShowMVCSource("combined.m2ts", decodeleft=true)
right = DirectShowMVCSource("combined.m2ts")
video = StackHorizontal(left, right).BilinearResize(1920, 1080)
return video
I will give slavanap the information needed, so he can update his ssifSource2, which is then more efficent cause it only decodes once.
To create an combined bitstream:
* extract left and right with eac3to from .mpls
* use that little quick and dirtty tool to create an combined bitstream: http://www.share-online.biz/download.php?id=WHDSBCDMBCK
* use tsMuxer or equivalent to create a .m2ts file.
(Note that combined raw bitstream can also be fed to the sample_decode.exe from the Intel Media SDK)
Hi,
Does this tool no longer need to convert h264 to raw avi when Cinevision or other soft is used to encode ?
Thanks.
Wolfy59
12th November 2012, 08:41
For the multi SSIF problem i have some sort of inefficent workaround:
Get the updated DirectShowMVCSource Plugin: http://www.share-online.biz/download.php?id=I3CQBCDMI5
The Plugin is now capable of opening .m2ts (or other MPEG Transportstreams) files, with an single combined MVC stream.
BUT: when using such a file, the STF will NOT work (even the StereoPlayer won't play it), so you need to do it this way for example:
LoadPlugin ("DirectShowMVCSource.dll")
left = DirectShowMVCSource("combined.m2ts", decodeleft=true)
right = DirectShowMVCSource("combined.m2ts")
video = StackHorizontal(left, right).BilinearResize(1920, 1080)
return video
I will give slavanap the information needed, so he can update his ssifSource2, which is then more efficent cause it only decodes once.
To create an combined bitstream:
* extract left and right with eac3to from .mpls
* use that little quick and dirtty tool to create an combined bitstream: http://www.share-online.biz/download.php?id=WHDSBCDMBCK
* use tsMuxer or equivalent to create a .m2ts file.
(Note that combined raw bitstream can also be fed to the sample_decode.exe from the Intel Media SDK)
Great thanks for all the work you do
frencher
12th November 2012, 08:43
Yes ;)
I waited a long time this software and gods have heard
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.