Log in

View Full Version : BluRip - BLURAY -> MKV (CONVERTER/REMUXER)


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13

setarip_old
1st May 2010, 03:03
Hi!

does anyone know how to post inside a "code" window

"[ Code]" "[ /Code]" (Omit quotation marks and omit initial blank space inside each set of brackets)

cafevincent
1st May 2010, 14:15
I'm trying to encode myvideo.m2ts into myvideo.mkv but I'm having a hard time figuring out how to use your program. I opeh the file using the "open *.m2ts file" button and select the video and audio and press start but it does nothing. I think it just works on the audio track a bit and then stops after a minute or two. It outputs no files. I can't believe a 1-click encoder is not simple enough for me...

Guest
1st May 2010, 19:51
I will try to create a sample. I think that the stream is corrupt at the end. If I split at the beginning, the samples work as expected. I've looked into this and fixed it. There is a spurious SPS at the end of the stream that specifies 720x480. I've modified DGIndexNV to use only the first SPS for writing the size to the DGI file. The fix will be in the next release. This should be a rare situation due to bad cutting of the source stream.

_hawk_
2nd May 2010, 10:10
I've looked into this and fixed it. There is a spurious SPS at the end of the stream that specifies 720x480. I've modified DGIndexNV to use only the first SPS for writing the size to the DGI file. The fix will be in the next release. This should be a rare situation due to bad cutting of the source stream.

Nice, thank you!

_hawk_
2nd May 2010, 10:11
Hey Hawk,
This is the latest bug report I have generated. I think the issue lies in the subtitle processing code. Rather than the program just posting an error regarding forced subtitles not being found and moving forward (Which is a bug in and of itself i think; all necessary subtitle tracks were selected), it is actually cancelling the operation and then reporting back that the file was converted. However, what is more interesting is that the file is not even in the directory (with a size of 0 kb); it flat out doesnt exist. Im not sure why this is. I would take a good look at your subtitles code though.

Which date has your test version? I fixed some subtitle errors in the latest version.

_hawk_
2nd May 2010, 10:12
I'm trying to encode myvideo.m2ts into myvideo.mkv but I'm having a hard time figuring out how to use your program. I opeh the file using the "open *.m2ts file" button and select the video and audio and press start but it does nothing. I think it just works on the audio track a bit and then stops after a minute or two. It outputs no files. I can't believe a 1-click encoder is not simple enough for me...

There will be a manual some day..
What version did you use? Maybe you can post the log. Perhaps I can help you to fix it then.

_hawk_
7th May 2010, 13:49
BluRip testversion 2010/05/06

- fixed error when no subtitles were selected

Aai em ron
8th May 2010, 21:58
BluRip testversion 2010/05/06

- fixed error when no subtitles were selected

Thanks, I have noticed this programm today and it works great.

YukonTrooper
10th May 2010, 23:09
Great program, but 0.48 test doesn't have the option to remove autocrop like you said earlier in the thread? :confused:

senglund
11th May 2010, 19:37
@YukonTrooper : There is an advanced menu, right clicking the video file in the "strem selection" tab, where you can disable autocrop.

I am having problems with resize. Trying tp resize a movie to 720p. First tried the check box on the "General Settings" tab. No luck. still 1080p. Then tried to change under the advanced options, still no luck. The last time (never checked first) the subtitles were resized to 720, but not the video. Wonder what I am doing wrong.

YukonTrooper
11th May 2010, 23:49
@YukonTrooper : There is an advanced menu, right clicking the video file in the "strem selection" tab, where you can disable autocrop.

I am having problems with resize. Trying tp resize a movie to 720p. First tried the check box on the "General Settings" tab. No luck. still 1080p. Then tried to change under the advanced options, still no luck. The last time (never checked first) the subtitles were resized to 720, but not the video. Wonder what I am doing wrong.
Hooray! Thank you.:)

While we're on the topic of cropping, is this feature beneficial for cropping the very tiny black border on some 16:9 films? I made an MKV last night of a Blu-ray rip with default auto-crop and didn't notice any small border, but I wasn't sure how much picture I lost due to the cropping. If I knew that only the small border was being removed, I wouldn't mind using auto-crop. I'm just unsure. :confused:

EDIT: So I went ahead and made sure auto-crop was turned off, but there was still data in the auto-crop log. What am I looking for that tells me the file was or wasn't auto-cropped? Here is the log:

