[Q] AC3 audio? - Xoom General

I have just got a Xoom and copied over a couple of mkv videos. The video plays fine but there is no sound. Audio codec is AC3, is this not supported?

http://developer.android.com/guide/appendix/media-formats.html
I don't think so.
It's annoying, because AC3 AFAIK doesn't have any issues surrounding it like other media formats can have...

Ah, an Android limitation then, guess I'll have to convert it to mp3, thanks.
Sent from my MZ601 using XDA App

AC3 decoders have to be licensed. It's the old proprietary codec thing which Google tries to avoid.

Hmmm, still no sound as MP3, converted with ffmpeg...
Code:
Input #0, matroska, from 'blah.mkv':
Metadata:
doctype : matroska
Duration: 00:21:45.98, start: 0.000000, bitrate: 192 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s
Does it have to be AAC?

Finally have sound, using AAC codec, now video is laggy as hell, only around 3Mbit too, thought Xoom was supposed to handle up to 20Mbit?

Philio25 said:
Finally have sound, using AAC codec, now video is laggy as hell, only around 3Mbit too, thought Xoom was supposed to handle up to 20Mbit?
Click to expand...
Click to collapse
You need to use baseline h.264. Also, some android devices support AC3 (like your galaxy s) , but the Xoom doesn't.

https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/63258/kw/video/p/7901,7906,

ZanshinG1 said:
AC3 decoders have to be licensed. It's the old proprietary codec thing which Google tries to avoid.
Click to expand...
Click to collapse
http://liba52.sourceforge.net/
Don't think so.

ydaraishy said:
http://liba52.sourceforge.net/
Don't think so.
Click to expand...
Click to collapse
Just like frauenhofer doesn't prohibit open source mp3 decoders for personal use, but requires licensing for commercial products like mp3 players, I'd imagine Dolby labs requires licensing for dvd players and such. I'd be really surprised if theyballowed google/moto to use an unlicensed decoder.

ZanshinG1 said:
Just like frauenhofer doesn't prohibit open source mp3 decoders for personal use, but requires licensing for commercial products like mp3 players, I'd imagine Dolby labs requires licensing for dvd players and such. I'd be really surprised if theyballowed google/moto to use an unlicensed decoder.
Click to expand...
Click to collapse
This was ATSC standardized, but I forgotten it's synonymous with Dolby Digital...

Here are specs that work really well for me on the Xoom:
Container format: mp4
Video codec: H.264
H.264 options:
Baseline profile
Level 3.0
Video size: 1280x752
Video bitrate: 3500 Kbps
Audio codec: AAC
AAC options: LC
Audio bandwidth: 256 kbps
I use the slow profile with 2-pass encoding with ffmpeg to get really good compression quality for the given bitrate.
Hope this helps.

Thanks for the responses, I encoded the video again using latest ffmpeg and x264 codec and specified baseline profile this time, works flawlessly!
If anyone is interested, these are the ffmpeg options I used (latest ffmpeg/x264 from git):
Code:
ffmpeg -i INPUT -acodec libfaac -aq 100 -vcodec libx264 -preset medium -tune animation -profile baseline -crf 20 -threads 0 OUTPUT.mp4

Related

video performances

