Howto use PS3 presets with Dolby Digital

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
eulaersivan
Posts: 3
Joined: Wed May 14, 2008 7:25 pm

Howto use PS3 presets with Dolby Digital

Post by eulaersivan » Wed May 14, 2008 7:33 pm

Which CLI command line should I use when I would like to convert vob files to an mp4 that can be used on a PS3 but that includes Dolby Digital sound?

Best regards,

Ivan

nightstrm
Veteran User
Posts: 1887
Joined: Fri Mar 23, 2007 5:43 am

Re: Howto use PS3 presets with Dolby Digital

Post by nightstrm » Wed May 14, 2008 8:03 pm

I haven't tried, but I don't think MP4 files w/ AC3 are playable on a PS3... I think you have to convert them to AAC 5.1.

eulaersivan
Posts: 3
Joined: Wed May 14, 2008 7:25 pm

Re: Howto use PS3 presets with Dolby Digital

Post by eulaersivan » Wed May 14, 2008 8:13 pm

What would be the CLI command line in that case (aac 5.1)?

greminn
Posts: 2
Joined: Tue Jun 10, 2008 4:02 am

Re: Howto use PS3 presets with Dolby Digital

Post by greminn » Tue Jun 10, 2008 10:18 am

Would it be "-aencoder aac+ac3"? Have i got that right?

Simon

Cavalicious
Moderator
Posts: 1804
Joined: Mon Mar 26, 2007 12:07 am

Re: Howto use PS3 presets with Dolby Digital

Post by Cavalicious » Tue Jun 10, 2008 1:51 pm

--help

jjwatmyself
Posts: 14
Joined: Thu Dec 18, 2008 5:27 pm

Re: Howto use PS3 presets with Dolby Digital

Post by jjwatmyself » Tue Jan 06, 2009 5:13 pm

I strongly reccomend doing AC3 passthrough to a mkv and then muxing to m2ts. This will play flawlessly on the PS3 natively giving you the original Dolby Digital 5.1 for audio and AVC (H.264) for video. If you use AAC there are issues over Toslink with 5.1 sound due to bandwidth constraints that can only be resolved with hdmi to an amp.

Here's a post that describes my current automated process in Vista.
jjwatmyself wrote:I have be doing this in Vista with scripting and most of this will easily translate to a shell script. There are 2 scripts... a parent and a sub-script. This process will convert to a .m2ts with 1250 bitrate H.264 and AC3 pass-through. It isn't perfected but I am using it on a large quantity of rips with success. The translation to UNIX is very simple, so I don't think you need my help on that. I think the advantage to this is that you are able to control the movies individually. Global options are stored in convertmovies.cmd and movie specific options are specified by the variable %extra%. This is useful when the endode will vary from one movie to another, ex: which title. I have lots of UNIX scripting experience, so let me know if anyone needs help UNIXifying it.

masterscript.cmd

Code: Select all

@echo off
cd /d E:\Videos\H.264

set extra=-t 1
set indir="F:\Movies\MEMORY"
set movie=Memory - DVD
call convertmovies.cmd > "Memory.log" 2>&1

set extra=-L
set indir="F:\Movies\HarryPotter"
set movie=Harry Potter 4 - And The Goblet Of Fire - DVD
call convertmovies.cmd > "Harry Potter 4 - And The Goblet Of Fire.log" 2>&1
convertmovies.cmd

Code: Select all

set basename=E:\Videos\H.264\%movie%
set outfile="%basename%.mkv"
set chapfile="%basename%.csv"
set metafile="%basename%.meta"
set outfile2="%basename%.m2ts"

echo indir=%indir%
echo outfile=%outfile%
echo chapfile=%chapfile%
echo metafile=%metafile%
echo outfile2=%outfile2%
echo extra=%extra%
echo **********************************

echo Using %indir% to create %outfile%

"C:\Program Files\HandBrake\HandBrakeCLI.exe" -i %indir% -o %outfile% --crop 0:0:0:0 -e x264 --decomb -E ac3 -p -b 1250 -2 -T -x level=41:me=umh -U -F -v %extra%
echo **********************************

echo Creating %metafile%
echo MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr  --vbv-len=500 > %metafile%
echo V_MPEG4/ISO/AVC, %outfile%, insertSEI, contSPS, track=1, lang=eng >> %metafile%
echo A_AC3, %outfile%, track=2, lang=eng >> %metafile%
echo **********************************
echo Creating %outfile2%
"C:\Program Files\tsMuxeR\tsMuxeR.exe" %metafile% %outfile2%
echo **********************************
del /q %outfile%
del /q %metafile%

Post Reply