[11/05/2010 8:36:51 PM] General
[11/05/2010 8:36:51 PM] Count : 265
[11/05/2010 8:36:51 PM] Count of stream of this kind : 1
[11/05/2010 8:36:51 PM] Kind of stream : General
[11/05/2010 8:36:51 PM] Kind of stream : General
[11/05/2010 8:36:51 PM] Stream identifier : 0
[11/05/2010 8:36:51 PM] Count of video streams : 1
[11/05/2010 8:36:51 PM] Video_Format_List : AVC
[11/05/2010 8:36:51 PM] Video_Format_WithHint_List : AVC
[11/05/2010 8:36:51 PM] Codecs Video : AVC
[11/05/2010 8:36:51 PM] Complete name : E:\Temp\BluRip\_002_video.mkv
[11/05/2010 8:36:51 PM] Folder name : E:\Temp\BluRip
[11/05/2010 8:36:51 PM] File name : _002_video
[11/05/2010 8:36:51 PM] File extension : mkv
[11/05/2010 8:36:51 PM] Format : Matroska
[11/05/2010 8:36:51 PM] Format : Matroska
[11/05/2010 8:36:51 PM] Format/Url : http://packs.matroska.org/
[11/05/2010 8:36:51 PM] Format/Extensions usually used : mkv mka mks
[11/05/2010 8:36:51 PM] Codec : Matroska
[11/05/2010 8:36:51 PM] Codec : Matroska
[11/05/2010 8:36:51 PM] Codec/Url : http://packs.matroska.org/
[11/05/2010 8:36:51 PM] Codec/Extensions usually used : mkv mka mks
[11/05/2010 8:36:51 PM] File size : 30837906543
[11/05/2010 8:36:51 PM] File size : 28.7 GiB
[11/05/2010 8:36:51 PM] File size : 29 GiB
[11/05/2010 8:36:51 PM] File size : 29 GiB
[11/05/2010 8:36:51 PM] File size : 28.7 GiB
[11/05/2010 8:36:51 PM] File size : 28.72 GiB
[11/05/2010 8:36:51 PM] Duration : 7839832
[11/05/2010 8:36:51 PM] Duration : 2h 10mn
[11/05/2010 8:36:51 PM] Duration : 2h 10mn 39s 832ms
[11/05/2010 8:36:51 PM] Duration : 2h 10mn
[11/05/2010 8:36:51 PM] Duration : 02:10:39.832
[11/05/2010 8:36:51 PM] Overall bit rate : 31467925
[11/05/2010 8:36:51 PM] Overall bit rate : 31.5 Mbps
[11/05/2010 8:36:51 PM] Stream size : 613644351
[11/05/2010 8:36:51 PM] Stream size : 585 MiB (2%)
[11/05/2010 8:36:51 PM] Stream size : 585 MiB
[11/05/2010 8:36:51 PM] Stream size : 585 MiB
[11/05/2010 8:36:51 PM] Stream size : 585 MiB
[11/05/2010 8:36:51 PM] Stream size : 585.2 MiB
[11/05/2010 8:36:51 PM] Stream size : 585 MiB (2%)
[11/05/2010 8:36:51 PM] Proportion of this stream : 0.01990
[11/05/2010 8:36:51 PM] Encoded date : UTC 2010-05-12 02:48:14
[11/05/2010 8:36:51 PM] File creation date : UTC 2010-05-12 02:48:14.759
[11/05/2010 8:36:51 PM] File creation date (local) : 2010-05-11 19:48:14.759
[11/05/2010 8:36:51 PM] File last modification date : UTC 2010-05-12 03:36:50.205
[11/05/2010 8:36:51 PM] File last modification date (loc : 2010-05-11 20:36:50.205
[11/05/2010 8:36:52 PM] Writing application : eac3to
[11/05/2010 8:36:52 PM] Writing library : Haali DirectShow Matroska Muxer 1.10.120.15
[11/05/2010 8:36:52 PM] Writing library : Haali DirectShow Matroska Muxer 1.10.120.15
[11/05/2010 8:36:52 PM]
[11/05/2010 8:36:52 PM] Video
[11/05/2010 8:36:52 PM] Count : 165
[11/05/2010 8:36:52 PM] Count of stream of this kind : 1
[11/05/2010 8:36:52 PM] Kind of stream : Video
[11/05/2010 8:36:52 PM] Kind of stream : Video
[11/05/2010 8:36:52 PM] Stream identifier : 0
[11/05/2010 8:36:52 PM] ID : 1
[11/05/2010 8:36:52 PM] ID : 1
[11/05/2010 8:36:52 PM] UniqueID : 1
[11/05/2010 8:36:52 PM] Format : AVC
[11/05/2010 8:36:52 PM] Format/Info : Advanced Video Codec
[11/05/2010 8:36:52 PM] Format/Url : http://developers.videolan.org/x264.html
[11/05/2010 8:36:52 PM] Format profile : High@L4.1
[11/05/2010 8:36:52 PM] Format settings : CABAC / 2 Ref Frames
[11/05/2010 8:36:52 PM] Format settings, CABAC : Yes
[11/05/2010 8:36:52 PM] Format settings, CABAC : Yes
[11/05/2010 8:36:52 PM] Format settings, ReFrames : 2
[11/05/2010 8:36:52 PM] Format settings, ReFrames : 2 frames
[11/05/2010 8:36:52 PM] InternetMediaType : video/H264
[11/05/2010 8:36:52 PM] Muxing mode : Container profile=Unknown@0.0
[11/05/2010 8:36:52 PM] Codec ID : V_MPEG4/ISO/AVC
[11/05/2010 8:36:52 PM] Codec ID/Url : http://ffdshow-tryout.sourceforge.net/
[11/05/2010 8:36:52 PM] Codec : V_MPEG4/ISO/AVC
[11/05/2010 8:36:52 PM] Codec : AVC
[11/05/2010 8:36:52 PM] Codec/Family : AVC
[11/05/2010 8:36:52 PM] Codec/Info : Advanced Video Codec
[11/05/2010 8:36:52 PM] Codec/Url : http://ffdshow-tryout.sourceforge.net/
[11/05/2010 8:36:52 PM] Codec profile : High@L4.1
[11/05/2010 8:36:52 PM] Codec settings : CABAC / 2 Ref Frames
[11/05/2010 8:36:52 PM] Codec settings, CABAC : Yes
[11/05/2010 8:36:52 PM] Codec_Settings_RefFrames : 2
[11/05/2010 8:36:52 PM] Duration : 7839840
[11/05/2010 8:36:52 PM] Duration : 2h 10mn
[11/05/2010 8:36:52 PM] Duration : 2h 10mn 39s 840ms
[11/05/2010 8:36:52 PM] Duration : 2h 10mn
[11/05/2010 8:36:52 PM] Duration : 02:10:39.840
[11/05/2010 8:36:52 PM] Bit rate : 30841713
[11/05/2010 8:36:52 PM] Bit rate : 30.8 Mbps
[11/05/2010 8:36:52 PM] Width : 1920
[11/05/2010 8:36:52 PM] Width : 1 920 pixels
[11/05/2010 8:36:52 PM] Height : 1080
[11/05/2010 8:36:52 PM] Height : 1 080 pixels
[11/05/2010 8:36:52 PM] Pixel aspect ratio : 1.000
[11/05/2010 8:36:52 PM] Display aspect ratio : 1.778
[11/05/2010 8:36:52 PM] Display aspect ratio : 16:9
[11/05/2010 8:36:52 PM] Frame rate : 23.976
[11/05/2010 8:36:52 PM] Frame rate : 23.976 fps
[11/05/2010 8:36:52 PM] Frame count : 187968
[11/05/2010 8:36:52 PM] Resolution : 8
[11/05/2010 8:36:52 PM] Resolution : 8 bits
[11/05/2010 8:36:52 PM] Colorimetry : 4:2:0
[11/05/2010 8:36:52 PM] Scan type : Progressive
[11/05/2010 8:36:52 PM] Scan type : Progressive
[11/05/2010 8:36:52 PM] Interlacement : PPF
[11/05/2010 8:36:52 PM] Interlacement : Progressive
[11/05/2010 8:36:52 PM] Bits/(Pixel*Frame) : 0.620
[11/05/2010 8:36:52 PM] Delay : 0
[11/05/2010 8:36:52 PM] Delay : 00:00:00.000
[11/05/2010 8:36:52 PM] Stream size : 30224262192
[11/05/2010 8:36:52 PM] Stream size : 28.1 GiB (98%)
[11/05/2010 8:36:52 PM] Stream size : 28 GiB
[11/05/2010 8:36:52 PM] Stream size : 28 GiB
[11/05/2010 8:36:52 PM] Stream size : 28.1 GiB
[11/05/2010 8:36:52 PM] Stream size : 28.15 GiB
[11/05/2010 8:36:52 PM] Stream size : 28.1 GiB (98%)
[11/05/2010 8:36:52 PM] Proportion of this stream : 0.98010
[11/05/2010 8:36:52 PM] BufferSize : 3750000 / 3750000
[11/05/2010 8:36:52 PM]

_hawk_
12th May 2010, 06:58
@YukonTrooper : There is an advanced menu, right clicking the video file in the "strem selection" tab, where you can disable autocrop.

I am having problems with resize. Trying tp resize a movie to 720p. First tried the check box on the "General Settings" tab. No luck. still 1080p. Then tried to change under the advanced options, still no luck. The last time (never checked first) the subtitles were resized to 720, but not the video. Wonder what I am doing wrong.

I'll check if there's a bug in 720p resize code. Didn't test this with latest version.

_hawk_
12th May 2010, 07:00
Hooray! Thank you.:)

