Как конвертировать видео на медленное устройство Android

3218
Leo Kac

Я знаю, что нет лучшего видео кодека или формата. Потому что каждый кодек рассчитан на свою работу и ситуацию.

У меня есть планшет Android, который может воспроизводить любое видео с любым кодеком или форматом, но если видео высокого качества, воспроизведение замедляется из-за медленной работы процессора и графического процессора.

Вот системная информация моего устройства:

  • Версия Android: 4.1.2 Jelly Bean
  • Дисплей: 1280x720
  • Чипсет: Nvidia Tegra 2 T20
  • Процессор: двухъядерный процессор ARMv7 900 МГц Cortex-A9
  • GPU: ULP GeForce
  • Оперативная память: 700 МБ
  • Внутренняя память: 20 ГБ
  • SD-карта: нет

Таким образом, это не очень медленный планшет, но недостаточно быстрый для плавного воспроизведения видео H.264 / x264. Я знаю, что H.264 и x264 требуют быстрого процессора для воспроизведения видео. Итак, скажите, пожалуйста, какой формат видео и кодек лучше всего подходят для моей ситуации, чтобы воспроизводить видео 720p и HQ без проблем на моем устройстве и не занимать так много памяти.

Я хочу смотреть фильмы 720p и HQ на своем медленном устройстве, и я ищу лучший кодек для конвертации фильма, чтобы не занимать более 10 ГБ памяти. И, конечно же, воспроизведение видео должно быть плавным.

Я пробовал многие фильмы MP4 720p H.264 или x264 для воспроизведения на многих видеопроигрывателях Android, но каждый проигрыватель просто замедляет воспроизведение в обоих режимах:

  • Аппаратное кодирование
  • Программное кодирование
4

2 ответа на вопрос

2
slhck

Chances are your Android device does not support H.264 video with a profile higher than Baseline. The profile defines what features can be used by the encoder, and the Baseline profile is one of the "lower" ones, meaning that even less powerful devices should be able to play the video.

The easiest way to re-code a video to H.264 Baseline would be to use Handbrake, and choose the Android preset from the presets drawer. Then, as H.264 Profile, choose Baseline.

For audio, select the Auto Passthru option, so you don't have to re-encode it.

You set the quality of the output by changing the Constant Quality slider. Lower values mean better quality, and higher values mean worse quality (and lower file size, of course). 22 is a good default, but you can choose anything between 18 and 28. See my CRF Guide for a bit of background info.

Once you've set that, simply re-encode your video to an MP4 file, and try playing it on the device again.

-1
Colin Pickard

The Tegra 2 is known for problems with playing 720p video

It's a very common SoC in older 2010-era android tablets including popular ones such as ASUS Eee Pad Transformer, Samsung Galaxy Tab, Acer Iconia etc, so there is plenty of info on the web on how to make the most of it. Anything that applies to ones of these tablets will also apply to yours.

As example, here is a guide to using popular free software HandBrake to convert 720p video for the ASUS Eee Pad Transformer:

http://forum.xda-developers.com/showthread.php?t=1060825

good luck

Похожие вопросы