-   General (
-   -   Encoding h264 files for Android 28 tablet (

RedNeck-LQ 03-02-2011 02:49 PM

Encoding h264 files for Android 28 tablet
hey there folks,

I have a question.

I have a archos 28 android tableet for mostly media playing and casual surfing with the built-in wifi.

Does anyone know how to encode h264 videos for android tablets.

ARCHOS 28 Technical Specifications
MPEG-4 (ASP@L5 AVI, up to DVD resolution, 30fps@4Mbps)
H.264 (up to DVD resolution MP/D1, 30fps@2Mbps)
WMV/VC1 (up to DVD resolution MP/D1, 30fps@3Mbps)
MJPG (Motion JPEG) in VGA resolution

When I encode a video to h264, it plays fine on my computer. But, when I transfer it to the player, I get an encoder unknown error.

Here is the command I use


ffmpeg -i test.mpg -f mp4 -vcodec libx264 -vpre normal -crf 23 -r 29.970 -s 320x240 -acodec libfaac -y test_h264.mp4
I've tried these options as well

-vpre hq
-vpre default
-acodec libvorbis
-acodec libmp3lame

Like I said, the encoded h264 video files plays fine on the computer, but not on the player.

Does anyone have any suggestions I can try.

macemoneta 03-02-2011 05:22 PM

I have the Archos 101. The fastest and easiest way I've found to encode video for the Archos is with HandBrake. For a one-time setup, I just selected the iPad preset, set the output format to MKV, and saved an Archos preset with resolution matching my device (320x240 for the Archos 28). Afterwards, just select the preset and you're good to go. You can queue up many files to encode, and the encoder exploits multiple CPUs for fast encoding.

RedNeck-LQ 03-02-2011 05:54 PM

I'll give it a try and let you know

RedNeck-LQ 03-03-2011 11:00 AM

The iPad preset didn't work, but the Normal preset did. The Normal preset creates a regular h264 file.

Thanks for the HandBrake suggestion.

All times are GMT -5. The time now is 09:41 AM.