Hi all,
I'm trying to stream H.264 video stream using RTSP to android, while my stream plays normally on HTC G1 and Mytouch, the video freezes on HTC Hero after just a few frames. And when I check LogCat, I see something that may indicate the problem:
11-23 14:57:13.434: INFO/OpenCore(55): RTSP Streaming playback, force to use software AVC decoder
Click to expand...
Click to collapse
Also considering there is no problem playing local mp4 files or progressively downloaded mp4 files encoded in H.264 on Hero, I guess Hero is forced to use software AVC decoder to decode H.264 in RTSP Streaming playback.
I don't know if this is specific to my Hero or not. Has anyone else encounter similar situation? Is there anyway to enable hardware H.264 decoder in RTSP playback? If it can't be done by software, is it possible to enable it in custom build ROM? I tried both stock ROM and modaco build, both are the same.
Thanks in advance!
What software are you using?
When you tried it on G1/MT3G, are you using a 1.6 based ROM? I might be that the media stuff got a work over in 1.6.
ufonium said:
Hi all,
I'm trying to stream H.264 video stream using RTSP to android, while my stream plays normally on HTC G1 and Mytouch, the video freezes on HTC Hero after just a few frames. And when I check LogCat, I see something that may indicate the problem:
Also considering there is no problem playing local mp4 files or progressively downloaded mp4 files encoded in H.264 on Hero, I guess Hero is forced to use software AVC decoder to decode H.264 in RTSP Streaming playback.
I don't know if this is specific to my Hero or not. Has anyone else encounter similar situation? Is there anyway to enable hardware H.264 decoder in RTSP playback? If it can't be done by software, is it possible to enable it in custom build ROM? I tried both stock ROM and modaco build, both are the same.
Thanks in advance!
Click to expand...
Click to collapse
It seems to me that log message plainly tells H.264 hardware codec is not supported while streaming over RTSP. Maybe as packetlss said it got reworked in 1.6.
How wide are your videos?
packetlss:
I'm using vidtry(http://github.com/commonsguy/vidtry), as well as HTC streaming player on HERO that handles RTSP link by default. The result is the same for either player.
For G1 and Mytouch I used the original stock ROM, not 1.6.
thenext1:
My video is 480*320 in size.
I think this problem is specific to hero, not older version of android. I saw that the libraries related to media playback have different size for Hero and mytouch, but I don't know what the real difference is. Hope someone could verify this problem, and find some way to solve it.
The Hero also has some stuttering at the beginning of high bitrate MP3 tracks, the Dream does not have this. So if you could upload the videofile then I want to test it for you
double post, sorry!
E2K:
This problem only happens on playing H.264 through RTSP, local H.264 file playbacks normally using hardware decoder without any problem, and I don't have a public RTSP server for other to access, sorry!
I found that Hero output many debug messages, for example responses from RTSP server, when playing RTSP. So I guess one possibility for the problem is that someone try to debug RTSP playback, so they set hero to use software decoder, but forgot to switch back to hardware decoder.
Your setup is not very clear for me. May it be related to network problems, if you otherwise play the same files without trouble?
As the matter of fact, I tried to play files form CIFS-mounted windows partitions in recent MoDaCo ROMs. Won't go, jerking/pausing every minute.
I finally solved the problem! I replaced libopencoreplayer.so on Hero with the one from mytouch, now Hero uses hardware decoder to decode H.264 RTSP stream! Also I saw no other side effect of this solution till now, local file still plays normally.
@ufonium
can you explain more details about the "replace" from libopencoreplayer.so.
Which Version and How-to raplace ... ?
Thanks
I used libopencoreplayer.so from HTC mytouch, stock ROM. The file is in the folder /system/lib/. I used the following command to replace the file. (Suppose libopencoreplayer.so from HTC mytouch is in current folder of your computer, and your HTC hero is connected to your computer using USB cable.)
Code:
adb remount
adb shell cp /system/lib/libopencoreplayer.so /system/lib/libopencoreplayer.orig
adb shell push libopencoreplayer.so /system/lib/libopencoreplayer.so
after replacing the file, reboot the phone.
As the problem only affect playback of H.264 streamed by RTSP, it is not recommended to replace the file if you don't care about RTSP.
Thank you,
I have a live stream (rtsp, h.264 codec) from my TV-card.
So can you pleas upload this file or send me a mail ?
Thanks a lot!
peter
I am streaming to my Android device over RTSP using FFMpeg. But I do get any audio/video.
I have tried using AAC audio and H.264 video. Also tried the H.263 and MPEG4 video. But I always see thefollowing error after buffering is complete (100%),
"PlayerDriver(554): HandleErrorEvent: PVMFErrCorrupt"
I am working with Android 1.6 emulator.
Could you please guide me about the Audio and video format that is expected by Android when playing RTP input over RTSP?
I have posted more details of the issue on the android-developers google group in post titled "Cannot play MPEG4 video stream on Android SDK 1.6" but as yet no solution reached
The SDP send in RTSP describe response from server is
o=- 0 0 IN IP4 127.0.0.1
s=No Title
c=IN IP4 0.0.0.0
t=0 0
a=tool:libavformat 52.73.0
m=audio 0 RTP/AVP 97
b=AS:16
a=rtpmap:97 MPEG4-GENERIC/44100/2
a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdelta
length=3; config=1210
a=control:streamid=0
m=video 0 RTP/AVP 96
b=AS:64
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAC/QYJ0IAAAMAAgAAAwAoHih
VQA==,aM48gA==
a=control:streamid=1
Related
Anyone know what is the best setting for smooth video playback when viewing in Touch Pro 2?
I have download the Transformers 2 Trailer in FLV format and playback on my Touch Pro 2 but it seems to be laggy.
Anyone can advise me whether it is the video format problem or the phone memory problem as I have installed many applications.
chongbh said:
Anyone know what is the best setting for smooth video playback when viewing in Touch Pro 2?
I have download the Transformers 2 Trailer in FLV format and playback on my Touch Pro 2 but it seems to be laggy.
Anyone can advise me whether it is the video format problem or the phone memory problem as I have installed many applications.
Click to expand...
Click to collapse
Can you give a link to the same video and i will try it ?
elab
elab said:
Can you give a link to the same video and i will try it ?
elab
Click to expand...
Click to collapse
http://www.youtube.com/watch?v=7InTpNWJ4HQ
Can only get on youtube through my Rhodium at work but isn't that video HD?
It's got a pretty fast processor for a phone but it's still only 533MHz, it can't playback HD content!
I've seen a couple of DivX movies (700MB each) on my TP2 and I have no lag issues...
In fact, I did had that, but back then I was using the player supplied with DivX codecs for Windows Mobile. Once I started using Core Player, the "lag" was gone.
I'll try that YouTube HD video in FLV format and get back to you.
BTW, what player are you using?
Yea i have no issues at all with any video format with coreplayer with the exception of mkvs.
mnico said:
I've seen a couple of DivX movies (700MB each) on my TP2 and I have no lag issues...
In fact, I did had that, but back then I was using the player supplied with DivX codecs for Windows Mobile. Once I started using Core Player, the "lag" was gone.
I'll try that YouTube HD video in FLV format and get back to you.
BTW, what player are you using?
Click to expand...
Click to collapse
I am also using Core Player for playing back the above FLV format file.
Sorry for the delay guys, but during my video speed testing , I found that although Core Player is supposed to play MP4 files (so they say), on my TP2 Core Player says "Player: Video codec (AVC aka H.264) not supported by the player!". So it seems that I have no H.264 codecs installed, which is strange because the H.264 codec is quite common on DivX. Well, I guess the movies I've been playing were not H.264 encoded.
This happened because I downloaded (without converting) both Transformers 2 trailers (LowRes and HD) from that link. The LowRes version came in FLV format (4MB), and the HD is a 33MB MP4 file. The FLV plays flawlessly without hiccups or delays.
I'm still searching for H.264 codecs for Windows Mobile, and will report back to this topic after installing and testing the video.
The HTC player will playback mp4's encoded with H.264, so long as they're Standard Definition with stereo audio.
mnico said:
Sorry for the delay guys, but during my video speed testing , I found that although Core Player is supposed to play MP4 files (so they say), on my TP2 Core Player says "Player: Video codec (AVC aka H.264) not supported by the player!". So it seems that I have no H.264 codecs installed, which is strange because the H.264 codec is quite common on DivX. Well, I guess the movies I've been playing were not H.264 encoded.
This happened because I downloaded (without converting) both Transformers 2 trailers (LowRes and HD) from that link. The LowRes version came in FLV format (4MB), and the HD is a 33MB MP4 file. The FLV plays flawlessly without hiccups or delays.
I'm still searching for H.264 codecs for Windows Mobile, and will report back to this topic after installing and testing the video.
Click to expand...
Click to collapse
I have download the same file again by copying the Videoplayback file in FLV Format from Internet Explorer Temporary Files Folder, file size is 12.2MB instead of 4MB.
How you can get 4MB and how you download the Low Res file? The playback is a bit jerky and not so smooth but after comparing the original one in YouTube, it is also a bit jerky and not smooth so there is nothing wrong with the Touch Pro 2 Playback as the problem lies on the source itself.
What you wanna do is get Coreplayer.
Encode your videos into Divx with vertical res. of 720 or under and keep the bitrate under 1500kb/s.
Great image quality with approx 112% playback speed.
thedudelasse said:
What you wanna do is get Coreplayer.
Encode your videos into Divx with vertical res. of 720 or under and keep the bitrate under 1500kb/s.
Great image quality with approx 112% playback speed.
Click to expand...
Click to collapse
I have used Coreplayer for playback.
Tried encoding "The Black Knight" Movie in the below format :
1) Width x Height (704 x 296)
2) Bit Rate (64kbs)
3) Audio Format (Lame MP3)
4) Frame Rate (23 frames/second)
5) Data Rate (1031 kbs)
6) video Sample Size (24 bit)
7) Video Compression (XVID)
There is some portion of the playback jerky and not smooth, any problem with the above settings?
http://forum.xda-developers.com/showthread.php?t=467112
You could try downloading that little encoding program.
It encodes your files into the perfect format for HTC Album. The user interface of the program is very easy and it encodes your files so that they play with full resolution and a good bitrate. Hope I could have been of help. All credit goes to it's creator.
chongbh said:
I have download the same file again by copying the Videoplayback file in FLV Format from Internet Explorer Temporary Files Folder, file size is 12.2MB instead of 4MB.
How you can get 4MB and how you download the Low Res file? The playback is a bit jerky and not so smooth but after comparing the original one in YouTube, it is also a bit jerky and not smooth so there is nothing wrong with the Touch Pro 2 Playback as the problem lies on the source itself.
Click to expand...
Click to collapse
I used a Firefox addon that "strips" the contents out of the pages (videos, sounds, SWF, ...). It can also be used to convert to other video formats while downloading, but I didn't use this feature as I wanted to test with the real deal.
I double-checked just now, and the smaller file (LowRes) is 4.76MB and it's fully functional and it plays 'till the end. The HD is 33,9MB. Perhaps there's a different file version when you stream directly from the internet... it doesn't make much sense, but I'm just guessing.
I didn't had time to continue searching for the right codecs yet. But I'll give it a go tomorrow. I'm sure I was not the 1st to experience this "issue" and the codecs "should" exist somewhere... so I hope.
Aquila-169 said:
http://forum.xda-developers.com/showthread.php?t=467112
You could try downloading that little encoding program.
It encodes your files into the perfect format for HTC Album. The user interface of the program is very easy and it encodes your files so that they play with full resolution and a good bitrate. Hope I could have been of help. All credit goes to it's creator.
Click to expand...
Click to collapse
Thanks for your recommendation and I recode the video again, it is much smoother playing over the WMP.
Will use this program to encode future DVD or Video for playback in my Touch Pro 2.
Can anyone tell me which ROM out there has working h.264 playback other than the original AT&T Tilt 2 ROM? Depending on the encoding program I use, I either get no audio or no video.
I've posted on this a dozen times, but no one has a fix. I've tried the latest Energy ROMs (start menu up top) and the new AT&T ROM, but no go. I've even put a trouble ticket in with HTC (they say it's not a known issue, but are looking into it).
Before you blame my phone or my videos, I've got a Tilt 2 and a T-Mobile Touch Pro 2. Both show the same problem. If I take the very same videos, that don't work on my Tilt 2 with Energy or the latest AT&T ROM, and downgrade to the original ROM, they work! Also, the videos play with
I'm hoping someone knows of a ROM based on a working ROM that I can load on both my AT&T Tilt 2 and T-Mobile Touch Pro 2.
You need 3 .dll files from the original Tilt2 ROM to make it work.
qccmquery.dll
QTV.dll
qtv_mp4_decoder.dll
I don't know for sure that you have to have all 3 of the files, but I do know it works if you do have all 3.
rgb-rgb said:
You need 3 .dll files from the original Tilt2 ROM to make it work.
qccmquery.dll
QTV.dll
qtv_mp4_decoder.dll
I don't know for sure that you have to have all 3 of the files, but I do know it works if you do have all 3.
Click to expand...
Click to collapse
Where should they be placed (in what folder)?
Edit:
I tried placing them in the \Windows folder. I rebooted and now I have audio, but no video. So close, but yet so far. Any other suggestions?
Nautme said:
Where should they be placed (in what folder)?
Edit:
I tried placing them in the \Windows folder. I rebooted and now I have audio, but no video. So close, but yet so far. Any other suggestions?
Click to expand...
Click to collapse
Yes, they go in the Windows folder. You may have to use Total Comander or something like that in order to actually overwite the ROM files and you will probably have to do a soft reset after placing the files on the device.
Also, I just use the Full screen player to view the videos. I don't use WPM or anything like that, but the other players should work also.
Yup. I used Total Commander and did a Soft Rest. I'm just using the HTC player, and now no video on any of the h.264 videos, but sound. Before I had some with video and no sound and some with sound and no video.
I've looked around and found a few different versions of those files, also some references to htcmdp.dll, so I'll try swapping a couple of them in.
Also, what ROM are you using. I like the Energy ROMs, but I'm not married to them, so if yours works...
It's my own home brew.
All the ROMs that I have used so far, from the original Telstra stock ROM to the my current Energy 21907 ROM all played mp4 (H.264 and AAC) video files correctly. Frame rate may not be ideal depending on the bitrate and file sizes. But at least they play without me having to do anything.
bchau said:
All the ROMs that I have used so far, from the original Telstra stock ROM to the my current Energy 21907 ROM all played mp4 (H.264 and AAC) video files correctly. Frame rate may not be ideal depending on the bitrate and file sizes. But at least they play without me having to do anything.
Click to expand...
Click to collapse
Which ROM specifically? I'll load it today. I'm currently using the August 25th, 21914 Sense 2.5 ROM. I'm not a big fan of the Cookie Home Tab, but if it works, I'll give it a shot.
Also, what player are you using? TCPMP works for the h.264 videos, but really jerky. Windows Mobile and the HTC player used to be perfectly smooth on the h.264 videos, but now no video at all, or at least not in any newer ROM I've tried.
bchau said:
All the ROMs that I have used so far, from the original Telstra stock ROM to the my current Energy 21907 ROM all played mp4 (H.264 and AAC) video files correctly. Frame rate may not be ideal depending on the bitrate and file sizes. But at least they play without me having to do anything.
Click to expand...
Click to collapse
Assuming your signature means Energy Cookie Home Tab 21907, I just did a Task 29 and loaded the latest Energy CHT 21914 from August 28th. I opened Total Commander and clicked on a MP4 file that was h.264 and AAC encoded (which launches HTC Player). Videos from MP4forHD and the Video Encoding GUI have no audio (video plays smooth). Videos from AVS, Nero, and Xilisoft have audio, but no video.
So the search continues...
Why don't you try a mediaplayer alternative like TCPMP ?
http://forum.xda-developers.com/showpost.php?p=5685536&postcount=1
PNut said:
Why don't you try a mediaplayer alternative like TCPMP ?
http://forum.xda-developers.com/showpost.php?p=5685536&postcount=1
Click to expand...
Click to collapse
I do and have. TCPMP cannot keep up with the frame rates of h.264 files unless you severely reduce the bit rate. I've tested frame rates of 23.97 and 29.97 at bit rates of 500k to 2000k and they don't play smoothly in TCPMP, or CorePlayer (which I've purchased). If you take a look at the Video Encoding GUI http://forum.xda-developers.com/showthread.php?t=467112 it will tell you not to use CorePlayer as it does not support hardware acceleration.
The fun thing is I have a bunch of videos that I converted to h.264 so that my 2 1/2 year old son can watch videos upon request. On my Fuze, everything worked fine. He dropped my Fuze, so AT&T replaced it with a Tilt2. I didn't like the ROM, so I upgraded to an Energy ROM (which are great). Unfortunately, I have not found a ROM other than the original AT&T TilT2 ROM to play h.264 videos. Having to re-encode them is a ridiculous solution.
Nautme said:
Assuming your signature means Energy Cookie Home Tab 21907, I just did a Task 29 and loaded the latest Energy CHT 21914 from August 28th. I opened Total Commander and clicked on a MP4 file that was h.264 and AAC encoded (which launches HTC Player). Videos from MP4forHD and the Video Encoding GUI have no audio (video plays smooth). Videos from AVS, Nero, and Xilisoft have audio, but no video.
So the search continues...
Click to expand...
Click to collapse
I simply have the mp4 video at my SD card. The HTC Album recognises that and I can play from there. Again, it depends on the file size and bitrate. I have a 640x480 video with a data bitrate of 1 Mbps and it plays well on TP2. I have other that are 1280x720 and bitrate of 9 Mbps and it would be a few sec per frame. But then you really need a laptop to play that kind of video.
Now I think you need to make sure the video is encoded properly. I use Adobe Media Encoder to encode my videos. The 1280x720 video I refer to above, however was straight from my Sanyo Xacti camcorder as it captures H.264 AAC video directly.
Just one more thing you can try. The TP2 camera can captue H.264 video. (You would need to set the format at the advanced video camera settings there.) Then try playback the capture video. If it doesn't play back that video, then there definitely is something wrong with the ROM you have.
bchau said:
Just one more thing you can try. The TP2 camera can captue H.264 video. (You would need to set the format at the advanced video camera settings there.) Then try playback the capture video. If it doesn't play back that video, then there definitely is something wrong with the ROM you have.
Click to expand...
Click to collapse
How could there be something wrong with just about every ROM I've tried, on two different phones. Also, I've put in a support incident with HTC and they've verified it's an issue. Below is a list of ROMs I've tried.
These ROMs will play h.264 videos made with Video encoding GUI or Mp4ForHD apps here on XDA:
AT&T Stock Tilt2 ROM
Josh's Black 1.8b_Sense_2.5_2012_Norm
These ROMs don't correctly play h.264 videos. When playing video encoded with Video Encoding GUI or Mp4ForHD, there's video, but no sound. When playing videos from AVS, Nero, or Xilisoft, there's audio, but no video:
Jackos_S2_ROM_ManilaRUSH1.6
TP2 WM6.5 ROM (COM2) V45 (Core 21908) OS 2.07 SENSE 2.5_2016 (UPDATE 07-07)
[11Aug10]CORE CELL EVO V3.1 & PRO V31 [23127 & 21911] [Sense 2016]
Energy.RHODIUM.23569.Sense2.1.Jun.02
Energy.RHODIUM.21905.Sense2.1.Jun.02
Energy.RHODIUM.21911.Sense2.1.Jul.14
Energy.RHODIUM.23569.Sense2.1.Jul.14
Energy.RHODIUM.23673.Sense2.5.Cookie.Aug.04
Energy.RHODIUM.21911.Sense2.5.Aug.04
Energy.RHODIUM.21914.Sense2.5.Aug.25
Energy.RHODIUM.21914.Sense2.1.Aug.18
Energy.RHODIUM.21914.Sense2.5.Cookie.Aug.28
Energy.RHODIUM.23127.Sense2.5.Aug.28
Energy.RHODIUM.21914.Sense2.5.Aug.28
I've downloaded a couple videos from the web that do play with video and sound, but there's no rhyme or reason. I can't determine what is different about the one or two that work out of 50 that don't.
Hi,
This is something I too am actually searching for...
I have discovered that agent47's Valkyrie Roms do play, with sound and video, the mp4s that I had encoded for my Touch HD. Link is http://forum.xda-developers.com/showthread.php?t=569507
Now why they do, and what makes them different, are some extra drivers present, that I would love to know...
Do try them ou and let me know your experience.
And, for those that suggest always to try TCPMP or Core player, these two great softwares do not, however, take advantage of the machine's hardware, unlike Album or Media Player. By using the two latter ones to play the mp4 files, the experience is much more fluid and with correct fps...
Regards,
P.
pdc4 said:
Hi,
This is something I too am actually searching for...
I have discovered that agent47's Valkyrie Roms do play, with sound and video, the mp4s that I had encoded for my Touch HD. Link is http://forum.xda-developers.com/showthread.php?t=569507
Now why they do, and what makes them different, are some extra drivers present, that I would love to know...
Do try them ou and let me know your experience.
And, for those that suggest always to try TCPMP or Core player, these two great softwares do not, however, take advantage of the machine's hardware, unlike Album or Media Player. By using the two latter ones to play the mp4 files, the experience is much more fluid and with correct fps...
Regards,
P.
Click to expand...
Click to collapse
Sorry to say, that after doing Task 29 and loading tp2_firestorm_v7.3.21914-FX that it's actually worse than all the others I've tried. Using the HTC Player, it freezes upon loading the video. Using Media Player, the program loads and as soon as it stops loading, it closes. I'll add it to my list of the non-workings.
Now that is strange...
I have not yet tried the new version 7.3 of the rom, as my previous tryout was with version 7.0.23123-xt, link here http://valkyrie.htc-files.com/downl...restormLEO/v7.0/tp2_firestorm_v7.0.23123XT.7z
With this one, after task 29, I had perfect results, both sound and video, of mp4s encoded with projection's video encoding gui (link http://forum.xda-developers.com/showthread.php?t=467112 )...
I wonder if the new rom version has somehow broken the previous mp4 compatibility... and this would not be pleasant at all.
I will have to try the new version, after I finish with the energy rom (so far also not compatible, sound wise...)
In the meantime, do try the previous version mentioned, and let me know if it works for you.
Regards,
P
Just one more thing you may want to try. The way your phone is connected to PC (USB to PC setting):
1. ActiveSync
2. Disk Drive
Try the disk drive option. It won't modify the file as it get copied onto the phone.
pdc4 said:
Now that is strange...
I have not yet tried the new version 7.3 of the rom, as my previous tryout was with version 7.0.23123-xt, link here http://valkyrie.htc-files.com/downl...restormLEO/v7.0/tp2_firestorm_v7.0.23123XT.7z
With this one, after task 29, I had perfect results, both sound and video, of mp4s encoded with projection's video encoding gui (link http://forum.xda-developers.com/showthread.php?t=467112 )...
I wonder if the new rom version has somehow broken the previous mp4 compatibility... and this would not be pleasant at all.
I will have to try the new version, after I finish with the energy rom (so far also not compatible, sound wise...)
In the meantime, do try the previous version mentioned, and let me know if it works for you.
Regards,
P
Click to expand...
Click to collapse
Okay... I've tried the following Valkyrie ROMS-
tp2_firestorm_v7.0.23123XT
tp2_firestorm_v7.3.21914-FX
tp2_firestorm_v7.3.23134-FX
The 7.0.23123XT version plays h.264 videos that were encoded with MP4ForHD or the Video Encoding GUI just fine. It only plays audio from h.264 videos encoded with AVS, Nero, or Xilisoft.
The two 7.3 versions don't work at all. They crash when trying to load any h.264 video.
At least I've got a few ROMs now that work. I'll try and take a look at the files to see what's different.
bchau said:
Just one more thing you may want to try. The way your phone is connected to PC (USB to PC setting):
1. ActiveSync
2. Disk Drive
Try the disk drive option. It won't modify the file as it get copied onto the phone.
Click to expand...
Click to collapse
I either use the Disk Drive mode to transfer videos, or I pop the MicroSD car into an SD adapter and put it right in my laptop. I don't believe there's a setting issue at play as that wouldn't explain why different ROMs work and don't work.
Hey,
Is there any possibility to manualy add an mp4(video) codec and mp4 aac(audio) codec to Froyo X?
Info about a file that I want to play on Android
Format: MPEG4 (MP4)
Video: MPEG-4 Video
Audio: MPEG4 AAC Audio
Click to expand...
Click to collapse
Thanks for help
I don't think there's a codec issue, it seems to be a clocking issue.
HQ videos don't play in youtube, but the "SD" ones are perfectly fine. Seems videos above a certain resolution don't work yet. Known issue.
Plus, if your issue is with that Huawei ROM, please post in that thread. Don't make a new thread.
No, I'm using default rhodium uk rom. In wimo it plays okey, but not in android... I'll try to change resolution of video to lower(actual res. of this video was 800x480).
I'll let you know if it will change anything.
Hi
I'm looking rom for my Desire with build in mp4 container for videos, or aac codec audio in videos. If anyone know rom what I'm looking for, please help me. I saw a few HTC desire HD rom for HTC Desire, but in topic, I haven't got a information about countainer or codes, what they use.
Ps. Please do not write "Buy camera in market.." or something like that.
Not sure if they use AAC but pretty sure they use mp4. Think they might use H.264 or what ever it is. Only because it's a web standard.
Thank you for reply. So if I use one on this:
http://forum.xda-developers.com/showthread.php?t=789830
http://forum.xda-developers.com/showthread.php?t=861690
I get the mp4 codec in Audio? Great!
I don't know. You might. If you have sense you can change it.
Why so specific anyway?
Sent from CM7
File container is always .3gp with the stock camera app, however the video is coded in either MP4/H.263/H.264
On those ROMs you've posted previously, the audio coded is AAC (I use InsertCoin) - but not in 720p (still AMR 8khz)
If you want the files straight in MP4 file container, you should try lgCamera from the market (that records HQ audio in 720p, too).
Have any one tried it.
Or will it be done by flashing a custom rom(may be cm10)
mahoihei said:
Have any one tried it.
Click to expand...
Click to collapse
Yes. My sat-box records in .mkv and it is viewable (streamed from sat-box) without changing anything. I use vplayer.
I use diceplayer, works great.
Sent from my Nexus 7 using Tapatalk HD
MX Player with custom codec.
Sent from my Nexus 10 using Tapatalk 4
sidthegreatest said:
MX Player with custom codec.
Sent from my Nexus 10 using Tapatalk 4
Click to expand...
Click to collapse
+1. You can even boost the volume level to upto 30 if you use HW+ decoding, works amazing on AC3/DTS audio
serviio and diceplayer. Makes a great DNLC network that can stream any file to your Nexus. As for playing it on the nexus, I personally dont like putting movie files on mine since the memory gets used up rather quickly.
MX Player and the VLC Beta both work fine with .mkvs for me. I've even played some pretty hefty 1080p files with no issues.
you don't need to do anything. just open the file with MX player, be player or similar. sorry I'm not understanding why this is an issue for you
You can use HW decoding for video in players such as MX Player but you can't do audio HW decoding for some codecs since Dolby is suing everybody for supporting their formats without permission and is also refusing to license them.
MX Player works great in HW+ mode. I have had no problem with normal HD mkv files or 10 bit anime mkv
Tony_YYZ said:
You can use HW decoding for video in players such as MX Player but you can't do audio HW decoding for some codecs since Dolby is suing everybody for supporting their formats without permission and is also refusing to license them.
Click to expand...
Click to collapse
Actually you can, custom codec option in mx player Worked wonders for me, there's threads about this. Stock rom, locked.
Yes, it can for both 8-bits 720p and 1080p, but 10-bits sorry, can't....
Can anyone point me to the right codec to download? All videos I try are using S/W instead of H/W in MxPlayer (except MP4). WMV and MKV are playing in S/W. Thanks a bunch
joey4321 said:
Can anyone point me to the right codec to download? All videos I try are using S/W instead of H/W in MxPlayer (except MP4). WMV and MKV are playing in S/W. Thanks a bunch
Click to expand...
Click to collapse
ya, where do i download the latest HW codecs? my s/w works fine but HW mode doesnt work too well in mxplayer pro/ lags and stutters
Some education is needed
MKV is not a codec, it's a container format much like DVD .... The problem is not the MKV container but what it contains. Generally the biggest problems are MKV's made from US OTA (Over the air) and cable TV recordings which all have the audio in AC3 format and usually in Dolby encoding. (And as someone mentioned Dolby doesn't like it when they don't get their Cut, even if the software is free and no one is actually profiting from it except the Consumer)
I've recorded and archived several TV series since 2006 and some of my first MKV's kept the AC3 audio format (but converted the video to h.264) because I was having sound sync problems (Not sure if it was an x264 or the cable company's fault but the issue eventually went away) and for those I have to use software decoding for the audio but the video is still hardware accel .... The ones I've made in the last 3-4 years have the audio converted to AAC format and those have full hardware accel video and audio and play flawlessly and effortlessly even on my lowly Rockchip dual core TV Stick (720p and in the process of being embedded in a Motorola Lapdock)
Point being it's not the MKV container that is the problem, what counts is the formats it contains .... And in the case of us North Americans we need to convert the audio (AAC is the best bet IMO) so you may as well convert the video (Much of it is interlaced and that's another issue conversion fixes, Handbrakes default Decomb filter does it well) .... For that I would recommend x264 and Handbrake (x264 is included in Handbrake) which should not only take care of compatibility issues it also makes for a smaller file (Better transfer/streaming over wifi) without any loss of playback quality .... Also I would recommend stripping off any extra audio feeds (Languages) if you aren't going to use them, ditto for subtitles ... In other words keep it simple and convert to formats with known/best compatibility
SPAM.
http://forum.xda-developers.com/showthread.php?t=2156254
MX player > settings > decoder > download custom codec
what about the mpeg2 decode ,not h/w decode?
no hardware acceleration for 1080i dvb-s2 recordings or streams
My nexus 7 with stock Rom plays 1080p h264 content in MKV containers flawlessly with h/w acceleration with various players. Except for either streams or recordings from my tvheadend server. If they are 1080i (no German station broadcasts in 1080p) none of the players gets h/w working. SD and 720p do work though. The only difference I can see between my recorded files and the ones that do play is that the recordings have 25 fps whereas the other mkvs have about 24.
In the attachments there are two screenshots of two mkvs' properties. The 25 fps one is the one that won't work.
Anyone's got an idea? Thanks
from what i know,snapdragon still don't support 10bit decoding perfectly,thats why u can't use hw+ mode for 10bit video.
When I tried with my HTC One X,it can play 10bit video in hw+ mode though.Its likely for now Tegra and Exynos only support 10bit decoding in hw+ mode,even not perfectly.
u can refer to this thread ->
https://groups.google.com/forum/#!topic/mx-videoplayer/WKv1LNeUTSI