Recode BlueRay - M2Ts - On OSX Apple Mac Book Pro - For Apple TV, iPod, or Whatever You Want
Ok, I have seen tons of people asking how to do this. I came up with a method that seems to work rather well. I will be working on ways to reduce the cpu time and a script to wrap it all up and make it easier.
Requirements:
1. FFMPEG (open source)
2. MENCODER (open source)
3. MPLAYER (open source)
4. Visual Hub (Pay for it)
Visual Hub is a great application, I highly recommend it. Since it uses FFMPEG I could remove this step and reduce complexity and time greatly, however, I have not had the time or inclination to do that yet. I will keep you posted.
Before you post some newb comment like… but Bit Boy, my version of x does not work for y reason, make sure you have the latest svn snapshots. If necessary, I will post instructions for the extreme newbs, but usually they can be found on the project homepage for these applications. (it is quite easy) So please do a little research if you must before you ask me to do your work for you.
Lastly, these instructions do not include those needed to extract encrypted data from commercial BlueRay discs. This is illegal in many countries and since I dont condone file sharing or illegal infringement on the rights of the authors, I wont post them here. If you are hell bent on ripping a commercial BlueRay disc, I am sure you can find directions on how to decrypt the files for just about every platform all over the Internet.
Step 1: Extract the audio from the m2ts file to output.wav using mplayer
mplayer -vc null -vo null -ao pcm:fast:waveheader:file=output.wav xxx.m2ts
Step 2: Extract the video from the m2ts file to output.avi using ffmpeg
ffmpeg -i xxx.m2ts -vcodec mpeg2video -sameq -s 1920×1080 -r 23.976 -an -f avi -copyts -benchmark output.avi
Step 3: Create a final .avi file by merging the audio and video using mencoder
mencoder output.avi -o final.avi -ovc copy -oac copy -audiofile output.wav
Step 4: Transcode the final.avi file to whichever format you want using Visual Hub. On an Apple TV, that would be the AppleTV 5.1 + 2.0 preset.
The total time for this process is about 3 times the length of the original movie on a 2.5 Ghz Macbook Pro. When I get some more time, I will go ahead and reduce the number of steps and possibly eliminate the need for Visual Hub. Please make sure that you use a licensed copy of Visual Hub. Programmers are able to do what they do because people pay for software. Dont steal movies and really really really dont steal software. It pisses off programmers like me and makes us not want to help newbs like you. Just fork over the cash and look at as the price you pay for the convenience of being able to use your media on just about any device you want.
And if you are here to just learn how to steal media and software from the authors… GO FUCK YOURSELF! YOU PUSSY ASS PILE OF SHIT…
Strong language to follow…
Tags: apple tv, appletv, blue ray, blueray, ipod, m2ts, movie, psp, recode, transcode