While we're on the topic of cropping, is this feature beneficial for cropping the very tiny black border on some 16:9 films? I made an MKV last night of a Blu-ray rip with default auto-crop and didn't notice any small border, but I wasn't sure how much picture I lost due to the cropping. If I knew that only the small border was being removed, I wouldn't mind using auto-crop. I'm just unsure. :confused:

EDIT: So I went ahead and made sure auto-crop was turned off, but there was still data in the auto-crop log. What am I looking for that tells me the file was or wasn't auto-cropped? Here is the log:


This was only the output from mediainfo.
Take a look at ??_encode.avs - there you can see if cropping/resizing was used.

YukonTrooper
12th May 2010, 22:48
This was only the output from mediainfo.
Take a look at ??_encode.avs - there you can see if cropping/resizing was used.
This is found in the standard log?

_hawk_
14th May 2010, 10:25
The ??_encode.avs is a file that is created in the working directory.

_hawk_
14th May 2010, 11:15
v0.4.8

- Split almost all processing steps into seperate DLLs
- Support for 64 bit x264 using avs2yuv
- Improved subtitle processing (faster/split tracks that contain normal&forced subs into 2 seperate tracks)
- Added bitrate calculator for 2-pass profiles (not using any overhead calculation yet)
- Added a lot of new default profiles
- Advanced options for audio & video tracks (on stream selection tab)

- Set output format for each audio track
- Include additionally AC3 track
- Disable autocrop/set framerate/resolution manually

- Support for PCM tracks (AC3 by default)
- Only needs .NET 2.0

Aai em ron
14th May 2010, 19:11
Thank you for the new update. Looks great.

M3n747
14th May 2010, 20:49
I checked out the bitrate calculator, to see if I can finally encode some videos aiming for specific file sizes. I ran a couple of test encodes (96 MB M2TS file, 1080p, 1 AC3 stereo audio stream), trying to get a 10MB MKV. I used a semi-custom 2-pass profile:

--preset slow --tune film --level 4.1 --ref 5 --b-adapt 1 --aq-mode 1
and set the size value to 10. The resulting file was 61 MB.