Video benchmarks on coreplayer 1.25, default options.
Video 1 - Simpsons chapter
Video: XVID 512x384 25.00fps 756Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 131Kbps [Audio 1]
Average speed: 93%
Video 2 - Friends chapter
Video: XVID 512x384 23.98fps 845Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 130Kbps [Audio 1]
Average speed: 99%
Video 3 - Futurama chapter
Video: DivX 5 640x480 25.00fps 2097Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 120Kbps [Audio 1]
Average speed: 73%
Video 4 - Heroes.S03E08.HDTV.XviD-LOL 400mb
Video: XVID 624x352 23.98fps 1147Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 122Kbps [Audio 1]
Average speed: 90.11%
Video 5 - Californication.S02E07.HDTV.XviD-0TV 250mb
Video: XVID 624x352 23.98fps 1082Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 128Kbps [Audio 1]
Average speed: 95.57%
Video 6 - Simpsons chapter
Video: DivX 5 720x576 25.00fps 1111Kbps [Video 0]
Audio: MPEG Audio Layer 3 48000Hz stereo 128Kbps [Audio 1]
Average speed: 58%
Videos of the test: http://www.megaupload.com/?d=2M95ZHD4
No 100% on ANY video, but close. Acceptable? Maybe in coreplayer 1.3.
For me, this is a total crap and a big failure of HTC again. BUY THE STUPID ATI DRIVERS F**K, ILL PAY 50$ FOR THEM
disappointment
Yes, I second that,
The poor video performance is a big downer and a very noticable thing watching your favourite smallville episode skipping frames all the time.
and the game of the ball is sloooooow and like playing a 10fps game.
I have to say I'm amazed by this. I remember when the whole Tytn II video debacle broke, we had these silly statements from HTC trying to justify the poor performance by saying it was a business phone, and didn't have video acceleration built in (which was a lie), but that future HTC devices might be "multimedia-centric" or words to that effect... well, surely the Touch HD is exactly such a multimedia device, advertised and sold as just that, so why are we still discussing lacklustre performance?
Is this gross stupidity or carelessness on the part of HTC, or is there something seriously wrong with these Qualcomm chips?
Let's just revisit the blurb on HTC's own website for a moment (before they start rewording it, as they did with the Tytn II) -
HTC said:
Enjoy music videos, films and streaming like you never thought possible on a mobile device. Experience internet browsing so exhilarating... it feels like you never left your laptop at home...
...3.8-inch wide, WVGA (480 X 800 pixel) display offering a cinema experience on the go
Click to expand...
Click to collapse
Hmm.
I find this quite dissapointing. I was hoping that due to the large screen they would have made sure it can play basic video files. Those sorts of file are exactly what i would be looking to play on it too.
Hmm The more I read the more i am sawying towards an iPhone which i fine frustrating
Guys try playing those files in WMP and you will see that it will play them perfectly thanks to the hardware acceleration which unfortunately still isn't fully used in CP! Wait till CC will crack the software part of the HW acceleration and you then you will be able to watch all those movies without demuxing on Touch HD.
To those who want to know how to make .mp4 from .avi/.mkv without converting PM and I will tell how to do it in 10 minutes and not 1 hour.
How we can play this files on a program that doesnt read that codecs?
xvid/divx are all the same it is simply mpeg4 video. If you take it out of the .avi file and mux it into .mp4 it will be recognised as mpeg4 video file. Its the same with h264/x264 if you take it out from .avi and mux it into .mp4 it will be recognised as h264 video unfortunately wmp only supports baseline profile which is rarely used at all.
Remember that .avi/.mp4/.mkv are all containers that can contain the same type of video or audio stream only .mkv is special cause it can easily contain subtitles stream of different format and almost every audio format which unfortunately isn't the case with .avi and .mp4 that is why .mkv is the most popular container for all those HD rips cause you can put almost every kind of thing.
update !
I hear the sound of a deal breaking....while this is a disappointment for sure the real crunch for me would be if the video suffered in ordinary performance as my polaris did (eg low screen rewrites pretty obvious in TT7).
I am not into benchmarks, just one of those "business users" that likes to have some multimedia on my device. Just watching ep 7 of se 4 of The Unit on Coreplayer 1.2.5 in fullscreen landscape from Divx 624x352, and find it plays really well, with no lag or performance problems. So for the occasional user like me the HD is doing just fine.
Wishmaster89 said:
xvid/divx are all the same it is simply mpeg4 video. If you take it out of the .avi file and mux it into .mp4 it will be recognised as mpeg4 video file. Its the same with h264/x264 if you take it out from .avi and mux it into .mp4 it will be recognised as h264 video unfortunately wmp only supports baseline profile which is rarely used at all.
Remember that .avi/.mp4/.mkv are all containers that can contain the same type of video or audio stream only .mkv is special cause it can easily contain subtitles stream of different format and almost every audio format which unfortunately isn't the case with .avi and .mp4 that is why .mkv is the most popular container for all those HD rips cause you can put almost every kind of thing.
Click to expand...
Click to collapse
what???
xvid and divx are codecs, not simply videos, if you mux a xvid/divx video in one container, it will be a mpeg4 container with xvid/divx video, and windows media player will not play it until you convert the video to another codec with loss of quality, bigger size and loss of time, so is not that easy and for us, say that "use windows media player" is a useless comment.
I uploaded the videos with that I made the benchmarks
http://www.megaupload.com/?d=2M95ZHD4
Just tried Heroes Episode 8 on my i780, and here are the results:
GDI - 181,36%
Raw Framebuffer - 206,13%
Intel xScale - 213,59%
Direct Draw - 182,2%
However taking into account the difference in resolution from the older models and the Touch HD i think this could justify the difference in performance.
Also, maybe Core Player is not using effectively the architecture of the Touch HD.
But... this is a new machine and as such it should be ready to play acceptably the videos.
On the Omnia I can play a 700 MB AVI file almost perfectly smoothly without any conversion at all. I can simple place the original high-quality video AVI onto the Omnia and play it.
Is this the same case for the Touch HD? Can you do the same thing and it will play (even if you need to use WMP)? Or do you have to convert it down to a lower quality first like on previous phones?
The Omnia included by default a DivX player, this is not the case of the Blackstone, however with Core Player or the free TCMP you can watch virtually any movie without converting it.
The Omnia is also based around a different processor, not made by Qualcomm. I suspect that helps as well.
this is so disappointing...
my only wish is that CorePlayer 1.2.5 actually doesn't use the hardware acceleration of the touch hd as it should.
because if this is the actual performance of the hardware then, at least me, i wont spent 700 euro on this device which promises to be multimedia device but actually isn't.
can someone convert a file that is playable with the built-in video player or WMP but this file should be of relatively high resolution say 720x400 (wmv, mp4 whatever) and then see how's the performance?
maybe this is just a coreplayer poor performance issue here are we're just blaming the device for nothing...
ps. I had the omnia for couple of weeks, the video performance of IntelXScale is absolutely amazing even on high resolution videos, also I don't think the 240x400 resolution of the omnia plays a big factor here, i suppose that even if the omnia had 480x800 resolution, the performance would be the same (maybe bit slower, but definitely more than 100%)
Hi, I've just tryied this video: http://downloads.gamezone.com/demos/d24115.htm which is infact an 800x480 wmv file. Coreplayer 1.2.5 benchmarked at 46% with QTv, even less with other methods. Windows Media Player however managed to play it much much better, even if with some dropped frames.. definitely not a smooth playback but at least was not a slideshow like in CorePlayer...
downloading a 640x480 wmv video.. I'll report back with results..
Edit: the second video is this one: http://www.casadolcecasa.com/gallery/video/Natale2004_hig.wmv
WMP: watchable, first part kinda sluggish, then goes better (supposedly because most of the img is dark -> easier to decode)
CP1.2.5: unwatchable, frames slideshow.. 56% with QTv
mkMoSs said:
ps. I had the omnia for couple of weeks, the video performance of IntelXScale is absolutely amazing even on high resolution videos, also I don't think the 240x400 resolution of the omnia plays a big factor here, i suppose that even if the omnia had 480x800 resolution, the performance would be the same (maybe bit slower, but definitely more than 100%)
Click to expand...
Click to collapse
and on what facts do you base this opinion? nobody know how fast it would play. the HD resolution has to display 4 times more pixel than the omnia

