Log in

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


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

_hawk_
6th July 2010, 20:03
Didn't know that mkv supports a forced flag for subs..
I read something about a default track - this is set to the first forced subs track if enabled

ron spencer
6th July 2010, 22:56
mkvmergegui has a forced flag option...that has been what I used.

_hawk_
7th July 2010, 07:56
Ok I'll take a look at this

ron spencer
7th July 2010, 15:16
thanks alot!!!

If you are looking at stuff, you may want to see if the language is set for the audio. Could be useful for those who add multiple languages and use a player that reads this flag.

_hawk_
12th July 2010, 11:54
New testversion:
- all windows implemented
- german translation (25%)
- Fix for setting subtitle language
- Optional dir for encoded video possible
- Classic skin

cge
15th July 2010, 19:08
Hi Hawk,
So far, the last test build works very well !
Just 3 notes:
1- Original PGS subs are not copied to the subs folder even if "Copy untouched subtitles(PGS)" is true
2- If there are several subs streams with the same language, can you sort and mux them based on the file size, lowest first (often the forced stream) ?
3- Abort encoding cause an exception in Blurip, x264.exe and avs2yuv.exe processes continue to run
Regards
Christophe

lemoncurry69
17th July 2010, 21:15
First of all let me say BluRip is wonderful. It allows me to watch my Blu-Ray collection on my open-source HTPCs _and_ not have to have a huge hard drive to store the full BDs. I already have multiple HTPCs but only one stand-alone Blu-Ray player.

I have been Googling for a couple of days but haven't found the answer so I thought I would ask here. I have encountered a problem with certain titles. The resulting Matroska file is much larger than normal and the picture is scrambled and predominantly green. The temporary intermediate Matroska without sound that is generated is fine. If I remember correctly I'm using default settings on everything. I deleted my temporary files so I don't have a log file, but I can run one again if a log file will help. Also, if it helps, the titles that have come out "green" are:

Don McKay
Gamer
North By Northwest
The Wizard Of Oz

Any help would be greatly appreciated.

M3n747
18th July 2010, 11:36
I've been running some 2pass encodes recently and I've noticed that the output file is about 100 MB smaller than the target value set in the profile - e.g. I set the target size to 4480 MB, but the output file is 4380 MB (untouched audio, no subtitles). My previous encodes were also 102-109 MB too small; I had to run the encode again, accounting for the discrepancy. Any idea what might be causing this?

_hawk_
18th July 2010, 11:43
Hi Hawk,
So far, the last test build works very well !
Just 3 notes:
1- Original PGS subs are not copied to the subs folder even if "Copy untouched subtitles(PGS)" is true
2- If there are several subs streams with the same language, can you sort and mux them based on the file size, lowest first (often the forced stream) ?
3- Abort encoding cause an exception in Blurip, x264.exe and avs2yuv.exe processes continue to run
Regards
Christophe

Copy should work now. But I'll add a postfix like pgs to the filename..
You you change the order of the subtitle tracks by selecting the options on the stream selection tab. If you sort it using the filesize you might get regisseur comments or something as first track..

_hawk_
18th July 2010, 11:44
I've been running some 2pass encodes recently and I've noticed that the output file is about 100 MB smaller than the target value set in the profile - e.g. I set the target size to 4480 MB, but the output file is 4380 MB (untouched audio, no subtitles). My previous encodes were also 102-109 MB too small; I had to run the encode again, accounting for the discrepancy. Any idea what might be causing this?

I'll check my calculation again. Atm I'm not using any overhead - but if I would the bitrate should be even smaller..
I'm not sure how exact the x264 calculation is..

_hawk_
18th July 2010, 11:48
First of all let me say BluRip is wonderful. It allows me to watch my Blu-Ray collection on my open-source HTPCs _and_ not have to have a huge hard drive to store the full BDs. I already have multiple HTPCs but only one stand-alone Blu-Ray player.


Thanks :) I made a complete new GUI - I think it's even better now.


