ffmpeg with ipod support

Asked by Nicolò Chieffo

Is it possible to have an ffmpeg wich supports ipod encoding?
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Medibuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Nicolò Chieffo
Solved:
Last query:
Last reply:
Revision history for this message
Lionel Le Folgoc (mrpouit) said :
#1

What's the necessary codec for this?

Revision history for this message
Nicolò Chieffo (yelo3) said :
#2

I transcoded a video from itunes and the codec shows this:

video: xvid4 320x240 25fps 400kb/s
audio: aac 96kb/s
container: mp4

thanks for the interest

Revision history for this message
Lionel Le Folgoc (mrpouit) said :
#3

Afaik, all these codecs are included. Which ffmpeg version do you use? If you are on intrepid, you have to install the unstripped variant of ffmpeg libs.

Revision history for this message
Nicolò Chieffo (yelo3) said :
#4

Oh! it's working now, I used avidemux!
The problem is that using gstreamer does not produce valid video files...

I used this pipeline:

gst-launch-0.10 filesrc location="$input" ! decodebin name=decoder decoder. ! videoscale ! videorate ! 'video/x-raw-yuv,width=320,height=240,framerate=(fraction)25' ! ffmpegcolorspace ! ffenc_mpeg4 bitrate=400000 ! queue ! ffmux_mov name=mux ! filesink location="$output".mp4 decoder. ! audioconvert ! faac bitrate=96000 ! mux.

it produces a video file with the same caracteristics of the one produced by avidemux, but when transferred to the ipod, it does not work at all :(

If you know a way to use gstreamer I prefer it, if not anyway I can use avidemux

Revision history for this message
Lionel Le Folgoc (mrpouit) said :
#5

Sorry, I have to admit that I'm not a gstreamer expert. :P

Since it works with avidemux, you should try to post this to a gstreamer mailing list/forum, to check whether your command line is ok or not (and maybe file a bug report if there's a bug in the gstreamer release shipped by ubuntu).