What is the youtube's video codec?

Hi, guys:
I just did some rtsp capabilities test on G1. Found that G1 didnt support h.264 well through rtsp, but the mpeg4 is fine. The youtube's video played on G1 looks having high quality. Can anybody confirm for me that is the youtube's video encoded by h.264 or mpeg4? And does it transferred through rtsp?
thanks.
I think it is some kind of flash-video codec, not the ones you mentioned. Adobe monopoly.
Youtube uses mpeg4 video for it's HQ streams, flv video for the LQ ones. The G1 gets served an mpeg4 stream regardless of the quality.

Can the Galaxy Tab play high-profile .mkv files flawlessly?

Can the Galaxy Tab play high-profile .mkv files flawlessly?
What I am talking about is 720p .mkv files with high bit rate ( 4,000+ kbps ) without DTS sound (just AAC sound) flawlessly?
The Xoom is having problem in this department.
Also, what player do you use? Default, or Rockplayer or others?
Standard video player plays 1080p and 720p without any problem...
Sent from my GT-P1000 using XDA Premium App
i use mVideoplayer, like it that it can extract subtitles from mkv.
Stock video player has played everything for me fine
swyped from a galaxy far far away...
Earthbrain said:
What I am talking about is 720p .mkv files with high bit rate ( 4,000+ kbps )
Click to expand...
Click to collapse
High bit rate 4mbps? Compared to what, a cellphone video? XD
I got the tab to read PERFECTLY a full hd beast peaking roughly at 40mbps. H264, obviously. Was an mp4, but i doubt that a container will make any difference, i did watch several 720p mkv on the tab anyway.
Oh, i almost forgot: all this with the built in player. Using rockplayer in software mode, that 1080p beast ran at 2-3 fps.
Sent from my GT-P1000 using Tapatalk
I have played 720p MKV file. But no player seems to play it smoothly. And most of them does not play the sound audibly.
Worse, the stock player do not even recognize the file type. H264 videos are flawless.
any suggestions for the MKV player?
richard_rama said:
Worse, the stock player do not even recognize the file type. H264 videos are flawless.
Click to expand...
Click to collapse
I watched like 6 episodes of Panty and Stocking with the stock player. MKV with subtitles (i had to convert them into srt and put them outside the MKV container...) in 720p and clearly with h264 video and aac audio.
There is maybe something wrong with your player?
Sent from my GT-P1000 using Tapatalk
I've got some mixed results.
Most files play fine, 1080p or 720p, but it has problems with some files with only DTS or AC3 sound included.
While the galaxy tab is the best media playing tablet I've tried (not tried the archos 101) it failed to play a 720p blu ray rip with 9 reference frames I think it was encoded with matroska libraries later than 1.0
Stock Player is amazing. I cannot stress that enough. It can play 1080p and 720p high profile mp4 h.264 videos flawlessly. Only gripe is the non-support for > 2ch audio, but this can be easily remedied via an audio demux with Yamb -> downmix to stereo -> mux new audio with Yamb.
I don't even watch movies on my HTPC anymore, I just downmix the audio, leave the video alone, and paste the file unto my device.
That's.
how.
good.
it.
is.
I found that using Rockplayer universal with hardware decoding mode plays just as well as the stock play but with the added function of allowing you to choose which audio track to use. However if you have an integrated sub title track mvideoplayer is better. However what the device can play isn't limited to profiles, as I found the tab can play high profile but content encoded with some of the newer matroska libraries, it struggles with.

