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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 27th February 2015, 20:25   #221  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
You are correct...

You are correct, but you make it easier to understand.


I'm not sure about the hardware acceleration statement. Does that have anything to do with setting it to "disable" (hw=1)? The entire 40GB.iso to .mkv process (w/hardcoded subtitles) currently takes about 3-4 hours (without the output .mkv). Maybe I'll try running Windows 7 in "BOOTCAMP" (utilizes full hardware on a Mac)?

Last edited by Iggyrules; 27th February 2015 at 20:35.
Iggyrules is offline  
Old 28th February 2015, 00:03   #222  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
I have tried to say that I'm not sure that your hardware and software (VM under iMac) can be used with the hardware acceleration. To use it, you must install the Intel drivers, that work certainly on a very low level, and can probably not be installed under your emulated Windows. Most emulators do not have direct access to the hardware, and depend of generic drivers that may not support the hardware acceleration. If the MVC decoder tries to use the hardware in that circumstances, it may fail, or work fine, but don't expect miracles. I don't know how the VM works on your Mac, and I can't tell if the bootcamp mode can be beneficial to the Intel decoder, but of course you can try.

It is more bizarre to have bad results without the hardware acceleration. Anyway, try v0.60 with the new decoders in software mode. It should work. At least, I hope so!

The time taken by the encoding is usually slow anyway. The decoding of the AVC and MVC streams only is made by the Intel software lib or by the hardware if you have the right CPU. For that part, using the hardware (when it works!) is of course a big benefit, but the major part of the time spent during the encoding is taken by the x264's encoding process. That part cannot be accelerated. On my machine, without hardware acceleration, I use the preset "veryslow" and processing a whole movie takes normally between 8 and 12 hours, depending of the duration of the movie and the complexity of the images. Hardcoding the subtitles can also slow down considerably the whole process. (The speed does not depends of the size of the ISO, or only a very little bit.) So, IMO, 3-4 hours is very fast. Unless you use a fast preset, it's a very good result. You should not really expect better results without a dedicated PCs running Windows and with a very efficient CPU with hardware acceleration.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 28th February 2015, 02:47   #223  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
Thanks for the reply.

I'm glad to hear you say 3-4 hours is good process time. I have kept the settings at "CRF", "medium", "film" and "BD Compatible" for every test so far. I downloaded v0.60 and Avatar 3D is currently encoding...so hopefully in the next few hours I'll have something to report.

Last edited by Iggyrules; 28th February 2015 at 02:53.
Iggyrules is offline  
Old 28th February 2015, 06:28   #224  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
I just realized I downloaded v0.59! I checked for update, v0.60 was available to download, I select yes, it downloads, but it's v0.59 when I open it. What is wrong. I've tried COMEPLETELY deleted v0.59 first then downloading v0.60, but it's still v0,59... ????
Iggyrules is offline  
Old 28th February 2015, 10:38   #225  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Oooops! Sorry! I forgot to change the version number inside the exe. But don't worry. Except the version string, the exe you have downloaded is really v0.60 and your tests are relevant.
I have updated the archive with v0.60, this time with the correct version string "0.60". You can download it if you wish, but it's not really necessary.

Have you finished your first encoding? Is it correct? Have you used the hardware or software mode?
__________________
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; 28th February 2015 at 10:46. Reason: typo
r0lZ is offline  
Old 28th February 2015, 10:44   #226  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Quote:
Originally Posted by Iggyrules View Post
I have kept the settings at "CRF", "medium", "film" and "BD Compatible" for every test so far.
Note that the Film tuning sharpens the image, and that makes it harder to compress. For better compression results, it might be better to leave the tune option to "none". Of course, if you like the sharpened picture and disc size is not a problem for you, you can also leave it to "film".

