Log in

View Full Version : Trying to create Video iPod compatible videos, no audio :(


Adz
28th March 2006, 22:25
i'm using ffmpeg, windows build, to create mp4 files.

I think my settings are correct, and it produces an mp4 file with video and audio.

I'm using:

ffmpeg.exe -i input.mpg -vcodec xvid -b 150 -ar 48000 -acodec aac -ab 96 -s 320x240 -g 150 -qmin 10 -qmax 50 output.mp4

I can play the resulting file no problem with MPClassic.

Problem I have is once its on a video ipod, there is no audio.

I have tried bitrates from 32kbps to 128kbps, mono and stereo, different sample rates. It just doesnt want to know.

I've used mp4box to remux, this doesnt help either.

tried various different source files too, although this shouldnt matter.

The Video plays as expected.

Any help of this appreciated :)

siddharthagandhi
28th March 2006, 22:33
there are plenty of free ipod compatible encoders out there

just get one of them

i suggest veodora's one (google it)

Adz
28th March 2006, 22:35
needs to be command line, as I have to automate this on a windows web server :)

smok3
28th March 2006, 22:42
Adz, maybe some sort of wrong mpeg flag happens somewhere on the path, for fun you could try faac with something like, 4 example:

faac -b 128 --mpeg-vers 4 input.wav

and then mux that with mp4box, like:

mp4box -add "input.aac" "video.mp4"

Adz
29th March 2006, 00:28
worked a treat, thanks :)

smok3
29th March 2006, 08:32
cool, now you could also use itunes via itunesencode.exe:
http://rarewares.org/aac.html

(but if course this gets bulky since you have to have itunes installed..., the quality is better than faac thought.)