[Q] Xoom video formats

I have some 720p MKV videos with H264 video AAC audio that I wanted to load onto my Xoom, so far I haven't been able to get it playing smoothly at 720p with mp4 H264 and AAC audio but Mpeg4 seems a little blocky.
Does anyone have any suggestions on FormatFactory (or some other mass conversion tools) settings I can use that gives me the best video quality at a good frame rate?
from how i understand it the Tegra 2 has issues playing high profile H.264, i had a notion ink adam for a week and it was the same thing on this as well.
when i get my wifi xoom ill test it but i expect the same results.
I loved my zoom but I think that's one of the most unacceptable situation for zoom. good amount of people bought zoom is for video play back. at the least, if you should be able to play anything you throw at it. I hate apple but that's one I cannot trash the ipad
Sent from my PC36100 using XDA Premium App
I cant even move .avi to the xoom... if anyone knows how please let me know.
drziddo said:
I cant even move .avi to the xoom... if anyone knows how please let me know.
Click to expand...
Click to collapse
In Windows 7 it tells me with a lot of file extensions that they are not compatible but I ignore the message and copy them anyways. Then they play nicely on the Xoom. I've used .m4v, .mp4, .mkv, .avi.... just ignore the error message and copy the files. Then use Rock Player Lite to play.
i don't know about the format factory, i download a free version of a xoom video tool, it recommend the h.264 mp4, size: 1280*752, frame rate:30fps, bitrate:1500
The above parameters are just for your reference, sometimes, video playback quality also is based on your xoom player.
whats the name of the tool?
what is the name of the tool / free xoom conversion software you used?
Player-X said:
I have some 720p MKV videos with H264 video AAC audio that I wanted to load onto my Xoom, so far I haven't been able to get it playing smoothly at 720p with mp4 H264 and AAC audio but Mpeg4 seems a little blocky.
Does anyone have any suggestions on FormatFactory (or some other mass conversion tools) settings I can use that gives me the best video quality at a good frame rate?
Click to expand...
Click to collapse
In the first place, i help u find the formats that xoom support.
Audio Playback Supports: MP3, AAC, ACC+Enhanced, OGG, MIDI, AMR NB, AAC
Video Playback Supports: MPEG-4, H.264,H.263
u need to convert your mkv to mp4. i use Fox Real Xoom video converter and set the parameter is mp4, h.264, 1280*752, 1500kbps, 30fps, and i can get full screen on the xoom.
so i suggest u also set on Formatfactory according to the parameters. hopefully it can help u!
ottawaxblade said:
whats the name of the tool?
Click to expand...
Click to collapse
i used a free version of a tool which named xoom video converter, but there is a logo "foxreal" in the centre of the screen. at last, i took about $23 to buy a official version, now everything is ok.

Is Xoom encode and decode video or Tegra 2?

I am a new Xoom user, and I usually enjoy movies on Xoom. So I search what formats that Xoom supports. From Xoom official website, I know Xoom use Tegra2. And I surveyed them, I found Xoom supports AAC, H.263, H.264, MP3, MPEG-4, ACC Enhanced, OGG, MIDI, AMR NB, AAC.Tegra2 supports decode: H.264, VC-1 AP, MPEG2, MPEG-4, DivX 4/5, XviD, HT, H.263, Theora, VP8, WMV, Sorenson Spark, Real Video, VP6.Encode: H.264, MPEG4, H.263, VP8.
Since Xoom use Tegra2, why Xoom only supports very few formats? I want to know which one encode and decode video? Xoom or Tegra2?
It's Android/codecs, not the hardware. You still need software to decode the various formats to get out the frames. The GPU mainly does image scaling from the native resolution of the video to fill the screen. I imagine by listing codecs that hardware can deal with means that the GPU can handle scaling native frames from those formats.

Categories

Resources