View Full Version : blu ray encoder
neandertal
21st August 2008, 22:26
hello,
would like to reencode a bluray movie (.m2ts )of 20 gigas to make the same bluray .m2ts but with only 8 gigas.
do you know an easy way to reencode it ? i have no problem with the audio, but i dont know how to reencode the video.i tried with mediacoder but the result is stuttering..
dat720
21st August 2008, 22:58
use mencoder......
mencoder in.m2ts -ovc x264 -x264encopts crf=21:frameref=3:bframes=3:b_pyramid:direct_pred=auto:weight_b:partitions=all:8x8dct:me=umh:mixed_refs:brdo:bime:trellis=1:nopsnr:nossim:subq=6:level_idc=41:threads=4 -nosound -of rawvideo -o out.x264
Then take the resulting raw video stream and mux it back to a m2ts with tsRemuxR.
I have just tested this process and got Meet the Robinsons down to 4gb and muxed it to a Blu Ray structure and my PS3 played it back perfectly.
neandertal
22nd August 2008, 16:29
thanks for your reply but i m not familiar at all with mencoder.do you know where i can find mencoder , how to install it and how it works ? i know it a a lot a questions but a newbie like me it s a little bit difficult
HymnToLife
22nd August 2008, 16:44
You can download mencoder here (http://oss.netfarm.it/mplayer-win32.php). It's a command-line tool, so you'll have to be familiar with that. Another option is to use e.g. MeGUI.
neandertal
22nd August 2008, 17:33
thanks for your answer.i installed megui,and if i want a m2ts file i have to choose codec x264 and which file format ?i have the choice
between mp4 mkv ( i dont want wkv ) et rawavc
thanks in advance for your help
HymnToLife
22nd August 2008, 17:40
MeGUI needs an AviSynth script as input, so you'll have to instavv AviSynth and create a script for your M2TS (most likely, a simple DirectShowSource will suffice). Then you load the AVS script, choose the Blu-ray profile and encode using the raw mode. It will give you a raw AVC stream in output, which you will have to mux back into a M2TS using tsRemuxR, as dat720 said.
neandertal
22nd August 2008, 18:48
ok thanks .do you know any tutorial for megui or mencoder ?
neandertal
22nd August 2008, 20:21
i tried but did not succeed to convert my .m2ts to m2ts with the explanations above.is somebody knows a simple way to convert a m2ts to m2ts plse let me know.
thanks anyway
dat720
23rd August 2008, 01:04
Encode the video stream with the mencoder command i posted above, then use tsRemuxeR to mux the video and audio track....
Audio must be either WAV AC3 or MP3, no other formats work in m2ts containers on the PS3
That process works 100% and is very easy......
I have 8 Blu Ray/HD DVD m2ts rips that i have created over the last week and all of them play perfectly on the PS3
neandertal
23rd August 2008, 06:29
thanks for your answer da720.i m sure it s very simple but the problem is i never used a soft as mencoder with command line : i dont know where to put the command line i dont know where to enter the m2ts file.
HymnToLife
23rd August 2008, 11:20
Okay, here's an example. Let's say I have mencoder in C:\software\mencoder, and my m2ts file is in C:\vids\foo.m2ts.
First, open a command line window : Start > Run > cmd
Then I do :
cd c:\vids
C:\software\mencoder\mencoder.exe foo.m2ts -ovc x264 -x264encopts crf=21:frameref=3:bframes=3:b_pyramid:direct_pred=auto:weight_b:partitions=all:8x8dct:me=umh:mixed_refs:brdo:bime:trellis=1:nopsnr:nossim:subq=6:level_idc=41:threads=4 -nosound -of rawvideo -o bar.264
So you have to first cd to the dir where your m2ts is, and then type the full path to mencoder (hint: you can use Tab to auto-complete the pathnames).
neandertal
23rd August 2008, 11:55
hello hymn to life,
i exactly did what you say : but when i do start/run/cmd and when i type cd c:\vids ( i created vids to do exactly similar than your example) it says windows doesnot find cd and when i type the long command line nothing happens...
HymnToLife
23rd August 2008, 12:18
That's very weird... Could you please take a screenshot of your cmd window, or copy/paste the text in it ?
(Here (http://www.pcentraide.com/tutoriel/adresse-ip/connaitre-son-ip.png)'s how to copy text from a cmd Window)
neandertal
23rd August 2008, 13:03
hello dat720,
i tried again and finally it works and it starts encoding !! there is an error msg in the cmd windows "could not open required directshow codec vc help1dmod.dll you need to upgrade/install binary codec package vdecoder init failed
opening video decoder:[ffmpeg] ffmpeg s libavcodec codec family selected video codec : [ffvc1]vfm ffmpeg<ffmpeg WVC1 >
i don t know if it is important ?
i waiting for the result...
thanks again for your help
dat720
24th August 2008, 07:35
Search google for wvc1dmod.dll, and place this in the same dir as mencoder.
neandertal
24th August 2008, 11:54
thanks dat720 for your help.i have now the result and it s perfect i have my m2ts with 4.2 gb without any stutering.
a last question :if i want the same .m2ts but with 7.5 gb what do i have to change in the script ?
HymnToLife
24th August 2008, 12:31
You need to set the quality (crf=21) to a lower value (e.g. crf=16 or something): lower crf means higher quality, and thus bigger file. Using this mode, you can't know precisely what the resulting file size will be, though, so you'll have to experiment, or use a two-pass target bitrate mode.
neandertal
24th August 2008, 20:56
ok thanks hymn to life.
dat720
24th August 2008, 22:51
I usually try 21, if the file turns out less than 4gb i'll redo it with 18, seems to work well.
As a rough guide do 90 minute movies at 18 and 120 minute movies at 21 or 22 or you won't keep them under 8gb
neandertal
27th August 2008, 14:32
ok thanks for these details.
wakebrder
3rd September 2008, 20:55
I would just use Ripbot264.
It will output a bluray structure, you will then be able to find your downsized .m2ts file in the STREAM folder. MUCH easier to use than command line tools. IMO.
http://www.mediafire.com/?doinhllyvmw
neandertal
4th September 2008, 16:45
thanks for this soft.i will try it.i m not familiar at all with command line, but this command line described above is really simple : i even succeeded.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.