I have been Googling for a couple of days but haven't found the answer so I thought I would ask here. I have encountered a problem with certain titles. The resulting Matroska file is much larger than normal and the picture is scrambled and predominantly green. The temporary intermediate Matroska without sound that is generated is fine. If I remember correctly I'm using default settings on everything. I deleted my temporary files so I don't have a log file, but I can run one again if a log file will help. Also, if it helps, the titles that have come out "green" are:

Don McKay
Gamer
North By Northwest
The Wizard Of Oz

Any help would be greatly appreciated.

First make sure you have latest haali splitter.
What input method do you use? There might be problems when you have VC-1 input.
If you used directshow try ffmepgsrc or vice versa.

DGMultiSource might be the best options - but it's not free (If you have a NVIDIA card I think it's worth it) - it's something about 10$

Guest
18th July 2010, 12:52
@_hawk_

There seem to be duplicate threads for your tool. I'd like to merge them into one. Any objection?

cge
18th July 2010, 13:59
Hi,
Just for your information, I've tried to update x264.exe to the last revision 1677 but encoding fails now !
I don't know if it's a bug in x264.exe or a syntax change in command line but this is not a Blurip issue since it works fine with the previous 64bit revision 1659

Log:
[18/07/2010 14:51:54] Starting to encode...
[18/07/2010 14:51:54]
[18/07/2010 14:51:54] Command: cmd.exe /c ""D:\blurip\Tools\avs2yuv\avs2yuv.exe" -raw "D:\blurip\Temp\blurip_encode.avs" -o - | "D:\blurip\Tools\x264 (x64)\x264.exe" --preset slow --tune film --crf 20.0 --level 4.1 --ref 5 --no-fast-pskip --b-adapt 1 --fps 23.976 -o "D:\blurip\Temp\blurip_video.mkv" - 1920x800"
[18/07/2010 14:51:55] raw [error]: raw input requires a resolution.
[18/07/2010 14:51:55] x264 [error]: could not open input file `-'
[18/07/2010 14:51:56] D:\blurip\Temp\blurip_encode.avs: 1920x800, 10000000/417083 fps, 335 frames
[18/07/2010 14:51:56] Output error: wrote only 1748311 of 2304000 bytes
[18/07/2010 14:51:56]
[18/07/2010 14:51:56]
[18/07/2010 14:51:56] Return code: -1
[18/07/2010 14:51:56] Done.
[18/07/2010 14:51:56] Encode failed!

Best regards
Christophe

cge
18th July 2010, 14:07
Copy should work now. But I'll add a postfix like pgs to the filename..
I'm using the last test build on the 12th of July and the original PGS are not copied, perhaps you want to say that it's already fixed but not released yet ?

You can change the order of the subtitle tracks by selecting the options on the stream selection tab. If you sort it using the filesize you might get regisseur comments or something as first track..
Options are useful when the forced track is well identified (forced flag set) but some time it's just another smaller PGS track, and there is no way to handle that situation, can I suggest to add an option "Sort by filesize" as third criteria?
1- Sort by language
2- Forced track first if exists
3- Sort by filesize

Regards
Christophe

lemoncurry69
18th July 2010, 18:06
Thank you for the rapid response. I will make sure everything is up to date, try some different settings and report back.

_hawk_
18th July 2010, 20:23
@_hawk_

There seem to be duplicate threads for your tool. I'd like to merge them into one. Any objection?

Yep, one thread is enough.
I didn't know that there already was one when I opened this one.
You can remove this one and use the one started by Multitask.

_hawk_
18th July 2010, 20:29
I'm using the last test build on the 12th of July and the original PGS are not copied, perhaps you want to say that it's already fixed but not released yet ?


Options are useful when the forced track is well identified (forced flag set) but some time it's just another smaller PGS track, and there is no way to handle that situation, can I suggest to add an option "Sort by filesize" as third criteria?
1- Sort by language
2- Forced track first if exists
3- Sort by filesize

Regards
Christophe

I'll think about adding an option to sort subs by size..
I will add an option to edit the demuxed stream list later (change order, edit/delete). So if you don't use full automatic encode you can change the order there.
Will check the new x264 settings, too.

Guest
18th July 2010, 21:29
Threads merged. This is the place to be for BluRip!

M3n747
18th July 2010, 23:48
Just for your information, I've tried to update x264.exe to the last revision 1677 but encoding fails now !
I don't know if it's a bug in x264.exe or a syntax change in command line but this is not a Blurip issue since it works fine with the previous 64bit revision 1659

I checked the version of x264.exe I'm using (downloaded in one archive with BluRip v0.4.4), it's r1416kMod. Don't quote me on that, but could it be that BluRip requires the modified version and has some issues with the regular one?

_hawk_
19th July 2010, 08:28
I checked the version of x264.exe I'm using (downloaded in one archive with BluRip v0.4.4), it's r1416kMod. Don't quote me on that, but could it be that BluRip requires the modified version and has some issues with the regular one?

No, you don't need a modded x264 version. I don't provide packages that include x264 etc.
I think that some parameters changed in latest x264. Should be no problem to fix :)

_hawk_
20th July 2010, 08:38
v0.5.0 (2010/07/20)

- Complete GUI redesign
- Skin support
- Multilanguage support (english + german)
- Support for PGS subtitles
- Lots of minor bugfixes
- Optional path for encoded video
- Shutdown possible when not using queue
- Prevent standby when running
- Process step selection
- Preferred language selection for audio and subtitles
- Option to set forced flag in .mkv for first forced track
- Compatible with latest 64-bit x264 build
- Switched to .NET 4.0

M3n747
20th July 2010, 12:51
Is .NET 4.0 really necessary? I mean, installing +500 MB of bloatware just to be able to use a 3 MB program every now and then is something Creative or HP would force you to do. ;)

_hawk_
20th July 2010, 12:59
Well .NET 4.0 client profile is 38,8mb (+ ~3mb for german language pack) - .net 2.0 sp2 is 333mb..
I guess more and more programs will switch to .net 4 sooner or later. Wpf really has potential.

M3n747
20th July 2010, 14:05
It's 369 MB for 4.0 alone and 639 MB including previous versions in my case. :) But okay, I installed it and I'll check out the new BluRip. I'll let you know if I find any issues.

EDIT:

Some minor quibbles:

- If you check the "Snap to main window" option, the extra windows will follow the main one, but they won't properly snap to it.
- If you enable an extra window in the View menu and then close it using the [X] button on that window, the check mark will remain in the View menu - you'll have to select it twice to re-open that window.
- Changing the language resets the window size and position, which is rather weird.
- When editing an AviSynth profile, the spacing between lines is too big.
- In Settings -> Advanced Options -> Stream Selection -> Preferred audio/subtitle languages -> Add, "English" should be capitalised. ;)
- In the same place, after filling in the "Language (in English)" field and hitting Tab, the cursor moves to the OK button instead of the next field. Also, hitting Tab in the "Short language tag" field moves the cursor to the first field, instead of the OK button.
- If you hit Cancel in the above window, an unnecessary empty "new language - -" option will be created.
- What happened to the "Use untouched audio" option?


A bigger issue: autocrop doesn't work, and I tried it on the same film I successfully compressed with 0.4.9. Indexing works fine, but then I get this:

[20.07.2010 15:58:58] Starting AutoCrop...
[20.07.2010 15:59:08] Exception: DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource: couldn't open file J:\Temp\_002_video.mkv:
Operacja nie powiodła się z powodu błędu certyfikacji."

Audio returned: "DirectShowSource: couldn't open file J:\Temp\_002_video.mkv:
Operacja nie powiodła się z powodu błędu certyfikacji."

(J:\Temp\_cropTemp.avs, line 1)

Basically it says "Operation failed due to certification error". I have no idea what it's supposed to mean. Now I'm running autocrop with 0.4.9 and it works just fine.

lemoncurry69
21st July 2010, 03:23
I tried switching directshow and ffmepgsrc with no luck. I have not tried dgmultisource. I did find that if I keep 1080p instead of resizing to 720p they come out fine. This is okay (at least for me) because it's just a few titles and when it comes to disk space a 13GB Matroska file is still better than a 40GB BD image.

I am curious though to see if anyone can reproduce the issue I've encountered. If anyone has these titles and cares to try it they are:

Don McKay
Gamer
North By Northwest
The Wizard Of Oz

_hawk_
21st July 2010, 07:44
Some minor quibbles:

Thanks for reporting. Will try to fix ;)

Update:

- If you check the "Snap to main window" option, the extra windows will follow the main one, but they won't properly snap to it.

Yep it's no "real" docking. Won't change this for now.

(Fixed) - If you enable an extra window in the View menu and then close it using the [X] button on that window, the check mark will remain in the View menu - you'll have to select it twice to re-open that window.

(Fixed )- Changing the language resets the window size and position, which is rather weird.

(Fixed) - When editing an AviSynth profile, the spacing between lines is too big.

(Fixed) - In Settings -> Advanced Options -> Stream Selection -> Preferred audio/subtitle languages -> Add, "English" should be capitalised.

(Fixed) - In the same place, after filling in the "Language (in English)" field and hitting Tab, the cursor moves to the OK button instead of the next field. Also, hitting Tab in the "Short language tag" field moves the cursor to the first field, instead of the OK button.

(Fixed) - If you hit Cancel in the above window, an unnecessary empty "new language - -" option will be created.

- What happened to the "Use untouched audio" option?

It's on the 'Settings' tab.

A bigger issue: autocrop doesn't work, and I tried it on the same film I successfully compressed with 0.4.9. Indexing works fine, but then I get this:

I get this error when using AutoCrop with vc-1 video using DirectShow. Try ffmpegsrc. (It's the same in older versions)

_hawk_
21st July 2010, 07:46
I tried switching directshow and ffmepgsrc with no luck. I have not tried dgmultisource. I did find that if I keep 1080p instead of resizing to 720p they come out fine. This is okay (at least for me) because it's just a few titles and when it comes to disk space a 13GB Matroska file is still better than a 40GB BD image.

I am curious though to see if anyone can reproduce the issue I've encountered. If anyone has these titles and cares to try it they are:

Don McKay
Gamer
North By Northwest
The Wizard Of Oz

Did you use untouched video when using 1080p? Did the AutoCrop window came up? Can you check what video type the discs have?
Will check if there is a problem with the resize code.

M3n747
21st July 2010, 14:11
It's on the 'Settings' tab.
Oh. I need a new pair of glasses. >_>

I get this error when using AutoCrop with vc-1 video using DirectShow. Try ffmpegsrc. (It's the same in older versions)
I switched to FFVideoSource and it works fine now. Does this mean it's an issue with DirectShow (or AviSynth?) and not BluRip?

_hawk_
21st July 2010, 14:15
I switched to FFVideoSource and it works fine now. Does this mean it's an issue with DirectShow (or AviSynth?) and not BluRip?

There are problems to open vc-1 with directshow under windows 7. Not sure if it can be fixed with filtertweaker..

Atak_Snajpera
21st July 2010, 14:19
There are problems to open vc-1 with directshow under windows 7.
what problems? I haven't had any problems with vc-1 in my gui (DirectShowSource)

_hawk_
21st July 2010, 14:24
When I try to open a vc-1 video (inside a mkv) under Windows 7 with DirectShowSource I always get this AviSynth exception:

DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource : Timeout waiting for graph to start."

Audio returned: "DirectShowSource: RenderFile, the filter graph manager won't talk to me"

Atak_Snajpera
21st July 2010, 14:25
Ripbot264 will fix that.

_hawk_
22nd July 2010, 07:59
So you change the windows 7 codec assignment for vc-1 to fix that?

cge
22nd July 2010, 17:54
Hi,
Just for your info, I'm using the Shark codec pack and I have no problem to encode VC-1 using DirectShowSource method.
The only thing I've noticed is that Blurip use the 32 bit ffdshow/Splitter even under a x64 os, expected ?

Another minor issue, forced subs track are not the first one even if the option is set (Here the log (http://dl.free.fr/ftp2oq99F))

Christophe

_hawk_
23rd July 2010, 08:10
I don't change the order of the subtitle tracks. But the default/forced flag should be set correctly. Maybe I'll try to change the order, too.

Most of the tools BluRip uses are 32bit. I also use the 64-bit x264 with calling a 32bit wrapper.

crybbio
28th July 2010, 11:48
Hi,
someone could explain me how to use all that options about subtitles? I would like to include in my video only the forced sub in my language or, if possible, merging it with the video permanently.
Thanks

_hawk_
28th July 2010, 11:57
If you only want the forced ones, select 'Mux only forced subtitle'
You can chosse between sub/idx or pgs format. Pgs is the same like on bluray but not supported by all players yet.
If you select 'Mux only first/normal subtitle' only the first normal one (and the first forced if any) of a language is muxed (even if you have 3 german subtitle tracks for example).

cge
28th July 2010, 20:21
If you only want the forced ones, select 'Mux only forced subtitle'
You can chosse between sub/idx or pgs format. Pgs is the same like on bluray but not supported by all players yet.
If you select 'Mux only first/normal subtitle' only the first normal one (and the first forced if any) of a language is muxed (even if you have 3 german subtitle tracks for example).

Hi,
You should add that only forced strings from the normal subs track are correctly/automatically handled, if forced subs are in a separate stream then you'll need to handle them manually since the tool used to convert subs doesn't detect forced stream but only forced text inside a stream.
Christophe

_hawk_
29th July 2010, 08:11
I don't know if m2ts has a forced flag for streams. I thought that only the single subtitles have a forced flag or not. Can anyone confirm this?

_hawk_
5th August 2010, 07:35
Uploaded a beta of the next version:

v0.5.1

- Some minor GUI fixes (don't reset position on language change etc)
- Option to disable mkvmerge header compression (for audio + video tracks)
- Resize method selection
- Edit functions for demuxed stream list
- Option to edit AutoCrop values (crop, addborders, resize) by hand
- Lots of minor bugfixes
- Show expected size/bitrate in mainwindow when 2-pass profile selected

Please test & report

levi
7th August 2010, 21:10
Thanks for your hard work on this!

I checked 'use untouched audio' under settings - audio settings, but in the logs I found:

[8/7/2010 3:04:15 PM] 3: AC3, English, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
[8/7/2010 3:04:15 PM] Creating file "D:\TEMP\bluerip\_001_chapter.txt"...
[8/7/2010 3:04:15 PM] a03 Extracting audio track number 3...
[8/7/2010 3:04:15 PM] a03 Removing AC3 dialog normalization...
[8/7/2010 3:04:15 PM] v02 Extracting video track number 2...
[8/7/2010 3:04:15 PM] v02 Muxing video to Matroska...
[8/7/2010 3:04:16 PM] a03 Creating file "D:\TEMP\bluerip\_003_audio_ac3_English.ac3"...

What option can I choose to use the audio as it is - not doing anything to it at all?

Also, would you consider adding horizontal & vertical scroll bars to the manual crop window? It would be nice if the manual crop window displayed the recommend values from autocrop as well as the final resolution resulting from any manual changes made. When I put in 1280 x 720 for resize & check the resize box, I would expect the preview window to update, but it doesn't seem too change the resolution at all?

dvd_maniac
8th August 2010, 03:02
Just downloaded the latest and I'm getting the following error:
To run this application, you first must install one of the following versiond of the .NET Framework:
v4.0.30319
Contact your application publisher for instructions about obtaining the appropriate version of the .NET Framework.

I already have that exact version installed. I even tried to reinstall it.

ajamils
8th August 2010, 21:59
Is there any manual or help file that describes what different video encoding profiles mean ?

Just tried converting my first video. According to logs, everything went fine but I did not get an output file. I see all the individual files in temp folders but there is nothing in the output directory (log is attached).

_hawk_
9th August 2010, 08:10
Thanks for your hard work on this!

I checked 'use untouched audio' under settings - audio settings, but in the logs I found:
What option can I choose to use the audio as it is - not doing anything to it at all?



After some search I found this: (http://forum.doom9.org/archive/index.php/t-141919.html)

"Dialog Norm. is applied during playing back of the audio track. That is done by the decoder. Info about how much attenuation to be applied is stored into the track.

When we wanna make a new audio track, we want to keep audio data untouched. This means we don't want Dialog Norm. to be applied during decoding."

So I think this message is ok. The track is not reencoded.


Also, would you consider adding horizontal & vertical scroll bars to the manual crop window? It would be nice if the manual crop window displayed the recommend values from autocrop as well as the final resolution resulting from any manual changes made. When I put in 1280 x 720 for resize & check the resize box, I would expect the preview window to update, but it doesn't seem too change the resolution at all?

The resolution for the autocrop window is always the same as the input res. It is only used to adjust the crop values.
I'll think about adding a preview for the final video size.

_hawk_
9th August 2010, 08:12
Just downloaded the latest and I'm getting the following error:
To run this application, you first must install one of the following versiond of the .NET Framework:
v4.0.30319
Contact your application publisher for instructions about obtaining the appropriate version of the .NET Framework.

I already have that exact version installed. I even tried to reinstall it.

Hmm don't know why it doesn't work for you. But .NET 4.0 client profile is the only thing you will need (maybe the Visual C++ 2010 runtime, too - but it should start without it). Do you have any other .NET 4 apps that works?

_hawk_
9th August 2010, 08:13
Is there any manual or help file that describes what different video encoding profiles mean ?

Just tried converting my first video. According to logs, everything went fine but I did not get an output file. I see all the individual files in temp folders but there is nothing in the output directory (log is attached).

I'll check the log when it's approved. If there is a movie title included better send them as pm.

7ekno
10th August 2010, 12:14
Wow! This cool tool is so close to perfect it's not funny!

Just a quick question, is there anyway to "hardcode" forced/normal subtitles with BluRip? It works awesomely with softcoded forced subs, would be great if there was a way to do the same with hardcoded!

Also just wondering if a better status bar was in the works? It's a bit disheartening not knowing when the job will be complete (aka hours or days!) ...

7ek

_hawk_
10th August 2010, 12:41
I will add an option to hardcode subs (think it was done with vobsub/vsfilter?)

A good progress bar will be some more complicated..
It is possible to get a percent value for the encode and the mux step. I could use this and show the x264 eta.

pr0phet
10th August 2010, 20:48
Hi all,

This is my first post, I joined the forums to say thankyou _hawk_ for such an awesome program.

It turns out i need some help now too...........

I have successfully used BluRip to rip 2 Blurays on my 32bit machine. Rip and encode took 12 hours approx - is this normal?

I've now moved onto my 64bit HTPC with gt240 so i can take advantage of DCdecNV.

I have the same problem as below:


Is there any manual or help file that describes what different video encoding profiles mean ?

Just tried converting my first video. According to logs, everything went fine but I did not get an output file. I see all the individual files in temp folders but there is nothing in the output directory (log is attached).

I can't get onto my HTPC right now as my wife has taken control :)

I will PM you the logs when i can _hawk_ if that's ok?

Thanks again hawk

Thanks in advance for any help

Kind regards

P

_hawk_
10th August 2010, 21:28
This is my first post, I joined the forums to say thankyou _hawk_ for such an awesome program.


Thank you :)


I have successfully used BluRip to rip 2 Blurays on my 32bit machine. Rip and encode took 12 hours approx - is this normal?


Yes this is normal. x264 with good quality takes time.
On my system (~3ghz quadcore) I get something about 10fps for 1080p encodes..


I will PM you the logs when i can _hawk_ if that's ok?


Yep it's ok.
If you used the advanced audio options and get an error like "can't mux empty filename" from mkvmerge - this is fixed in svn rev 115 (I uploaded this one today)
Just copy over your settings.xml open the demuxedStreamlist.xml and hit "Only mux".