Then I tried one of the built-in presets:
--preset slow --tune film --level 4.1 --ref 5 --no-fast-pskip --b-adapt 1
set to bitrate=8000 - the output file was 56 MB. Better, but still not quite there.

So then I used a CRF profile:
--preset slow --tune film --crf 20.0 --level 4.1 --ref 5 --no-fast-pskip --b-adapt 1
which gave me a 25 MB file, that looked just as good as the previous two, as far as I can tell. Something didn't quite add up, so I decided to go back to the first preset, this time set to 25 MB. I got an 85 MB file.

Apparently I'm missing something here. As a wise man once said: WTF am I doing wrong? What do I need to do to get a file that would be of the specified size?

_hawk_
18th May 2010, 07:54
I checked out the bitrate calculator, to see if I can finally encode some videos aiming for specific file sizes. I ran a couple of test encodes (96 MB M2TS file, 1080p, 1 AC3 stereo audio stream), trying to get a 10MB MKV. I used a semi-custom 2-pass profile:

Not sure if you can test this with such a small file..
Will test this with a full movie. In a 100mb m2ts I guess the audio already has 10mb..

pirotrav
18th May 2010, 08:44
Hey hawk,

Im back once more with harrowing blu-ray ripping troubles. This error was unique, however, in that it occurs on both version .4.7 AND the latest .4.8. Im attempting to narrow it now, but im unsure what the issue is. The movie plays back great in its individual m2ts files, but as usual we all love MKV ;)

[5/18/2010 2:22:11 AM] Getting playlist info...
[5/18/2010 2:22:11 AM]
[5/18/2010 2:22:11 AM] Command: G:\blu-ray_rip_utilities\eac3to\eac3to.exe "D:\Blu-Ray\temp_2\MainMovie\TOY STORY"
[5/18/2010 2:22:12 AM] 1) 00000.mpls, 1:21:27
[5/18/2010 2:22:12 AM]
[5/18/2010 2:22:12 AM] [66+504+401+506+402+508+403+510+404+512+538+540].m2ts
[5/18/2010 2:22:12 AM] - Chapters, 30 chapters
[5/18/2010 2:22:12 AM] - h264/AVC, 1080p24 /1.001 (16:9)
[5/18/2010 2:22:12 AM] - DTS Master Audio, English, multi-channel, 48khz
[5/18/2010 2:22:12 AM] - AC3, English, stereo, 48khz
[5/18/2010 2:22:12 AM]
[5/18/2010 2:22:12 AM] Return code: 0
[5/18/2010 2:22:12 AM] Done.
[5/18/2010 2:22:12 AM] Getting title info...
[5/18/2010 2:22:12 AM]
[5/18/2010 2:22:12 AM] Command: G:\blu-ray_rip_utilities\eac3to\eac3to.exe "D:\Blu-Ray\temp_2\MainMovie\TOY STORY" 1)
[5/18/2010 2:22:21 AM] ------------------------------------------------------------------------------- M2TS, 1 video track, 2 audio tracks, 2 subtitle tracks, 1:21:27, 24p /1.001
[5/18/2010 2:22:21 AM]
[5/18/2010 2:22:21 AM] 1: Chapters, 30 chapters
[5/18/2010 2:22:21 AM] 2: h264/AVC, 1080p24 /1.001 (16:9)
[5/18/2010 2:22:21 AM] 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
[5/18/2010 2:22:21 AM] (core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48khz)
[5/18/2010 2:22:21 AM] 4: AC3 Surround, English, 2.0 channels, 192kbps, 48khz
[5/18/2010 2:22:21 AM] 5: Subtitle (PGS), English
[5/18/2010 2:22:21 AM] 6: Subtitle (PGS), English
[5/18/2010 2:22:21 AM]
[5/18/2010 2:22:21 AM] Return code: 0
[5/18/2010 2:22:21 AM] Done.
[5/18/2010 2:22:31 AM] Starting to demux
[5/18/2010 2:22:31 AM] Processing M2TS, 1 video track, 2 audio tracks, 2 subtitle tracks, 1:21:27, 24p /1.001
[5/18/2010 2:22:31 AM]
[5/18/2010 2:22:31 AM] Command: G:\blu-ray_rip_utilities\eac3to\eac3to.exe "D:\Blu-Ray\temp_2\MainMovie\TOY STORY" 1) 1: "d:\Blu-Ray\temp_1\_001_chapter.txt" 2: "d:\Blu-Ray\temp_1\_002_video.mkv" 3: "d:\Blu-Ray\temp_1\_003_audio_dtsHD_English.dtshd" 4: "d:\Blu-Ray\temp_1\_004_audio_ac3_English.ac3" 5: "d:\Blu-Ray\temp_1\_005_subtitle_English.sup" 6: "d:\Blu-Ray\temp_1\_006_subtitle_English.sup"
[5/18/2010 2:22:34 AM] ------------------------------------------------------------------------------- M2TS, 1 video track, 2 audio tracks, 2 subtitle tracks, 1:21:27, 24p /1.001
[5/18/2010 2:22:34 AM] 1: Chapters, 30 chapters
[5/18/2010 2:22:34 AM] 2: h264/AVC, 1080p24 /1.001 (16:9)
[5/18/2010 2:22:34 AM] 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
[5/18/2010 2:22:34 AM] (core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48khz)
[5/18/2010 2:22:34 AM] 4: AC3 Surround, English, 2.0 channels, 192kbps, 48khz
[5/18/2010 2:22:34 AM] 5: Subtitle (PGS), English
[5/18/2010 2:22:34 AM] 6: Subtitle (PGS), English
[5/18/2010 2:22:35 AM] Creating file "d:\Blu-Ray\temp_1\_001_chapter.txt"...
[5/18/2010 2:22:35 AM] v02 Extracting video track number 2...
[5/18/2010 2:22:35 AM] s05 Extracting subtitle track number 5...
[5/18/2010 2:22:35 AM] a03 Extracting audio track number 3...
[5/18/2010 2:22:35 AM] a04 Extracting audio track number 4...
[5/18/2010 2:22:35 AM] s06 Extracting subtitle track number 6...
[5/18/2010 2:22:35 AM] v02 Muxing video to Matroska...
[5/18/2010 2:22:35 AM] v02
[5/18/2010 2:22:35 AM] a03 Creating file "d:\Blu-Ray\temp_1\_003_audio_dtsHD_English.dtshd"...
[5/18/2010 2:22:37 AM] -a04 Creating file "d:\Blu-Ray\temp_1\_004_audio_ac3_English.ac3"...
[5/18/2010 2:22:41 AM] --s06 Creating file "d:\Blu-Ray\temp_1\_006_subtitle_English.sup"...
[5/18/2010 2:22:44 AM] ---s05 Creating file "d:\Blu-Ray\temp_1\_005_subtitle_English.sup"...
[5/18/2010 2:27:39 AM] -------------------------------------------------------------------------------
[5/18/2010 2:27:39 AM]
[5/18/2010 2:27:39 AM]
[5/18/2010 2:27:39 AM] Return code: 1
[5/18/2010 2:27:39 AM] Done.