If you can encode Avatar in 4 hours, your process in very fast! Avatar is a long and difficult movie to encode, especially if you hardcode the (forced) subtitles. On my system, it is one of the longest encode I did, around 15 hours (but with preset "veryslow" and level 4.1). I don't use BD Compatible.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 28th February 2015, 16:25   #227  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
Still the SAME result…the first 22 seconds of video (3D) and sound (DTS Master) is perfect, then BLACK FRAMES (video) for the remainder of the movie, the audio from the first second until the final second is perfect, the hard coded forced subtitles (3D) are perfect. What should I try next?

Here's the encode log ---

Encoding _ENCODE_3D_MOVIE.avs
Movie: Avatar
Encoding started Fri 02/27/2015 20:24:59.42

Y:\BD3D2MK3D Output\Avatar\00800>"C:\BD3D2MK3D\toolset\x264.
exe" --crf 23 --preset medium --tune film --bluray-compat --profile high --l
evel 4.1 --open-gop --keyint 24 --slices 4 --colormatrix bt709 --colorprim bt7
09 --transfer bt709 --b-pyramid strict --vbv-bufsize 30000 --vbv-maxrate 40000
--aud --frame-packing 3 --qpfile chapters_3D.qpfile --output "00800.264" "_
ENCODE_3D_MOVIE.avs"
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
x264 [info]: frame I:10394 Avg QP: 6.04 size: 1236
x264 [info]: frame P:51814 Avg QP: 9.07 size: 263
x264 [info]: frame B:170400 Avg QP:12.68 size: 139
x264 [info]: consecutive B-frames: 2.2% 0.3% 0.4% 97.2%
x264 [info]: mb I I16..4: 99.7% 0.2% 0.1%
x264 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.1% 0.0% 0.0% 0.0% 0
.0% skip:99.7%
x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.1% 0.0% 0.0% direct:
0.0% skip:99.9% L0:36.2% L1:58.0% BI: 5.8%
x264 [info]: 8x8 transform intra:0.4% inter:81.7%
x264 [info]: coded y,uvDC,uvAC intra: 0.3% 0.4% 0.2% inter: 0.0% 0.0% 0.0%
x264 [info]: i16 v,h,dc,p: 94% 0% 6% 0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 9% 32% 4% 2% 4% 2% 5% 3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 13% 16% 5% 4% 6% 3% 6% 4%
x264 [info]: i8c dc,h,v,p: 100% 0% 0% 0%
x264 [info]: Weighted P-Frames: Y:0.2% UV:0.2%
x264 [info]: ref P L0: 84.0% 12.9% 3.1%
x264 [info]: ref B L0: 98.4% 1.6%
x264 [info]: ref B L1: 97.2% 2.8%
x264 [info]: kb/s:41.33

encoded 232608 frames, 22.97 fps, 41.33 kb/s

Return on error: error code 1, sample_decode.cpp 66

Encoding finished Fri 02/27/2015 23:14:01.26

Y:\BD3D2MK3D Output\Avatar\00800>"C:\BD3D2MK3D\toolset\mkvme
rge.exe" @_MUX_3D_OPTIONS.txt | "C:\BD3D2MK3D\toolset\tee.
exe" "00800.mkvmerge.log"
mkvmerge v7.6.0 ('Garden of Dreams') 32bit built on Feb 8 2015 12:51:39
'00800.264': Using the demultiplexer for the format 'AVC/h.264'.
'00800.track_4352.Eng.dts': Using the demultiplexer for the format 'DTS'.
'00800.264' track 0: Using the output module for the format 'AVC/h.264 (unframed
)'.
'00800.track_4352.Eng.dts' track 0: Using the output module for the format 'DTS'
.
The file 'Avatar 3D.mkv' has been opened for writing.
Progress: 100%
The cue entries (the index) are being written...
Muxing took 1 minute 18 seconds.

Press any key to continue . . .

Last edited by Iggyrules; 28th February 2015 at 20:09.
Iggyrules is offline  
Old 28th February 2015, 16:32   #228  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
I'm not sure what the difference is between "hardware" and "software" modes, so I'm not sure which I've used. How can I tell which I'm using? Currently I double click the application (.exe file) and the GUI opens...
Iggyrules is offline  
Old 28th February 2015, 17:04   #229  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Hum, I've noticed "Return on error: error code 1, sample_decode.cpp 66". Obviously, it's during the decoding operation that the error occurs.

