[Q] Encoding Video for Nexus One - Nexus One Q&A, Help & Troubleshooting

I have some movies that I'd like to encode for playback on my Nexus One using Handbrake or some other type of freeware. What format is best to use with the Nexus One, that would give the best playback performance. I assume there must be some type of format that is natively supported, or hardware accelerated.

A google search should probably pull up that info, but I stopped worrying about that a long time ago. I just switched to Mobo Player and now never worry about encoding video. It will play anything.

So I assume from searching that MP4 is the preferred method of encoding, but what about the sound? Just looking for some more details on this.

Well, mp4 is just a container. It doesn't tell you about the video nor the audio codec used in the video file. You can try recording a video and then viewing the codecs used in making that video.

Related

[Q] Problem with video player

My video player could play .mkv & .mp4. But there is no audio for it.
could any one please solve this problem.
i have a lot of high definition videos, could not watch them with no audio
you have to make sure it's encoded properly with compatible bit rates and formats
suggestion use DivX to encode
Do you have any videos of 720p which you could play on your sgs?
Sent from my GT-I9000 using XDA App
download any of the ones from YouTube
or the sample Samsung videos
or any DVD you rip from you rown discs
Firstly, try to shoot a 720p video using your SGS' Video Camera app and see if it will play with sounds. (of course you need to record something with sounds )
the vid will be in .3gp format. let's start from there..
It's most likely a codec issue. Re-encode the sound stream (Virtualdub I believe can do that)
yes i had recorded video at 720p & it is prefectly fine
how to get subtitles in a movie??
is there any app or the default video player can show it??

MKV Player

Searching for player which playes mkv videos including its subtitles without converting it into some crap. Tried Rockplayer and mvideoplayer but without luck.
Any suggestions or advice ppl?
am using vitalplayer and it's quite good with my mkv files....though i haven't really tried on a movie with subtitles.
Robson said:
am using vitalplayer and it's quite good with my mkv files....though i haven't really tried on a movie with subtitles.
Click to expand...
Click to collapse
how to convert this files?
VPlayer supports mkv
Yeah but it does not play subtitle in videos
RockPlayer suports all video format
bearthang said:
RockPlayer suports all video format
Click to expand...
Click to collapse
yep, same here.
I love that App.
Yes its a great app but it doesnt play subtitles including videos.
Any better advice??????
Rockpalyer works great!!
But i'm interested in subtitle too
Rockplayer works for me.
M video player
I'm not sure how QQPlayer handles it, but it's another free (great) video player worth downloading and trying.
Still waiting........
wry007 said:
Still waiting........
Click to expand...
Click to collapse
I'm waiting too
Only phones with native mkv video format support can play .mkv videos efficiently. So, forget about mkv, it doesn't matter which player you use. But anyway, the best video player for me is RockPlayer.
Try Vital player. It supports SMI and SRT subtitle files.
But i don't try mkv files. It should work coz rmvb works.
..
QQ Player works great on My HD2.
Vitalplayer works fine.
Mediacoder
I think the best method would to just burn the subtitles into the encoded video...
Furthermore, MKV container can support a lot of different video (most commonly h.264)...
either way, it would be beneficial to convert to h.264 video and aac audio in mp4 container... Then virtually all target devices can play the file. You'll run 720p that way a lot better too (480p ideally to save space)
So, if you have a nvidia card with PureVideo2 I definitely recommend this method...(or a decent cpu)
mediacoder has cuda encoder bundled with it to make quick work of video->mp4
Here are some of my settings that I use in Winmo, plays back flawlessly on android too.
Video:
Avg bitrate - 1200 (you can set it higher if you want... you'll just get a bigger file size with marginally better quality imo)
Format - h.264
Encoder - Cuda (NVidia cards) , ffmpeg (cpu encoding)
Audio:
Format - LC-AAC
Encoder - FAAC
Avg Bitrate - 128 MPEG4
Container - MP4 (select it in both audio and container tab)
Picture:
Resize - 800x480
Aspect Ratio - Set pixel AR, 1:1
Crop - Disabled
Subtitle
Renderer - Default
Scale, position, outline, blur) - adjust for subtitle appearance
ID - 0 to # (set according which subtitle you want to use from the source video
These are just some loose settings to get you into ballpark range...
make sure you preview before you encode a bunch of files and make sure it works on the device.
I also think there is a "portable device" edition of mediacoder
Sorry for the long post.
mobo player plays mkv with subs but it isnt the best. good enough for the meantime till i find something better.