Note: I recently did a clean install of windows, so I also reinstalled (or at least copied and setup) blu-rip. However, as far as I can tell all of my settings are the same.

M3n747
18th May 2010, 21:33
Not sure if you can test this with such a small file..
Will test this with a full movie. In a 100mb m2ts I guess the audio already has 10mb..
The audio was about 1.5 MB, it was just a simple teaser trailer. But I did try it on a full-length film (about 35 GB, 25 GB of which was the video stream). I set it to a 4200 MB (so that together with a manually pre-compressed audio stream it would fit a DVD+R), using this 2-pass profile:
--preset slow --tune film --level 4.1 --ref 5 --b-adapt 1 --aq-mode 1
The next day the output file was about 11 GB, and the 2nd pass hasn't even finished yet.

_hawk_
19th May 2010, 07:48
I'll check if there is a bug in my bitrate calculation. What bitrate was used in your 4,2GB test?

M3n747
19th May 2010, 14:26
I'll check if there is a bug in my bitrate calculation. What bitrate was used in your 4,2GB test?
I've already deleted the logs, but now I've run the encode again with the same settings and according to the log window, the bitrate was 621627:

[19.05.2010 15:21:22] Command: F:\Programy\Kompresja\BluRip\Tools\x264\x264.exe --preset slow --tune film --level 4.1 --ref 5 --b-adapt 1 --aq-mode 1 "J:\Temp\_encode.avs" --stats "J:\Temp\_stats" --pass 1 --bitrate -621627 -o NUL
[19.05.2010 15:21:27] avs [info]: 1920x800p 0:0 @ 250000/10427 fps (cfr)
[19.05.2010 15:21:27] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[19.05.2010 15:21:27] x264 [info]: cabac=1 ref=1 deblock=1:-1:-1 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=0.0:0.0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 sliced_threads=0 nr=0 decimate=1 mbaff=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=3 wpredb=1 wpredp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=abr mbtree=1 bitrate=-621627 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
[19.05.2010 15:21:27] x264 [info]: profile Main, level 4.1

One more thing while we're at it - does the target size setting in the profile options only apply to the video stream, or to the entire output file? In other words, is the audio/subtitle stream size subtracted from my 4200 MB before calculating target bitrate? Because if that's the case, then I've just realised that I should've set the target size to some 4900 MB (4200 MB for video, ~700 MB for the untouched AC3 audio later to be replaced with manually compressed 273 MB AAC audio, and 9 MB for IDX/SUB subtitles).

pirotrav
20th May 2010, 10:04
Alright so I think I have my issue narrowed down. For what ever reason, blu-rip is creating the necessary muxing files (to be muxed into mkv), but it is unable to open them for writing. I tried running blu-rip in Administrator mode, but this did not help. Any ideas on why this might be? The issue is consistent on .4.7 and .4.8. Again, it didn't crop up until i reinstalled windows 7 64bit.

Thanks,
Travis

Edit: Turns out I just needed to let blu-rip create a new settings file and re-calibrate it. Thanks anyway.

_hawk_
21st May 2010, 10:29
One more thing while we're at it - does the target size setting in the profile options only apply to the video stream, or to the entire output file? In other words, is the audio/subtitle stream size subtracted from my 4200 MB before calculating target bitrate? Because if that's the case, then I've just realised that I should've set the target size to some 4900 MB (4200 MB for video, ~700 MB for the untouched AC3 audio later to be replaced with manually compressed 273 MB AAC audio, and 9 MB for IDX/SUB subtitles).

The target size is the total size. Size of subs and audio streams are subtracted to calculate the video bitrate.
But there was a serious bug in my calculation..
It's fixed now and I will upload a new test version today.