Are you sure that your BD or ISO is fully unprotected? BD3D2MK3D can't process encrypted BDs.

Also, try to decode in sw mode. Use the menu Settings -> MVC Decoder -> Hardware acceleration. Auto is the default and tries to detect the "best" decoding mode automatically according to your hardware. (It may not work correctly because you are running Windows in an emulator.) Use Disabled, that turns off the hardware acceleration. (You can also try Enabled, but I guess that the program will either crash or error out.)

You may also want to try FRIMSource instead of DGMVCSource, but I don't think that will make any difference.

If that solutions do not work, that means probably that you cannot use the Intel decoder under the Windows emulator, and unfortunately there is probably no solution. BD3D2MK3D has not been designed to be run in a Mac emulating Windows. Sorry.

The Settings menu "remembers" your settings, so you can see what has been the options used for your last encode simply by browsing the menu.
You can also have a look at the _ENCODE_3D_MOVIE.avs file. If the last parameter in the interleaved = DGMVCSource(...) command is "hw = 0", then you have run the decoder in automatic mode, and you can't tell what mode has really been used. If it is "hw = 1", then you have used software mode, and the MVC decoding *should* work. With "hw = 2", you have forced the hardware mode, and it's not a good idea!
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 28th February 2015, 17:46   #230  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
I've run the hardware accelerator in "disabled" (hw=1) every time, it is verified in the log, I'll set it to "automatic" (hw=0) and see how that works. I've saved those settings. I'll even decrypt the original again, but I don't think that's the problem. The strange part is I get some parts of the movie to actually to work, perfectly (Transformers & TMNT both play half the movie perfectly...)
Iggyrules is offline  
Old 28th February 2015, 19:40   #231  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Sorry, but I can't help more. Your configuration is very special, and I don't know what could be the cause of the problem.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 28th February 2015, 20:06   #232  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
I understand. I'm glad you provided all the help you have (thank you!!!). Im going to try a few more things. If I can't resolve this using my Mac I'll try the same .iso on a dedicated windows 7 machine and hopefully that will resolve my problem...

Thank you again for all your help. I'll post my results if your or anyone else is interested. I appreciate your efforts regardless of my results. It's people like you that make my hobby that much more enjoyable.

Doom9 members, has anyone successfully created a BD3D.mkv with forced subtitles using VM Windows 7 from a Mac...?

Good luck to you all.

Iggyrules
Iggyrules is offline  
Old 1st March 2015, 00:28   #233  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Thanks for your kind words, and good luck. I'm curious to know if you can find a solution.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 1st March 2015, 15:16   #234  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
BD3D2MK3D v0.61

Already a new version.

After the request to rip to 720p by |1313| here, I have realized that it is not really difficult to add that option, and I did it. There is now a new option in tab 5 to resize to 720p (and another option to select the Avisynth resize filter for that operation). The subtitles are resized too. If you hardcode the subtitles on the video, they are hardcoded before the resize of the video, so the best quality possible should be maintained.

The other important change is the new version of FRIMSource, recompiled with the latest Intel SDK, and that should be fully compatible with the latest Intel MVC decoder and hardware drivers. (@Iggyrules: I doubt that it will solve your problem, but try it anyway!)

Quote:
# v0.61 (March 1, 2015)
# - Added the possibility to resize the final video to 720p (in tab 5). The subtitles are also resized.
# - Added Settings -> Open Console at Startup.
# - The position of the console is now also saved in the config file (if it is open when the config is saved)
# - Fix: The Preview of the "Move Cinemascope Image Up" option did not work without a DirectShow codec able to open MPLS files. It's uses now the longest M2TS.
# - Minor cosmetic changes
# - Updated FRIMSource to the latest version (v2015-02-28, compatible with libmfxhw32.dll v6.14.11.28). Thanks Videofan3d!
Download: BD3D2MK3D.7z
__________________
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; 1st March 2015 at 15:20. Reason: typo
r0lZ is offline  
Old 1st March 2015, 16:26   #235  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
Thanks r0lZ, I'll try the updated FRIMSource.

