You are not logged in.

#1 2013-01-15 02:17:08

zenten
Member
Registered: 2012-03-27
Posts: 25

Using MEncoder to convert videos for an Innotab 2

My kids each got Innotab 2s for Christmas, and I'm trying to figure out how to convert some of their favourite video files to something that they can watch on them.  I found a guide here: http://froebe.net/blog/2012/10/03/how-t … eg-solved/ on how to use ffmpeg to do this, but the problem is my source videos often have errors that are making ffmpeg give up.  However, I'm thinking that since mplayer plays them all just fine that MEncoder should be able to as well.

I've been trying for awhile now by going through the MEncoder docs, and by looking up examples, but I'm just not getting it.  So could someone help me here?  The eventual goal is that I'll just make a bash script to convert any video file I have, but I should be able to figure out how to do that from the command line options needed.

Here's the settings recommended by the Innotab 2's manufacturer:

  • File Type: AVI

  • Resolution: 480 x 272

  • Video Codec: MJPEG

  • Video Bit rate: 2400kbps

  • Frame rate: 15fps

  • Audio Sampling Rate: 22.05kHz

  • Audio Channel: Mono

  • Audio Encoder: PCM

Here's the settings that the guy on this page recommends:

  • File Type: AVI

  • Resolution: 480 x 272

  • Video Codec: MPEG4 with a video tag of “XVID”

  • Video Bit rate: variable or a maximum of 3000kbps

  • Frame rate: 29.997fps

  • Audio Sampling Rate: 22.05kHz

  • Audio Channel: Mono

  • Audio Encoder: PCM

And here's the commands that that page gives as an example to convert with ffmpeg:

ffmpeg -i "input.wmv" -r 65535/2733 -vcodec mpeg4 -vtag XVID -q:v 8 -vf "scale=480:-1" -an -y "video_out.mp4"

ffmpeg -i "input.wmv" -r 65535/2733 -vn -c:a libmp3lame -ar 22050 -ac 1 -ab 128k -y "audio_out.mp3"

mp3gain -g 10 "audio_out.mp3"

ffmpeg -i "video_out.mp4" -i "audio_out.mp3" -r 65535/2733 -vcodec copy -map 0:0 -c:a pcm_s16le -ar 22050 -ac 1 -map 1:0 -y video_ready_for_innotab.avi

Any help figuring this out would be very much appreciated.

Offline

#2 2013-01-15 02:24:01

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Using MEncoder to convert videos for an Innotab 2

Have you looked the MEncoder wiki page:

https://wiki.archlinux.org/index.php/Mencoder

Another alternative is using HandBrake.

Offline

Board footer

Powered by FluxBB