M3n747
22nd May 2010, 00:24
But there was a serious bug in my calculation..
It's fixed now and I will upload a new test version today.
Glad I could help find it. I'll check out the new test version soon and let you know if everything is fine.

EDIT:
Sooo... How is the new test version coming? :)

M3n747
25th May 2010, 16:06
Okay, so I ran some encodes using the latest test version - and it seems that the bug is still there, only now it works in the opposite direction, so to speak.

Again, I used this 2-pass preset:
--preset slow --tune film --level 4.1 --ref 5 --b-adapt 1 --aq-mode 1

I encoded two M2TS files: a small one (video stream - 89.5 MB, audio stream - 1.3 MB) and a larger one (video - 976 MB, audio - 13.3 MB, subtitles - 1.7 MB). Here are the results:

[intended target size - actual output size - bitrate calculated by encoder]

small file:

10 MB - 2.42 MB - 156 kbps
20 MB - 2.37 MB - 156 kbps
50 MB - 3.67 MB - 874 kbps

bigger file:

200 MB - 36.9 MB - 260 kbps
500 MB - 73.5 MB - 682 kbps


Another weird thing is the fact that both encodes of the bigger file are out of sync - the audio plays correctly and is in sync with subs, but the video plays in kind of slow motion (audio is 9:41, but video is 12:08). It looks as if the video was encoded at a higher frame rate, but all the encoded files report 23.98 fps and I haven't changed anything in the advanced settings. For the record, my computer is perfectly capable of playing HD content.

I'll run some more encodes, perhaps try to manually set the frame rate to 23.98.

EDIT:
Setting frame rate manually didn't help.

_hawk_
25th May 2010, 19:14
Thank you for testing. I will add some more output about bitrate calculation. How long is your sample (in seconds)? I will try it with a full movie myself.

M3n747
25th May 2010, 20:49
The short one is 57 seconds long, the longer one is 582 seconds (9:42).

Hvam
26th May 2010, 06:36
Will someone upload a pack with all the files they is needed for Win7 x64 to use this nice gui :)

_hawk_
26th May 2010, 12:32
I should have read the x264 help more carefully..
My bitrate was in kbyte/s but it should be kbit/s
Its fixed now (I hope)..

_hawk_
26th May 2010, 12:34
Will someone upload a pack with all the files they is needed for Win7 x64 to use this nice gui :)

I'm not sure if I'm allowed to use all programs in a selfmade package.
Maybe I'll add some auto download function later..

M3n747
26th May 2010, 12:59
I ran a quick encode of the smaller file and everything looks fine - the output file is exactly 10 MB in size and the bitrate is a promising 1248 kbps. I'll run some more encodes later, when I find some free time.

EDIT:
I encoded the bigger file and there's some progress, but we're not there yet. The output file is 193 MB with the bitrate of 2048 - apparently the bitrate is calculated before the subtitles are converted from SUP to IDX/SUB, as I set the target size to 200 MB. Not a big deal, but something to consider. What worries me is that the encoded video is still too long - 12:08 instead of 9:42. I used the 'stretch by' option in MKVmerge (value 582/728 - audio stream length/encoded video length) which is a decent workaround, but it's not perfect - the streams are still slightly out of sync towards the end of the clip. Now I'm running another encode of the same file, this time having set the video length in advanced options to 582,000 milliseconds.

EDIT^2:
Nope, that didn't help either - all it achieved was making the file 238 MB, with bitrate of 2567. However, I noticed something peculiar - the file I manually muxed, using the 'stretch by' option, reports frame rate of 29.991 fps. Coincidently, so does the AC3 audio stream when opened in Media Player Classic Homecinema, after pressing CTRL-G. I attempted an encode of the same file once more, except this time I set the frame rate in the advanced options to 30 fps. However, this ended in the following error:

[26.05.2010 19:01:27] Size of audio & subtitle: 17646737 bytes (16 MB)
[26.05.2010 19:01:27] Size for video: 192068463 bytes (183 MB)
[26.05.2010 19:01:27] Length: 0 seconds
[26.05.2010 19:01:27] Bitrate: 0 kbit/s
[26.05.2010 19:01:27] Framecount: 0
[26.05.2010 19:01:27] Framerate: 30
[26.05.2010 19:01:27] Starting to encode...
[26.05.2010 19:01:27]
[26.05.2010 19:01:27] Command:
[26.05.2010 19:01:27] Encode failed!

EDIT^3:
One more thing - I tried setting the video fps to 30 in MKVmerge, but the result was the same as when I used the 'stretch by' option.

EDIT^4:
Okay, I'm officially a moron. I was just going through various settings of BluRip and I found my old AviSynth profile I used when I was playing around with an older (0.4.4) version of the program - turns out that this bigger file I've been using for test encodes was one of seven files on this BD that were apparently reporting wrong frame rate - they are really 29.970 fps, while everything else is 23.976 fps. The question remains, however, why wasn't that fact detected by the encoder. What's more, when I selected 29.967 fps in the advanced settings, the encoding failed again, showing the same error message as above. I'll try my old AviSynth profile with the AssumeFPS(29.970) command.

YukonTrooper
28th May 2010, 22:15
Is there anyway to extract the AC3 core out out a TrueHD track with BluRip?

pirotrav
30th May 2010, 10:59
Response to above:

Yes, you have to choose convert dts to ac3 in the encoding tab. However, this may just grab the dts core and convert that file to ac3. I dont believe it will grab the HD part of the track. Im not entirely sure.

@Hawk:

I think there is a bug in .4.8 in that if a file has a .pcm track, if it is not selected, the actually command that is executed still selects that track and ignores the ac3 track or other that was actually selected. I have not checked if this was an error in .4.9 test.

-Travis

senglund
30th May 2010, 17:45
Need to ask a question.

I have problems converting a movie to 720p. I have succeded before with other movies, but I may have used an earlier version of BluRip. This is what I can find in the log with relation to 720p:
End of autocrop log:

[I][2010-05-29 22:20:55] ffmsindex return code: 0
[2010-05-29 22:20:55] Indexing done!
[2010-05-29 22:20:55] Starting AutoCrop...
[2010-05-29 22:22:19]
[2010-05-29 22:22:19] Crop top: 0
[2010-05-29 22:22:19] Crop bottom: 0
[2010-05-29 22:22:19] Resize to: 1280 x 720
[2010-05-29 22:22:19]
[2010-05-29 22:22:19] Encode avs:
[2010-05-29 22:22:19]
[2010-05-29 22:22:19] LoadPlugin("D:\Program\Tools\ffmpegsource\ffms2.dll")
[2010-05-29 22:22:20] FFVideoSource("H:\Rip\Avatar\Working\_002_video.mkv")

Subtitle log:


[2010-05-29 22:22:22] Command line:
[2010-05-29 22:22:22] D:\Program\Tools\BDSup2Sub\BDSup2Sub.jar H:\Rip\xxxx\Working\_016_subtitle_Swedish.sup H:\Rip\xxxx\Working\_016_subtitle_Swedish_complete.sub /fps:23.976 /res:720
[2010-05-29 22:22:22]
[2010-05-29 22:22:22] OPTION: synchronize target framerate to 23.976fps
[2010-05-29 22:22:22] OPTION: set resolution to 720p (1280x720)

The problem is that the video is still 1080p when finished. So my question in which step is the video actually downscaled to 720p and what should it look like in the log?

YukonTrooper
31st May 2010, 21:41
Response to above:

Yes, you have to choose convert dts to ac3 in the encoding tab. However, this may just grab the dts core and convert that file to ac3. I dont believe it will grab the HD part of the track. Im not entirely sure.
But TrueHD does not contain a DTS core. TrueHD has an AC3 derivative.

pirotrav
1st June 2010, 15:17
@yukon,

Ahh my apologies. I was thinking of dts-hd. I didnt pay careful enough attention. Ill take a peek at one of my blu-rays when I get home from work later today and see if i cant find an answer to the question as posted.

I do know that your player should be able to pull out the ac3 file on the fly. However, if your looking to save space, I think the only way to deal with the issue in blu-rip currently is to choose "Use AC3, and then say 640kbit CBR which will be comparable to a core file after it has been converted and compressed. These findings are simply from a quick look however. Ill take a closer look this evening.

One last thought, try right clicking on the actual stream. As I recall hawk put some advanced features in that way. But this may not yield any results. Just a bit of info that popped into mind.

Maybe hawk can shed light on if this will be included in the future, or already is and we just don't see it?

--Travis

colinhunt
1st June 2010, 15:42
@Hawk,

1) is there any way to disable Autocrop entirely?

2) I noticed some extra materials in SD resolution and MPEG-2 encoding come out with incorrect aspect ratio. I can fix it by dropping the mkv into mkvmerge and setting video stream AR from 3/2 to 16:9, then remuxing the file, but it's an unnecessary extra step.

3) Also related to SD extras on Blu-rays: original m2ts is reported by MediaInfo as MPEG-2 16:9 720x480@23.976p with 2:3 Pulldown. MKV comes out as 720x360 with a display aspect ratio of 2.000 and a frame rate of 29.970 progressive. Audio is completely out of sync.

Almost forgot: I'm using v0.4.9 (a blurip_test). Properties for .exe say it's version 0.4.3789.5 with a size of 638 KB.

One more thing: when Autocrop finds a full frame with a crop factor of 0/0, why does it continue sampling other frames?

Oh yeah, and once I saw BluRip convert 16-bit DTS audio into 24-bit, even though I had "Use untouched audio" selected.

pirotrav
2nd June 2010, 23:59
@yukon,

I finally came across an ac3hd file while ripping my collection. What you do is as I suspected. Right click on the hd stream, then click advanced options. From there you can pick bit rates, the file type you are converting to, as well as a -core option. I did not test if the -core works on an ac3hd file. However, the option is there so feel free to test this.

--Travis

colinhunt
3rd June 2010, 19:46
One more thing about Autocrop: I use 5 samples, and pretty much every time the 5th sample is either a grey screen which Blurip does not process at all, or it's a completely black screen and Autocrop takes a long time going through it. Perhaps something should be done about this.

_hawk_
7th June 2010, 07:52
@Hawk,

1) is there any way to disable Autocrop entirely?

2) I noticed some extra materials in SD resolution and MPEG-2 encoding come out with incorrect aspect ratio. I can fix it by dropping the mkv into mkvmerge and setting video stream AR from 3/2 to 16:9, then remuxing the file, but it's an unnecessary extra step.

