HEVC aka H265 is best video codec with highest compression ratio. Video files are smaller in size and have good quality. Since you cannot expand Moto g storage, HEVC is a good codec to store video on Moto G. It is possible to play HEVC videos with hardware acceleration on Moto G.
After many hit and trials, I have found Mediacoder settings. Mediacoder is a good video transcoding software.
What you need to know before you try:
1: Maximum supported resolution is 1280x544. This is widescreen (21:9) video aspect ratio. You can still play 16:9 videos, see below.
2: You need Latest CM12.1 Nighltlies. Won't work on stock (even latest LP 5.1). or Nighlies earlier than Spetember.
3: MX player works, other player may or may not support. Try yourself.
4: HEVC codec is very complex, Videos take very large time to transcode.
What you need:
1. CM 12.1 nightly.
2. MX player latest beta (tested with 3, July 2015 build).
3. Mediacoder full edition.
4. Mediainfo (optional), to check video parameters.
How to:
On you PC:
1. Open Mediacoder. Go to File -> Revert All Setting.
2. File -> Load Preset.
3. Select “16_9.xml” or “21_9.xml” depending on aspect ratio you want.
4. Add video files and hit start button.
On your Phone:
1. Open MX Player Settings -> Decoder and Tick “Use HW+ decoder”
2. On “HW+ video codecs” Tick H.265.
Open notepad and paste following text. Save as "16_9.xml".
<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall.video.mode">CBR</node><node key="overall.video.ar">Set DAR</node><node key="overall.video.darNum">16</node><node key="overall.video.darDen">9</node><node key="overall.video.format">H.265</node><node key="overall.video.encoder">x265</node><node key="audioenc.nero.mode">Target Bitrate</node><node key="audioenc.nero.bitrate">128</node><node key="videofilter.scale.enabled">true</node><node key="videofilter.scale.width">1280</node><node key="videofilter.scale.height">544</node></MediaCoderPrefs>
Open notepad and paste following text. Save as "21_9.xml".
<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall.video.mode">CBR</node><node key="overall.video.ar">Set PAR</node><node key="overall.video.format">H.265</node><node key="overall.video.encoder">x265</node><node key="audioenc.nero.mode">Target Bitrate</node><node key="audioenc.nero.bitrate">128</node><node key="videofilter.scale.enabled">true</node><node key="videofilter.scale.width">1280</node><node key="videofilter.scale.height">544</node></MediaCoderPrefs>
kashinath said:
HEVC aka H265 is best video codec with highest compression ratio. Video files are smaller in size and have good quality. Since you cannot expand Moto g storage, HEVC is a good codec to store video on Moto G. It is possible to play HEVC videos with hardware acceleration on Moto G.
After many hit and trials, I have found Mediacoder settings. Mediacoder is a good video transcoding software.
What you need to know before you try:
1: Maximum supported resolution is 1280x544. This is widescreen (21:9) video aspect ratio. You can still play 16:9 videos, see below.
2: You need Latest CM12.1 Nighltlies. Won't work on stock (even latest LP 5.1). or Nighlies earlier than Spetember.
3: MX player works, other player may or may not support. Try yourself.
4: HEVC codec is very complex, Videos take very large time to transcode.
What you need:
1. CM 12.1 nightly.
2. MX player latest beta (tested with 3, July 2015 build).
3. Mediacoder full edition.
4. Mediainfo (optional), to check video parameters.
How to:
On you PC:
1. Open Mediacoder. Go to File -> Revert All Setting.
2. File -> Load Preset.
3. Select “16_9.xml” or “21_9.xml” depending on aspect ratio you want.
4. Add video files and hit start button.
On your Phone:
1. Open MX Player Settings -> Decoder and Tick “Use HW+ decoder”
2. On “HW+ video codecs” Tick H.265.
Open notepad and paste following text. Save as "16_9.xml".
<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall.video.mode">CBR</node><node key="overall.video.ar">Set DAR</node><node key="overall.video.darNum">16</node><node key="overall.video.darDen">9</node><node key="overall.video.format">H.265</node><node key="overall.video.encoder">x265</node><node key="audioenc.nero.mode">Target Bitrate</node><node key="audioenc.nero.bitrate">128</node><node key="videofilter.scale.enabled">true</node><node key="videofilter.scale.width">1280</node><node key="videofilter.scale.height">544</node></MediaCoderPrefs>
Open notepad and paste following text. Save as "21_9.xml".
<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall.video.mode">CBR</node><node key="overall.video.ar">Set PAR</node><node key="overall.video.format">H.265</node><node key="overall.video.encoder">x265</node><node key="audioenc.nero.mode">Target Bitrate</node><node key="audioenc.nero.bitrate">128</node><node key="videofilter.scale.enabled">true</node><node key="videofilter.scale.width">1280</node><node key="videofilter.scale.height">544</node></MediaCoderPrefs>
Click to expand...
Click to collapse
I"ll try this
hei i just install mxplayer pro , dont know what version but this lastest version , but i cant play h264 codec video why on HW+ /SW not work
Nice, i will try this when i get home.
Related
Dear Friends!
I spent last two weeks trying different app's to get best solution for Movie experience on our beloved Rhodium/Tilt2/Touch pro2 device.
The main idea was to get divx movie to play smoothly and to get best quality as possible.
As we know H.264 codec (mp4) is hardware supported and it gives best results.
So considering that, I got best video experience with inbuilt HTC player that supports hardware acceleration for video.
It does not have a lot of options, and scrolling forward and backward is a little cumber stone, but it provides the best picture so I think (IMHO) is still the best choice.
When Choosing right software my main goal was to have as few steps as possible.
I found that the easiest way to do the conversion is with ImTOO Video Converter Ultimate 6. (http://www.imtoo.com/video-converter.html)
I tried a lot of different software, Trial and Freeware, and ImToo proved to be the best from lot of different perspectives. So it's my number one choice for this task (and also some other video encoding stuff.)
STEP1. Subtitles (Skip to STEP2 if You don't need them)
In case English is not your native language, you would probably (like me) want to have some subtitles with your movie:
You will need to convert *.srt and *.sub subtitles to *.ssa type, so You could get 'Outline and Drop Shadow' effect.
'Subtitle Workshop' (http://www.videohelp.com/tools/Subtitle_Workshop) seems perfect for that. (It has all needed settings and also Batch conversion option)
Press Shift+Alt+L to get to Settings/Output menu, where You can set the subtitle settings like Font, Color, etc.
Choose SubStation Alpha (*.ssa)
Border style: 'Outline + drop shadow'
Font:Arial, Bold, 22, (works best for me), encoding...
Load Subtitle and save it as SubStation Alpha format or use Batch Converting option under Tools/Batch Convert options (Ctrl+M) (if You have more than one subtitle to convert):
-set the source folder for subtitles, output folder, FPS and SubStation Alpha format.
STEP2. Encoding to H.264 format with Imtoo
a.Load your video file
b.Load the profile in general video format/ 'H.264/MPEG4 AVC video'
and set conversion settings to
Video: (Manually enter!) Video Size 800x480,
Note: If You enter for example 576x432 instead 800x480, there will be no sound on your HTC, only video. Don't ask me why, it's the same thing that happens to lots of people with many different encoders and it has something to do with AAC settings detailed, which will also change, when you change video settings....but I am not enough in to hardcore encoding, to understand what is the reason, I only know that this problem appears to be very common when converting for Rhodium with different software....
Bitrate 256K, Frame rate 25FPS(should be same as sub file FPS!)
Audio:Mpeg-4 AAC, 44100, 128K
Now You should set/add Subtitles:
Go to: Edit/effect/Subtitles. (Note: only Ultimate version of Imtoo!)
Add Sub if not already there, and set font to Arial, Style to Bold and Size to 22 (or smaller if You prefer)
Convert the movie and transfer it to Your Touch pro2
That's it!
Enjoy playing Your file on HTC.
Final Output size of the file is not the same as stated Output Size, nor it is the Bitrate. Imtoo bug I guess...But File plays smoothly enough at least for my taste.
Try and let me know how it works for You!
What i do is open you tube in chrome and i already have chrome extension installed on chrome.http://www.chromeextensions.org/music-videos-photos/chrome-youtube-downloader/. So when i play video i get options to save video in all the available formats and the Mp4 video i get is usually 20mb or 25 mb (sometimes less than that) in best quality.
Other thing you can do is go to this site http://keep-tube.com/ and downlaod video in MP4 format in great quality.
I think the best option is chrome extension because you get best quality video/audio with less size
Give it a try.
I don't know why you do this, just download core player
I watch LOST season 6 on my phone just download jackos s2 rom and disable manila for better performance
I use Pocket Divx Encoder to make xvid files of my favorite videos and then play them with CorePlayer using the QTV setting for best quality.
I use DivX Player. It was made for QVGA but works just fine on TP2, just the menus & fonts are small. It'll play DivX encoded AVI's that must DVDRips are.
Hi guys,
I want to start a topic about the video playback with the HW decoder of our eee pad.
first, this link from Motorola can help about the compatibility of the device.
(its for xoom I know but anyway it's the same processor)
I test a 1080p video yet but here is my test a video:
Resolution : 1920x800 (was the resolution of my video source)
Video Format : H.264
Video bitrate 6500kbps (didn't go higher because of my video source) tested with 8000kbps and still stable
Profil : Baseline (*IMPORTANT*) main or high will not work
CABAC enabled
Deblocking enabled
B-Frame : 2
Audio
LC-AAC with 160kbps bitrate
*HW is only available for stereo sound* BUT if you use a hdmi cable and want a full surround, you can put 5.1 under sound section (with mediacoder) when you will convert, doing this, the main video player of the table will NOT work. You will have to use MX video player (free in the market) AND when the video will start, click on the "music note" in the middle left and select S/W Decoder.
So the video will be decoded by the HW and audio decoded by SW. video is fluid and it work but can't guarantee if it is stable because I only test it one minute.
****Also, the container must be a .mp4 file!****
here is my preset for people who use Mediacoder
link
I use CUDA for the encoder but you absolutely need a compatible nvidia graphic card. Otherwise, check Auto.
I will try to push the tablet to its HW limit with other test. I'll keep this post updated.
Thanks
MediaCoder is free, you can download it from this link
*If other people have tried other method, fell free to share!*
My original post:
http://forum.xda-developers.com/showthread.php?t=1474765
Sources:
TGA_Gunnman
http://forum.xda-developers.com/showthread.php?t=729094
acmilancrazy (not a XDA member)
http://www.youtube.com/watch?v=z1l1P7ALnwY
Please read and watch the above links to have an understanding of what your actually going to do.
This little guide will basically rip your BD to HD mp4 using h.264 and aac as codecs playable on our vibrants, and future mobile devices using 1280x720 resolution.
Step I:
1. Launch Handbrake
2. In the menu on the right-hand side, select the iPod Legacy preset
3. Select your video source by clicking on the Source dropdown menu
4. Select the destination and name for the file once it has been converted (both the .mp4 and .m4v extension work for Android)
5. Confirm that the container is set to MP4 File and that Large file size, Web optimized, and iPod 5G support are unchecked
Step II:
Picture Tab:
1. Keep Aspect Ratio Checked
2. Depending on the source BD or DVD keep the width and height compatible with the resolution of device.
3. Anamorphic “none”
4. Modulus “16”
5. For BD cropping the letterbox keep automatic checked "I really dont mind the letter box".
6. To Actually get the 1280x720 in the height and width go to cropping. Change the top, bottom, left and right to 0. Then go to size and adjust accordingly. You will have letterbox though.
Step III:
Video Tab:
1. Set Handbrake's encoding settings by clicking on the Video tab
2. Confirm the Video Codec is set as H.264 (x264)
3. Framerate (FPS) should be set to Same as source
4. For BD check Target Size and change it to 2999 (MB).
Step IV:
Video Filter Tab:
1. Don't do anything here.
Step IV: Adjust audio settings
1. Set Handbrake's audio settings by clicking on the Audio tab
2. Confirm the Audio Codec is AAC (faac)
3. Mixdown should be set to Stereo.
4. Change the Samplerate to 48
5. Change the Bitrate to 160
Advanced Tab:
This will Be the biggest difference from TGA_Gunnmans' post
Encoding:
1. Reference Frames “3”
2. Maximum B-Frames “3”
3. CABAC Entropy Coding “Checked”
4. 8x8 Transform “Checked”
5. Weighted P-Frames “Checked”
6. Pyramidal B-Frames “Default (normal)”
Psychovisual:
1. No DCT-Decimate “Un-Checked”
Analysis:
1. Adaptive B-Frames “Optimal”
2. Adaptive Direct Mode “Automatic”
3. Motion Estimation Method “Uneven Multi-Hexagon”
4. Subpixel ME & Mode Decision “Default (7)”
5. Motion Estimation Range “24”
6. Adaptive Quantization Strength “Slider in Middle”
7. Psychovisual Rate Distortion “Slider in Middle”
8. Psychovisual Rate Distortion “Slider all the way to the Left”
9. Partition Type “All”
10. Trellis “Encoded Only”
11. Deblocking “Both boxes Default (0)”
Step IV: Save as a preset for future use
1. Click on the Presets menu and select New Preset
2. Enter Mobile DVD or Mobile BD in the dialog box and click Add
3. "Mobile DVD or BD" will now be saved as a preset and listed on the right hand side in Handbrake to be used in the future
Step V: Convert the video and copy to your Mobile Device
Some people may be using different settings and thats fine. But these settings for me produce a smooth, stutter free experience even underclocked at 800MHz.
I Have also no problems with the file size playing under 3GB.
WARNING!!!
Depending on your own computer this conversion can take a VERY LONG TIME. I have an intel i7 920 with 12gb ram and a 2 hr. movie took 2 hrs. to convert.
Hey all,
I never really tried playing video on the nook, but I just tried playing an MP4 and it gives me a "Sorry, this video cannot be played" error.
I've looked into it and it seems that the nook actually supports MP4 playback.
Running on Mirage 7.2.
Also the information VLC Player (on my PC) gives for the mp4 file:
Stream 0
---------
Type: Video
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
Resolution: 640x480
Frame rate: 29.970023
Decoded format: Planar 4:2:0 YUV
Stream 1
---------
Type: Audio
Codec: MPEF AAC Audio (mp4a)
Channels: Stereo
Sample rate: 48000 Hz
I appreciate any effort to sort this one out.
I have had nothing but problems using VLC player on my rooted nook. It has to have soft-decoding enabled for lots of movie files to play on it. This is using the VLC player through the playstore.
One player on the playstore I have had better luck with is called MX player or the Moboplayer, both of those will play the native .mp4 video formats for me.
~~~~~~~~~~~~
Also you might have a corrupted video file if it is not playing on your computer with the correct video codecs downloaded for it. Might want to try to re-download that one video you are having problems with. Check that file in a different video player on your computer and see if it plays. If it doesn't, then you either do not have the correct video codecs downloaded onto your computer for it or it is a corrupted file. On windows OS I have to download a KLite video codec for .mp4 files to play. VLC should play that file by default though on the computer.
~~~~~~~~~~~~~~~~~~~~
Try using the program "handbrake" to encode your video files for playback on the nook to keep from having to soft decode it. Soft decoding takes up lots of processing power on the processor on your nook color. There are guides to show you how to encode video files for your nook color using handbrake here. http://www.androidtablets.net/forum...using-handbrake-convert-video-nook-color.html
Thanks for the quick response.
meteorrock said:
I have had nothing but problems using VLC player on my rooted nook. It has to have soft-decoding enabled for lots of movie files to play on it. This is using the VLC player through the playstore.
Click to expand...
Click to collapse
I only used my Windows VLC Player to determine the codecs information. What I'm trying to do here is to run the mp4 in the native CM7.2 player.
meteorrock said:
Try using the program "handbrake" to encode your video files for playback on the nook to keep from having to soft decode it. Soft decoding takes up lots of processing power on the processor on your nook color. There are guides to show you how to encode video files for your nook color using handbrake here. http://www.androidtablets.net/forum...using-handbrake-convert-video-nook-color.html
Click to expand...
Click to collapse
I will try to re-encode the file. Maybe something with the audio stream there...
Will update! Thanks!
OK it works with the directions what you gave
I tried to give it a go alone with Handbrake. Didn't work.
Then I followed the steps in the link you provided and it plays in the default player, including H/W decoding.
Thanks a bunch!
SWF is an Adobe Flash file format, which is supported by Adobe Flash Player and Adobe AIR software. The SWF file format is designed to be an efficient binary delivery format. The file format is very popular. But maybe sometimes you need to convert SWF fillies to other videos formats. Maybe, you are an iphone user, you want watch flash videos on your iphone, but iphone is not compatible with flash player. Maybe sometimes, you need to convert swf files to jpg, or you want convert swf to adobe premiere. Ok, if you want to do these, the only thing you need to do is to download a swf video converter mac. I will share you some tips for converting. Let’s take converting swf to iphone 5 as an example.
Step 1: add SWF video to SWF Video Converter
Click “Select File” button to import SWF video to SWF Video Converter from your computer. Or click “Grasp SWF” button, then input a website address and click “Grab” button to download a SWF video to SWF Video Converter. The SWF video can be viewed on the left.
Step 2: customize SWF video.
Click “Crop” button to adjust size of video. Left, Top, Width and Height can be changed if you want delete some unwanted images. If needed, watermark also can be added. Click “OK” button to finish this step.
Step 3: choose iphone 5 as output formats.
Click “NEXT” button, choose iphone 5 as output formats. If output format setting needed, click before “Customize” to do Video settings and Audio settings. Encoder, Resolution, Frame Rate, Bit rate, Sample Rate and Channel can be adjusted.
Step 4: converting SWF video
Click “NEXT” and “Start” button to begin video converting. You can click “Stop” any time to finish converting.
See! It is very easy to convert. With the converter, I believe you can enjoy more videos!