[Q] Tegra 2 Optimized MKV Player for Xoom?

OK, I've read every thread I can find on XDA on the subject, and it appears that the LG phones have a GPU-optimized video player, but otherwise there is nothing out there that really takes advantage of the Tegra 2 for playback of MKV files. Is that correct?
Most of my files are 720 or 1080 MKV with embedded subtitles. So far the best response I have gotten has been from QQplayer. I tried Moboplayer with the ARM7 codec it sends you to, but could never convince it to show the subtitles.
So what are YOU using to play such files (if anything)? Please also share your settings in case the problem is user error at my end
TIA!
I use PLEX to stream my 720p and 1080p mkv files.
If I need to stored the files on the xoom, i normally convert them to mp4 format using HandBrake.
i havent found a good mkv player for the xoom yet.. i am a VLC kinda guy on my PC and i havent found anything that compares to it...
I use xilisoft ultimate to convert to mp4 for native playback on the xoom
If you haven't bought Plex you have no idea what its like to play MKVs on your device
Plex provides better quality and performance than any other app.
I use Plex but the quality is not the same as if I play the same video (4GB 720p MKV) on the PC.
But one thing is sure, gets the job DONE.
My comments on plex WRT the ASUS transformer:
http://forum.xda-developers.com/showthread.php?p=13480404&highlight=plex#post13480404
http://forum.xda-developers.com/showthread.php?p=13712848&highlight=plex#post13712848
I have found that 3.1 actually does contain enough matroska container parsing (Probably due to WebM) to play any MKV files that would normally play when re-muxed to MP4 however the mimetype and file extension don't appear to be plumbed in. So as long as the audio is AAC or MP3, the video is h.264 and the bitrate/profile/resolution is ok to play then simply renaming the file to add on .mp4 (so the native video player doesn't object to the filename) then launching the video file from a file manager and just choosing "Video player" plays just fine.
Plex is a streamer, we need a local player that's better then Mobo or Rockplayer.
Plex is awesome, but it still won't the display .srt subtitles. I've tried RockPlayer, but it won't play everything.
SilentMobius said:
I have found that 3.1 actually does contain enough matroska container parsing (Probably due to WebM) to play any MKV files that would normally play when re-muxed to MP4 however the mimetype and file extension don't appear to be plumbed in. So as long as the audio is AAC or MP3, the video is h.264 and the bitrate/profile/resolution is ok to play then simply renaming the file to add on .mp4 (so the native video player doesn't object to the filename) then launching the video file from a file manager and just choosing "Video player" plays just fine.
Click to expand...
Click to collapse
I tried this in 3.01 and it didn't work but I'll give it a go on 3.1. If this works...!!
I started with rockplayer but then I moved to Vplayer.
Vplayer is awesome all the mkv files with subtitles that rockplayer couldn't handle, vplayer played it like a champ.
Plus i use remote potato to stream my stuff from my home PC and vplayer has been the only player to handle the task.
I still do Moboplayer it works for everything I need. When the MKV files I have don't show the subs I back out and long hold on the file and select Soft Decode which always kicks the subs in for me. Try that and see if it works for you.
Is my Xoom the only one that stutters when it's playing 720P movie on either MoboPlayer or RockPlayer?
I have not found any player that can play mkv file perfectly!
Yesterday, i tested with 1 mkv file, 720p, ac3 audio, size=1.5 Gb, both rockplayer and moboplayer could play that movie very smooth and showed subtitle correctly, but there was no sound!
When i switched to "software decode" mode, sound was fine, but video was very laggy!
Unfortunately none of the players allow mixed mode rendering, as hardware for the video is a go, but there is no hardware (or OS level) support for AC3 audio. Honestly, Android still has a ways to go as far as video codec and container support is concerned.
Just got a Xoom yesterday and have tried about 10 different players...
BS Player was the ONLY one that worked well.
kruegz said:
Just got a Xoom yesterday and have tried about 10 different players...
BS Player was the ONLY one that worked well.
Click to expand...
Click to collapse
On my G2x, also Tegra 2, I use MX Video player, and the codex required for ARMv7
Sent from Narnia
Old ass thread, but use DICE Player. You'll thank me later.
brandogg said:
Old ass thread, but use DICE Player. You'll thank me later.
Click to expand...
Click to collapse
+1 DicePlayer is awesome and it supports HW Acceleration
Nobody uses MX Video Player? Found it last year when I wanted to play some anime on my Evo 3D, worked like a charm, and has a separate plugin for device-specific support. Works flawlessly using software decoding, only played 480p videos so far though, supposedly works perfectly using hardware decoding on 720/1080 videos, somebody give it a shot and lemme know
I use Mx Video Player its got best interface and plays most videos and h/w support for 720p videos 1080 is pushing to the limits for Xoom.

