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 |
2nd June 2013, 10:35 | #1381 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
You're welcome.
I've just tested the method (with just "_ENCODE.cmd"), and it doesn't work. You HAVE to use "cmd /c _ENCODE.cmd" in your batch file. (I have modified the code in my previous post accordingly.) Be sure to mount your ISO(s) before launching the command, of course! Also, if you want to encode 2 projects from different BDs, you must mount the two ISOs. In that case, the drive letter of the second mounted ISO can be different than the original drive letter (when you have created the project) and you may have to change it in the AVS script. Also, I forgot to say that if you don't need the MKV file, you can also delete or rename the _MUX_3D.cmd file(s), or you can untick the "Mux to MKV" option in the BD3D2MK3D GUI. When that file is not present, the _ENVODE.cmd batch stops when the encoding to h264 is finished. Also, you don't need to demux the audio and subtitle streams in both projects. You can do it just in one project, and untick all streams in the other project. The generation of the second project will be much more rapid.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
2nd June 2013, 11:01 | #1382 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
BD3D2MK3D:
I made a combined.m2ts from a BD MVC source (ssif). - 2D and 3D Playback with Stereoscopic Player 2.0.6 fail (black picture with CPU at 50%) - 2D (base view) playback with MPC-HC works, and playback is smooth Now using the temporary _combined_TEMP.h264: - 2D playback with Stereoscopic Player works with stroboscopic effect (jitter rather than smooth playback) - 3D playback with Stereoscopic Player works with some jitter, but 3D effect (depth) is poor compared to watching the original with the same settings of the Stereoscopic Player. I just thought to report this back. Last edited by Sharc; 2nd June 2013 at 16:40. |
2nd June 2013, 17:57 | #1383 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
BD3D2MK3D is only a GUI for MVCCombine.exe, and doesn't do anything special.
I don't know why Stereoscopic Player fails, but I use the Combined.m2ts file only for converting it to SBS when there are too many SSIF files in the MPLS, and DirectShowMVCSource or ssifsource2 fail. For that conversion, the combined m2ts has always worked fine.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
2nd June 2013, 18:57 | #1384 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
|
|
3rd June 2013, 07:58 | #1385 | Link | |
Registered User
Join Date: Oct 2011
Posts: 54
|
Quote:
I tested mvccombine too and what a speed now just 8mn to have my h264 stream. Thanks to all the people that make that possible Last edited by Wolfy59; 3rd June 2013 at 08:16. |
|
3rd June 2013, 08:38 | #1386 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Wow, that's fast!
BTW, I wonder if you really need to re-encode the AVC stream. You can just grab it from the BD. (Use _MUX_2D.cmd to mux it to MKV, or tick the Demux the AVC stream option in tab 2, or use eac3to manually). However, I don't know if it is necessary to encode the 2 views in a similar way. That depends probably of what you are doing with them.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
3rd June 2013, 15:16 | #1387 | Link | |
Registered User
Join Date: Oct 2011
Posts: 54
|
Quote:
|
|
3rd June 2013, 17:48 | #1388 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
So, you will re-encode them anyway, and it is much more rapid to demux and re-encode the original AVC stream directly. (And you'll need less disc space.)
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
4th June 2013, 06:58 | #1389 | Link | |
Registered User
Join Date: Oct 2011
Posts: 54
|
Quote:
How can i calculate that ? Base View 31 Go Dep View 10 Go |
|
4th June 2013, 07:32 | #1390 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
I'm not sure I understand your question. To rebuild a 3DBD, you must re-encode both streams at the same time with a MVC encoder. You cannot encode the base view (for example with x264) and then the dep view and lower the bit rate for the dep view. I don't know many MVC encoders (in fact, I've just tested once the Intel encoder of the SDK), and with that encoder, you cannot specify the bitrate of the 2 streams independently. The "bitrate gain" in the dep view in comparison to the left view is determined by the encoder itself and the amount of difference in the two views. It might be true that the dep view bitrate is usually about half the bitrate of the base view, but IMO, it's only a coincidence.
BTW, the Intel SDK has exactly what you need to re-create the AVC/MVC streams for your BD25. Extract the original streams to a combined.h264 file with eac3to and MVCCombine (or with the GUI integrated in BD3D2MK3D), then re-encode that combined.h264 file to another combined h264 file with the sample_multi_transcode exe from the SDK. I'm not sure it's a good encoder, but it works, and you don't need to encode the original streams to two huge lossless streams first. Quote:
__________________
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; 4th June 2013 at 08:04. |
|
4th June 2013, 08:36 | #1391 | Link | |
Registered User
Join Date: Oct 2011
Posts: 54
|
Quote:
All movies I did seems good but Increase the avc bitrate by using a lower mvc bitrate is a good solution to have better 3D BD25. Thanks for your help and you work |
|
4th June 2013, 22:17 | #1393 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
I got that error too with a combined file, and when I try to render the file with the -r option. I don't know why.
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
5th June 2013, 09:54 | #1394 | Link | |
Registered User
Join Date: May 2011
Location: Moscow, Russia
Posts: 124
|
Next version of ssifSource lib: http://sendfile.su/821817
* precise seeking removed, now default directshow seeking function does all the work (not frame precise), * default swap_views value set to 0 (AVC=left, MVC=right), * mkv files that contains 2 views (mkv files is made by MakeMKV software and perfertly plays in Stereoscopic player) support added. Requires MatroskaSplitter.dll from Stereoscopic player. @jdobbs, r0lZ If the sync problem appears in that lib, too, please let me know. The one difference in process when you extract base view in one AVS-file and dependent view in the other AVS-file is that ssifSource lib doesn't request dependent view from CoreAVC when it isn't necessary (for only base view extraction; to make extraction process faster). So maybe the problem is in that. To force 2 view extraction anytime you can just select 2 views to be extracted and then crop the one you need. Quote:
Or you mean, that ssifSource2 function works and ssifSource3 function does not work in the same dll? That's really strange to me. ssifSouce3 actually uses ssifSource2, that's why there are both of them in the same library. Last edited by slavanap; 5th June 2013 at 13:49. |
|
5th June 2013, 12:09 | #1395 | Link | ||
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
Currently, it is possible to encode an AVS script (running with Avisynth 32-bit) with x264_x64.exe if you read the AVS script with avs2yuv.exe and you pipe its output to x264_x64.exe, like this: Code:
"avs2yuv.exe" "script.avs" -o - | "x264_x64.exe" [options] -demuxer y4m --stdin y4m - Quote:
But the output is completely wrong when using the avs2yuv + x264_x64 method described above. I don't know why, and I will try again with other BDs, just to confirm, when I'll have some free time. Anyway, your new beta doesn't do the seeks the same way than before, and I suppose the problem will be fixed. I'll let you know...
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
||
5th June 2013, 13:27 | #1396 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
Quote:
I'll try again with your new release. |
|
5th June 2013, 17:46 | #1397 | Link | |
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
Quote:
Very very good news, for I am interested in against a x64 I will test soon PS: It's possible to add audio support with uNicAudio.dll + Source Code.rar for playback ? Thank you
__________________
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; 5th June 2013 at 18:05. |
|
6th June 2013, 00:23 | #1398 | Link |
French Love
Join Date: Oct 2008
Location: France
Posts: 456
|
"MVC Player Free v0.0.1.6" In my signature...
Old version "MVC Player Free v0.0.1.5" Extract and run directly MVC Player Free.exe or play associated file with MVC Player Free.exe Code:
# Major fix: Long path with "MVC Player Free.exe" now working # Added: Experimental support of mkv and seek is now fixed with 3D (ssif, m2ts and mkv only) thanks you slavanap for ssifSource2.dll ;) # Some fixes
__________________
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; 6th June 2013 at 00:50. |
6th June 2013, 10:34 | #1399 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
@Slavanap:
Quote:
I did also some tests with the latest beta. Unfortunately, the sync problem persists, but again I don't understand it. When I preview the AVS script with AvsPMod, all frames are in sync, so everything seems perfect. But when I encode the movie with avs2yuv and x264_x64, there are 2 additional frames in the MVC stream at the very beginning of the video. (It seems that no dupes are added later, but I'm not sure). Then I did another test with x264 32-bit, and I've seen a lot of "Duplicate frame added" warnings. I've decided to start again but this time I've added "> x264.log" to the command to capture the error messages. Strangely, there were no warning any more, in the command prompt window or in the log. There are NO additional frames at the beginning any more. :-) Here is the content of the log: Code:
ssifSource3: adding file Z:\BDMV\STREAM\SSIF\00000.ssif with 0 frames to sequences list. Have to load flag is TRUE ssifSource2: framecount autodetect mode on. looking for 'Z:\BDMV\STREAM\SSIF\..\00000.M2TS' file... ssifSource2: DSS2 function does not exists. Please add DSS2 plugin (avss.dll) to Avisynth plugins to make this feature work. ssifSource2: framecount directshow value is 4898 Then, I've tried again to encode with x264 32-bit without the redirection to the log file. It tooks a very long time to start the encoding, and again I see the error messages. Here are a few of them: Code:
"D:\NoInstall\BD3D2MK3D\toolset\stereoplayer.exe\x264.exe" --crf 23 --preset medium --profile high --level 4.1 ^ --keyint 96 --output "00000_m2ts.264" "_ENCODE_3D_MOVIE.avs" ssifSource3: adding file Z:\BDMV\STREAM\SSIF\00000.ssif with 0 frames to sequences list. Have to load flag is TRUE ssifSource2: framecount autodetect mode on. looking for 'Z:\BDMV\STREAM\SSIF\..\00000.M2TS' file... ssifSource2: DSS2 function does not exists. Please add DSS2 plugin (avss.dll) to Avisynth plugins to make this feature work. ssifSource2: framecount directshow value is 4898 avs [info]: 1920x1080p 0:0 @ 24000/1001 fps (cfr) x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 x264 [info]: profile High, level 4.1 ssifSource2: Decoding frame timeout reached!!! Frame # 3 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 4 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 5 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 6 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 10 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 11 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 12 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 15 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 15 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 16 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 17 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 19 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 20 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 21 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 21 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 22 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 23 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 25 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 27 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 28 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 30 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 30 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 32 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 32 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 36 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 43 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 43 duplicate added (debug: g03937998 m03937830 s03937998) ssifSource2: End of graph. Frame # 45 duplicate added (debug: g03937830 m03937830 s03937998) [0.0%] 2/4898 frames, 0.03 fps, 310.54 kb/s, eta 47:39:35 ssifSource2: End of graph. Frame # 53 duplicate added (debug: g03937830 m03937830 s03937998) ssifSource2: End of graph. Frame # 53 duplicate added (debug: g03937998 m03937830 s03937998) [...] I did all tests with the number of frames set to 0 in the AVS script. If you want tests with the correct number of frames, please let me know. I will check again later, with the avss.dll correctly installed...
__________________
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; 6th June 2013 at 10:36. |
|
6th June 2013, 16:23 | #1400 | Link |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
I did a lot of new ssifsource3() tests, with and without the avss.dll, and with and without the number of frames in the ssifsource3() command. All tests have been made with a single SSIF file.
Apparently, right after a reboot, ssifsource3() works perfectly. There is no left/right sync problem, no timeout and no "duplicate added" error messages. But if you launch the same encoding again, the timeout and "duplicate added" error happen. Same thing if you reboot, launch AvsPMod (even without previewing the video), quit it, and then encode the script. If you reboot again, the script can be encoded successfully again. Obviously, there is something wrong when avisynth is initialised for the second time. I don't know if it is possible to "reset" avisynth before starting the script, but I've tried to edit my Win8 registry to automatically unload the DLLs that are not used any more. Unfortunately, that doesn't solve the problem. Note that the presence or absence of avss.dll in the avisynth's plugins folder doesn't change anything (except that the warnings about DSS2 is not shown when the dll is present. I have also tested an encode of several times the same SSIF file, with this command: SsifSource3("Z:\BDMV\STREAM\SSIF\00000.ssif;48;Z:\BDMV\STREAM\SSIF\00000.ssif;48;Z:\BDMV\STREAM\SSIF\00000.ssif;1000", avc_view = true, mvc_view = true, horizontal_stack = true, swap_views = 0). Unfortunately, that doesn't work either, even after a reboot. I have tried to encode it 4 times, and each time, at least one of the 3 parts produced the "duplicate added" errors. Even the first part can produce the error after a reboot. It should be noted that AvsPMod has absolutely no problems with the script with a single SSIF. So, IMO, it uses a method to initialize the script correctly. But it hangs also with scritps with several SSIF files in the same command. Slavanap, I hope you have now enough info to find and fix that irritating bug. Unfortunately, I can't help on this point. To reproduce it, encode a few frames of any 3D movie, and then launch the same encoding command again. Most of the times (but not always), it will fail (and you'll see the progress % of x264 only after the timeout of 1 minute). I did most tests with x264 32-bit, but I've tried also several times the method using avs2yuv and x264_x64. The bugs described above are happening also with that encoding method, but I have also discovered another problem. The current beta of ssifsource2.dll prints its messages to stdout. That's fine when using the 32-bit encoding method, but not when using the 64-bit one. When the message is issued, avs2yuv echoes it probably to stdout normally, but since the YUV decoded video is also sent to stdout, the messages are mixed with the video stream, and x264_x64 receives strange frames with garbage that it cannot encode properly. That means that it is never possible to encode correctly a script using ssifsource3 in 64-bit mode. There is almost always a totally bugged frame near the beginning of the video, followed by a left/right sync problem of at least 3 or 4 frames. (The rest of the encoding seems normal, but of course the sync problem persists.) I suppose that this bug can easily be fixed by printing all messages to stderr instead of stdout. Slavanap, can you fix it? Thanks.
__________________
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; 6th June 2013 at 16:39. |
Thread Tools | Search this Thread |
Display Modes | |
|
|