BTW: I received an error when the MVC decoder started with hardware acceleration forced (hw=2).

Last edited by Iggyrules; 1st March 2015 at 16:30.
Iggyrules is offline  
Old 1st March 2015, 16:33   #236  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
OK, the error is normal on your system, and it confirms that your previous tests have been made in sw mode. But it's bad news for you!
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 1st March 2015, 16:36   #237  |  Link
Iggyrules
Registered User
 
Join Date: Feb 2015
Posts: 12
At least I have more confirmations
Iggyrules is offline  
Old 1st March 2015, 18:39   #238  |  Link
sef
Registered User
 
Join Date: Nov 2013
Location: Russia
Posts: 61
Thank you for your work r0lZ!
sef is offline  
Old 1st March 2015, 19:53   #239  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
No problem! Thanks to you too! ;-)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline  
Old 1st March 2015, 20:05   #240  |  Link
igvk
Registered User
 
Join Date: Jul 2011
Posts: 33
Partial convertion of BD3D

I have the following disc image, that is recognized in BD3D2MK3D as shown in the attached image.
Name:  Av3D.jpg
Views: 1302
Size:  190.7 KB
Unfortunately, it seems that it converts only the first part from 00001.m2ts (about 4 minutes), not the whole 2 hours 41 minutes.
What can be done to diagnose the problem?

Here is the log contents:
Code:
Log file generated by BD3D2MK3D v0.61
Conversion of "F:\Video\Movies\BluRay\AVATAR_3D\BDMV\PLAYLIST\00800.mpls" to Side-by-Side.
Movie title: Avatar
*** Demuxing the streams...
Network Optix tsMuxeR.  Version 2.6.9. www.networkoptix.com
Decoding H264 stream (track 1): Profile: High@4.1  Resolution: 1920:1080p  Frame rate: 23.976
H.264 muxing fps is not set. Get fps from stream. Value: 23.976
Decoding H264 stream (track 2): H.264/MVC Views: 2 Profile: High@4.1  Resolution: 1920:1080p  Frame rate: 23.976
MVC muxing fps is not set. Get fps from stream. Value: 23.976
Decoding DTS-HD stream (track 3): Bitrate: 1536Kbps  core + MLP data.Sample Rate: 48KHz  Channels: 5.1 (DTS Master Audio 24bit)
Processed 6445 video frames
Processed 6447 video frames
Flushing write buffer
Demux complete.
Demuxing time: 16 sec

*******************************************************************************
*** Retrieving audio delays from playlist 00800.mpls...
*******************************************************************************
*** Generating the avisynth script...

*** Saving "_ENCODE_3D_MOVIE.avs"...
*** Generating the batch files...

*** Saving "_ENCODE.cmd"
x264 command:
"C:\TOOLS\BD3D2MK3D\toolset\x264.exe" ^
  --crf 23 --preset medium ^
  --keyint 96 ^
  --frame-packing 3 --qpfile chapters_3D.qpfile ^
  --output "00800.264" "_ENCODE_3D_MOVIE.avs"

*** Saving "tags.xml"

*** Saving "_MUX_3D.cmd"

*** Saving "_MUX_3D_OPTIONS.txt"
*** Adding attachments...

*** Saving "_MUX_2D.cmd" and "_MUX_2D_OPTIONS.txt"

*** Saving "_POSTPROCESS.cmd"
*** Done. Avisynth script and batch files generated.

Job finished Sun Mar 01 21:56:02 AST 2015
*******************************************************************************
Done with errors!

* Warning: The AVC and MVC video streams do not have the same number of frames: 6445 and 6447.  That means that the two streams are probably not synchronised properly, and that encoding this playlist to SBS or T&B may fail.
The script will be generated anyway.

Launch "_ENCODE.cmd" to encode the video (and optionally mux to MKV).
igvk is offline  
Closed Thread

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 10:03.


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