NVIDIA Tegra 2 optimized Video Player

Found this at the transformer forum..
*Phi* said:
Just thought i'll share,
https://market.android.com/details?id=com.mxtech.videoplayer.ad&feature=more_from_developer
its a multi-format player called MX videoplayer(in case the market link doesnt work).
so far seems good, comparable to mobo player
Click to expand...
Click to collapse
Couldn't agree more.
regards
Thanks! Best player so far!
Wish there was a no-ads option, but it's good.
ZanshinG1 said:
Wish there was a no-ads option, but it's good.
Click to expand...
Click to collapse
I'm going to send a note to the Dev telling him he should make a Paid, No-Ads option. A while back someone posted a ~95MB .mkv of Planet Earth in 1080P, and while MX player doesn't play it in any usable FPS, no other Xoom player I've seen will even attempt to touch it.
I'd pay $5 for this one. I'm just surprised how limited the Tegra2 HW codecs are; so many of the videos I have play in SW mode (but then again, maybe NVidia hasn't released all the specs necessary to take advantage of them?)
I really don't get why anyone wants 1080p playback (unless it's for HDMI of course) since it's a 16:10 1280x800 screen, which is 720p (plus the extra 80 rows of pixels for the menu bar).
kcrudup said:
I'm going to send a note to the Dev telling him he should make a Paid, No-Ads option. A while back someone posted a ~95MB .mkv of Planet Earth in 1080P, and while MX player doesn't play it in any usable FPS, no other Xoom player I've seen will even attempt to touch it.
I'd pay $5 for this one. I'm just surprised how limited the Tegra2 HW codecs are; so many of the videos I have play in SW mode (but then again, maybe NVidia hasn't released all the specs necessary to take advantage of them?)
Click to expand...
Click to collapse
really nice player indeed.
...but would even kill for a player with playback rate control and pitch correction through... (any dev listening? =] )
brandogg said:
I really don't get why anyone wants 1080p playback (unless it's for HDMI of course) since it's a 16:10 1280x800 screen, which is 720p (plus the extra 80 rows of pixels for the menu bar).
Click to expand...
Click to collapse
because no one wants to reencode before watching.
I tested with 720p mkv movies and not work. Screen remains black, but is not running. Any tip? Mobo Player run 720p, but slow or dropping frames.
I have only tested MxVideoPlayer on divx/avi files and it is very similar to Moboplayer. I'd pay for a paid app also without adds if they would add/fix a few things below..
- Auto Rotate option.
- video playback should have option of resume or start over. I found a few bugs playing/resuming on videos that were incomplete. MxVideoPlayer would then show Video Playing Error when clicking on play because video was stuck on that *end spot*. The fix was to reset counters in preference to fix.
- add next/previous video button to toolbar and auto play next video in preferences.
Fix the above and remove adds and then I'll pay for that app.
brandogg said:
I really don't get why anyone wants 1080p playback (unless it's for HDMI of course) since it's a 16:10 1280x800 screen, which is 720p (plus the extra 80 rows of pixels for the menu bar).
Click to expand...
Click to collapse
Who wants 1080(p)?
1080p will be on the Xoom 2..the screen on that thing goes way beyond 1080p.
Sent from my DROIDX using XDA App
Well I guess I get it if you have a 1080p movie that you want to watch on your PC, PS3, etc, and don't want to download (or *ahem* re-encode) a 720p version. That makes sense then.
I'm intrigued by, and appreciative of, the suggestion. I did download and try it, but I don't see anything to tear me away from Act 1 (which I've been quite happy with). Probably, I don't understand which format to use - but, I tried re-encoding a movie at 1080 and MX Video wouldn't play it any better than Act 1. Which is to say, I got a "format not supported" message and no joy...
Any ideas why this app (MX videoplayer) needs our GPS location?
this app is cool.
Thanks for sharing.
REgards
you guys see a diff between s/w code and h/w codec. Seems the same
It is not working for me, are there requirements for specific mkv codecs?? my mkv files never worked proporly 3.0, 3.1 or 3.2 with mobo, rockplayer or this one (just tried with 3.2)
Nothing will play in HW, it all plays SW. Even when I uninstall and reinstall both the app and codec.
Thanks happened to me with Mobo Player as well.
Stock, non-rooted, US WiFi only on 3.2.
Any ideas?
Timbledore said:
Nothing will play in HW, it all plays SW. Even when I uninstall and reinstall both the app and codec.
Thanks happened to me with Mobo Player as well.
Stock, non-rooted, US WiFi only on 3.2.
Any ideas?
Click to expand...
Click to collapse
What kind of files are you trying to play? HW mode means that the app will make use of the Tegra2 hardware acceleration.
That means it will be subjected to the limitations of the Tegra 2 chip. The Tegra 2 chip can only decode certain 720p h264 formats with certain profiles and up to a certain bitrate. Let's not even go into 1080p.
Not only that, the Tegra 2 can only decode certain audio streams as well, so if your videos are in AC3 audio, you have to reencode the audio to something like AAC.
You can use a program like Mediainfo to check what formats your video files are in.
Edit: I think some folks are still not familiar with video formats and what the extensions mean. Mkv is just a container format for video files, similar to Avi. What's important is what codecs are used to encode the video and audio streams.
For example Avi files usually have divx/xvid encoded video streams and mp3 audio streams, mkv files have h264/mpeg4 AVC video streams and AC3/AAC audio streams.
So 3rd party apps are just able to open up these video containers and attempt to decode the video and audio streams for your viewing.
But they will use the CPU to process them using the app's built in codecs where possible if the chipset doesn't support it.
You can refer to the official specs of the Tegra 2 to determine what kind of video/audio compression formats it can decode.
So technically, the Xoom can playback avi files encoded with divx but because using software to decode requires some licencing fee in certain scenarios so that's why Honeycomb has no basic support because being "open source", Google did not pay for the licenses to playback some of the supported video formats. I may be wrong about this but it makes sense.
If you see other tablets like the Transformer or the Acer Iconia, you will realize they can playback more formats because the manufacturers probably paid for extra licenses and added playback capability into the OS. At least that's what I figured out.
musashiken said:
What kind of files are you trying to play? HW mode means that the app will make use of the Tegra2 hardware acceleration.
That means it will be subjected to the limitations of the Tegra 2 chip. The Tegra 2 chip can only decode certain 720p h264 formats with certain profiles and up to a certain bitrate. Let's not even go into 1080p.
Not only that, the Tegra 2 can only decode certain audio streams as well, so if your videos are in AC3 audio, you have to reencode the audio to something like AAC.
You can use a program like Mediainfo to check what formats your video files are in.
Click to expand...
Click to collapse
Thanks, these are mostly xVid with AC3.
Mainly TV shows that I have missed. I rarely have time at home to catch up and more time on the move.

[Q] What video formats/containers can be harware decoded by HTC One?

Hi all
SGS IV looks like complete s*it. So now the only thing that stops me from buying HTC One this year is format support. Heard that it can't hardware decode mkv, is it true? I dodn't mean out of the box but any player like MX or BS. They both have hardware+ decoders that may somehow help with mkv.
MKV is not a video format but a container so I guess it depends on what type of format it was encoded.
Regarding full video formats supported HTC said it is
3gp, 3gpp, 3gp2, mp4, avi(dix, vidx), h264, webm & WMV
I know mkv is a container, but h.264 video decoding is implemented in many previous htc flagship chipsets (e.g. in HTS One X), though mkv can't be hardware decoded on these devices even with 3rd party players (judjing by responses on One X). The same in apple devices. There are no apps that could simply on the fly demux mkv and hardware decode h.264 video stream. Are there anybody who already owes the device and could run the test with any 1080p rip or beter BD remux in mkv?
Amaj7 said:
I know mkv is a container, but h.264 video decoding is implemented in many previous htc flagship chipsets (e.g. in HTS One X), though mkv can't be hardware decoded on these devices even with 3rd party players (judjing by responses on One X). The same in apple devices. There are no apps that could simply on the fly demux mkv and hardware decode h.264 video stream. Are there anybody who already owes the device and could run the test with any 1080p rip or beter BD remux in mkv?
Click to expand...
Click to collapse
sorry I would like to revise my previous statement it doesn't support xvid, divx And yeah doesn't also support MKV. But Xperia Z does.
My stock video player won't play .mkv files correctly (no sound), nor will DicePlayer which I'm very surprised about.
MX Player works perfectly - in the Settings I have the video set to H/W and the audio set to S/W - and now my 720p .mkv files run buttery smooth and are pin sharp.
delboy98 said:
My stock video player won't play .mkv files correctly (no sound), nor will DicePlayer which I'm very surprised about.
MX Player works perfectly - in the Settings I have the video set to H/W and the audio set to S/W - and now my 720p .mkv files run buttery smooth and are pin sharp.
Click to expand...
Click to collapse
Great then... nothing to worry about
darkgoon3r96 said:
Great then... nothing to worry about
Click to expand...
Click to collapse
Well yes, that I figured out as well, that MKV, and AVI (divx-xvid) is not supported, but only those which are encoded with AC3
Because of this, some youtube videos are not played, or sorry..played but without any sound....furthermore, when I try to stream anything via DLNA (samsung allshare runs on the pc and or Router) then I cannot watch them...its kinda annoying....
do you have any solution for this? like installing codecs?
Thanks ...only because of this I would not choose the galaxy s4...and I dont want to convert any video I have...
Thanks !
zimilaci said:
Well yes, that I figured out as well, that MKV, and AVI (divx-xvid) is not supported, but only those which are encoded with AC3
Because of this, some youtube videos are not played, or sorry..played but without any sound....furthermore, when I try to stream anything via DLNA (samsung allshare runs on the pc and or Router) then I cannot watch them...its kinda annoying....
do you have any solution for this? like installing codecs?
Thanks ...only because of this I would not choose the galaxy s4...and I dont want to convert any video I have...
Thanks !
Click to expand...
Click to collapse
I know that MX Player supports some additional codecs
MacHackz said:
I know that MX Player supports some additional codecs
Click to expand...
Click to collapse
Sure, I found out as well, but my main problem is:
When I am trying to play video on my HTC ONE using DLNA (which is hosted, operated on my PC) the videos which are using or coded with AC3
audio, they...just won't play....
As far as I know mxplayer does not have DLNA support....but correct me if I am wrong... and also what would you do with the youtube videos ?#
After contacting HTC, they just told me sorry these formats are not supported.... I hope it will be only a matter of an update...cause its kinda annoying that you can put any files on a galaxy s4 or galaxy s3...and just play it with the default app...
A little update on this... I manage to make an mkv movie play on the stock player. However the audio codec is not supported. So I think MKV is supported. DivX and Xvid are the only codecs that's not working.
Riyal said:
A little update on this... I manage to make an mkv movie play on the stock player. However the audio codec is not supported. So I think MKV is supported. DivX and Xvid are the only codecs that's not working.
Click to expand...
Click to collapse
well playing mkv, or avi is not an issue, but it plays without sound (due to the missing AC3) codec, mxplayer must be installed and its good to gooo with hw+ and its perfect, I even found a solution for the DLNA thingy.
Now I just need to get use to the camera, which is perfect on the display, but less perfect on the pc

Categories

Resources