Discussion of the HandBrake command line interface (CLI)
An Activity Log
for support requests. Please read How-to get an activity log?
for details on how and why this should be provided.
- Posts: 2
- Joined: Sat Sep 08, 2007 11:24 am
I have encoded different personal DVD's with the CLI interface of handbrake in order to embed the 3 or more languages of the video. When I open the mp4 file in quicktime I've got the following error message: "An invalid sample description was found in the movie". But I can still open the movie with VLC without any problem. Do you know what's going on?
I use the latest version of the CLI and my command looks like this:
Code: Select all
/Applications/Handbrake/HandBrakeCLI -v -i /Volumes/External/DVDs/MANHATTAN/VIDEO_TS --title 1 -o /Volumes/External/Movies/Manhattan.mp4 -f mp4 -e x264 -b 1500 -2 -E ac3 -B 160 -a 1 -a 2 -a 3 -a 4 -a 5 -R 48 -p
Thanks for your help.
- Veteran User
- Posts: 4805
- Joined: Wed Dec 13, 2006 1:38 am
Try setting the audio tracks correctly.
- Regular User
- Posts: 146
- Joined: Wed Dec 20, 2006 4:17 am
jbrjake wrote:Try setting the audio tracks correctly.
Wow, you of all people missed it??
AC3 is not a valid audio codec for mp4 files!
I'm surprised VLC plays the file. You have to use AAC audio with mp4 file format. And as jbrjake said in order to have all the audio tracks you need to specify one -a with them separated by non-numeric digits.
- Posts: 7
- Joined: Wed Dec 12, 2007 4:09 am
Where I tried to encode with ac3 - that caused quicktime to fail noting the movie could not be opened...
Switching to FAAC worked!
- Posts: 1
- Joined: Sun Mar 09, 2008 3:04 pm
I started to have this problem with 0.9.2 after encoding AAC+AC3 audio. Working too late at night I did not realize that handbrake had not reset the extension from mp4 to m4v. Changing this after the fact works and the files that would only play in VLC now work in quicktime player.