3) Also related to SD extras on Blu-rays: original m2ts is reported by MediaInfo as MPEG-2 16:9 720x480@23.976p with 2:3 Pulldown. MKV comes out as 720x360 with a display aspect ratio of 2.000 and a frame rate of 29.970 progressive. Audio is completely out of sync.

Almost forgot: I'm using v0.4.9 (a blurip_test). Properties for .exe say it's version 0.4.3789.5 with a size of 638 KB.

One more thing: when Autocrop finds a full frame with a crop factor of 0/0, why does it continue sampling other frames?

Oh yeah, and once I saw BluRip convert 16-bit DTS audio into 24-bit, even though I had "Use untouched audio" selected.

1) Yes, you can use advanced video options (right click on video stream on stream selection tab)

2) Will test this

3) Did you use 2pass? orf crf?

I use several frames for autocrop just to make sure..
If you have a very dark image it will report wrong crop values..

_hawk_
7th June 2010, 07:53
One more thing about Autocrop: I use 5 samples, and pretty much every time the 5th sample is either a grey screen which Blurip does not process at all, or it's a completely black screen and Autocrop takes a long time going through it. Perhaps something should be done about this.

It's always the 5th sample no matter what samples you use?
Didn't notice this yet. Do you have this if you use teh same sample 5 times?

colinhunt
7th June 2010, 12:55
1) Yes, you can use advanced video options (right click on video stream on stream selection tab)
Thanks!

3) Did you use 2pass? orf crf?
I use BluRip mainly for extra materials, and I always use CRF for that, usually --preset medium --crf 21.

I use several frames for autocrop just to make sure.. If you have a very dark image it will report wrong crop values..
OK. But think of it this way: extra materials very often contain footage from an interview (usually full 16:9 or 4:3 frame) and from the movie (AR anything from full frame to 2.40:1). When Autocrop is done sampling a few frames, BluRip uses the lowest cropping factor for encoding, correct? So, when sampling frames for cropping, why would the sampling process continue when it hits a full frame, i.e. a frame with a cropping factor of 0/0?

For example, when Autocrop takes 5 samples the results are:
#1 - 0/0 (full frame, interview footage)
#2 - 82/82 (clip from the movie)
#3 - 0/0
#4 - 82/82
#5 - xx000/xx000 (completely black frame at the very end of the file)

Since it's obvious that BluRip can't use a cropping factor of 82/82 because the file also contains full-frame material - thus forcing a cropping factor of 0/0- there's no need to continue sampling frames after sample #1.

It's always the 5th sample no matter what samples you use?
Nope, I mean it's always the last sample. If I chose 5 samples, it's the 5th one. If I chose 7 samples, it's the 7th one.

Do you have this if you use teh same sample 5 times?
Sorry, I don't follow. What do you mean?

paxton
10th June 2010, 18:12
I'm using Blurip on Cloudy with a chance of Meatballs, it's taking over 12 hours to complete. Is this normal? I'm running high priority x264 with a dual core 2.0GHz processor. Not to mention all the unmuxed files added up to around 19GB and my final MKV output came to only 3.66GB. I've used other programs that encode the main move to an MKV and the final output is roughly the same size as the original Bluray M2TS. Am I losing quality? I don't mind having a 20GB movie if it means I keep 100% quality, but if I can save 16GB and only lose about 5% then I'm happy.

colinhunt
10th June 2010, 18:53
There's something wonky about how BluRip handles PCM audio. If I select "Untouched audio", the process fails at mux stage because the PCM audio file is faulty. If BluRip is set to re-encode audio, the process fails when Aften (or whatever BluRip uses) tries to use the demuxed audio file, again because there's something wrong with the audio file.

_hawk_
10th June 2010, 22:23
I'll check this. But remember: BluRip is just a gui. All the audio stuff is done by eac3to. Maybe I have to use some otehr parameters for PCM files..
With advanced audio settings you can choose output format und set optional demux parameters. Maybe this helps.

_hawk_
10th June 2010, 22:27
I'm using Blurip on Cloudy with a chance of Meatballs, it's taking over 12 hours to complete. Is this normal? I'm running high priority x264 with a dual core 2.0GHz processor. Not to mention all the unmuxed files added up to around 19GB and my final MKV output came to only 3.66GB. I've used other programs that encode the main move to an MKV and the final output is roughly the same size as the original Bluray M2TS. Am I losing quality? I don't mind having a 20GB movie if it means I keep 100% quality, but if I can save 16GB and only lose about 5% then I'm happy.

12h is normal.
I think you used a crf profile?
2-pass maybe even more.

If size doesn't matter und you only want a mkv file just use "untouched video" option.
But in most cases crf 18 or 19 should create a file that's almost like the original. Animated movies normally get a relative small file but still have good quality.

colinhunt
10th June 2010, 23:50
I'll check this. But remember: BluRip is just a gui. All the audio stuff is done by eac3to. Maybe I have to use some otehr parameters for PCM files..
Yeah, that's exactly what I meant; some of the parameters are very likely incorrect.

pirotrav
11th June 2010, 07:05
@collin, @hawk.

Actually just the other day I ripped a movie that had pcm (Up maybe? I dont remember. The point of this post, however is that it did indeed complete. I have often times received errors, but .4.8 was able to mux untouched pcm as well as a dts or ac3 (cant remember which) into the final mkv.

However, despite this as far as I know eac3to does not officially support pcm. I know several movies I own (particularly pirates of the Caribbean) have been 'wonky' as you stated, also known as error code "x".

Just my 2 cents.