mpeg4 codec in HTC diamond? - General Questions and Answers

These days I have a camera recording project that requires a good performance to encoding frame. firstly I think of Directshow . But I give up when i check wmv9dmoencoder ,because it will cause memory leak heavily. then I found the HTCCamera Tools with the dll "h263videoenc.dll" and "mpeg4spvideoenc.dll". I make sure the Camera.exe uses the library to record the video. But I cannot find any place to introduce the two dll above.
Who can give me some advice? Thanks

No guys knows?

a little pity, No friends can help me

lifangjie said:
a little pity, No friends can help me
Click to expand...
Click to collapse
i read these topics regularly.. hwever im not a developer... im sorry i cant help u...

try using ffmpeg , search ffmpeg in the forum you will get more idea

I have done a tutorial to compile ffmpeg for WinCE / Windows Mobile.
Compile it and try it with your application.
You can read it here: http://www.torsten-klinger.de

Thanks all your advice, but It seems that it's not reality. Because
encoding job need much more CPU time , I am very suspicus the performance of ffmpeg in windows mobile device.

Related

mp4 files on htc touch pro

everyone,
i am trying to play an mp4 film on my htc touch pro,... have good sound but no picture,...
maybe a 'codec' issue, but any ideas on how do i resolve this,...?
thanks,
ek
I dont think that Windows Media player that comes with WM6.1 supports it.
Your best bet is to get a media player, something like CorePlayer (not free) or TCPMP (free).
thanks st, but which version of tcpmp do you recommend,...? i just installed v.72rc and it gave me an error message,... what do you think about v.71,...?
ekacz24 said:
thanks st, but which version of tcpmp do you recommend,...? i just installed v.72rc and it gave me an error message,... what do you think about v.71,...?
Click to expand...
Click to collapse
Please make sure you always try to read my past articles. I've devoted a HUGE article to playing back H.264 (including ASP) files. See http://forum.xda-developers.com/showthread.php?t=352204
Yea .... what the man said
I use CorePlayer and it works very well without the need to install anything else.
would love to read how to solve these issues, and do not want to take up space on the forum, but please don't preach to me about posts that are not easy to find,...
will follow your lead,
thanks,
ek
ekacz24 said:
would love to read how to solve these issues, and do not want to take up space on the forum, but please don't preach to me about posts that are not easy to find,...
will follow your lead,
thanks,
ek
Click to expand...
Click to collapse
get CP or the AVC plugin for TCPMP
Nothing
Menneisyys said:
Please make sure you always try to read my past articles. I've devoted a HUGE article to playing back H.264 (including ASP) files. See http://forum.xda-developers.com/showthread.php?t=352204
Click to expand...
Click to collapse
Read through everything on this site, very detailed by the way and thank you, but there is no information about why TCPMP won't run on the Touch Pro which I believe is what the issue was in the first place.
Seems to be a common issue without resolution. I wonder if someone as knowledgable as yourself could suggest a fix, or another freeware program that would do something similar. Seems from your article though that there are no better programs except CorePlayer which is basically TCPMP v.80 instead of v.72 right? So a fix would be helpful.
Most TCPMP links seem to be broken, but I have found a couple that are still legit. The reason the program is crashing is because we've downloaded a faulty program. My old .cab file of v.72 works just fine with my Touch Pro.

Best Video Converter for HD2 :)

Hello All,
I have spent almost the whole of today looking for a good video converter for the HD2
I have sum new RMVB and MKV Movies and would love too convert them in 800x400 but cant seem too find a good converter!
Can you please help me with whats working for each off you!
Much Appreciated
format factory rocks
The free and amazing mp4forHD.
You can find it on this forum, it's made for HTC HD but it also has a profile the HD2
MeGui - nothing beats it!
Toss3,
but for getting best results in MeGUI advanced experience is needed.
Could you do us the favour and post your most important settings for
best results on HD2 here? Would appreciate it
Best regards, Olioaglio
wow...thanks for the replies guys!!
i found mp4hd and used it too convert the simpsons movie and rambo 4
the quality of conversion is great but the sound and video is out of sync by a little and not much!
should i be looking at any specific settings to get the best out of mp4hd???
thanks again and i will try the other recommendations and get bk too u guys
cheers
I use my custom profile in WinMEnc, which offsets the audio so it plays in sync on the device
Olioaglio said:
Toss3,
but for getting best results in MeGUI advanced experience is needed.
Could you do us the favour and post your most important settings for
best results on HD2 here? Would appreciate it
Best regards, Olioaglio
Click to expand...
Click to collapse
Search for p-krill's posts. I'm using the same settings he posted in this thread.
TMPGEnc.XPress converter looks so good but its taking me 5 hrs plus too convert a 2hr movie
the quality looks immaculate with the settings provided
am trying formfactory now so let you know how it goes but it seems alot quicker and has alot of functions aswell
Have a look at the HTC HD Touch Video Converter, get also really nice results. And you can use Subtitles too.
TMPGEnc.XPress
There have been really quite a lot of threads on this subject before: original poster, you might like try to searching the forum before posting a question to see if it has been asked before.
A couple of examples of earlier threads: here, here and here.
Sadly, such threads never seem come to any useful conclusions. This is partly because everyone piles in and automatically recommends whichever app they use, without stating why they recommend it, or what benefits it has over any other app, or what parameters they recommend using with it. It's also because I don't think ever completely nailed down the optimum encoding parameters. This thread got some way towards that goal, but I don't think we ever came to any firm conclusions.
If you are not sure what you are doing then I recommend MP4ForHD, which you can download here. The results are perhaps not quite optimal, but they're pretty good, and it's fairly idiot proof. Use the default HD2 profile, to begin with.
I would steer clear of the Touch HD "Video Encoding GUI" as its settings are too conservative for the HD2; it trades off video quality for ease of processing in a way that is necessary on a Touch HD but not on an HD2.
If you are more of an expert then I suggest MediaCoder.
To elaborate on my settings.
Install WinMEnc
Add my profile to the profile folder.
Load WinMenc, add you files, select my profile from the dropdown list, check 'fit to width' on the 'Video' tab, and encode.
Play the mp4 in HTC Album.
Example video
I've batch encoded Dexter season 4 720p with the above settings, and it looks amazing.
Shasarak said:
There have been really quite a lot of threads on this subject before: original poster, you might like try to searching the forum before posting a question to see if it has been asked before.
A couple of examples of earlier threads: here, here and here.
Sadly, such threads never seem come to any useful conclusions. This is partly because everyone piles in and automatically recommends whichever app they use, without stating why they recommend it, or what benefits it has over any other app, or what parameters they recommend using with it. It's also because I don't think ever completely nailed down the optimum encoding parameters. This thread got some way towards that goal, but I don't think we ever came to any firm conclusions.
If you are not sure what you are doing then I recommend MP4ForHD, which you can download here. The results are perhaps not quite optimal, but they're pretty good, and it's fairly idiot proof. Use the default HD2 profile, to begin with.
I would steer clear of the Touch HD "Video Encoding GUI" as its settings are too conservative for the HD2; it trades off video quality for ease of processing in a way that is necessary on a Touch HD but not on an HD2.
If you are more of an expert then I suggest MediaCoder.
Click to expand...
Click to collapse
Simply because everyone has their own standards of what is good/good enough/who cares? There isn't a single encoding method that is the "best", per se.
For me, I have ended my quest for encoding specs, and I've already listed the software and parameters I've used. I'm sure someone out there will disagree, saying that other parameters would make it better in terms of size/quality, with or without CUDA (and the list goes on and on), and kudos to them. Personally I'm more than happy with my encodes, I'm glad that kr00t0n finds it useful too.
kr00t0n said:
To elaborate on my settings.
Install WinMEnc
Add my profile to the profile folder.
Load WinMenc, add you files, select my profile from the dropdown list, check 'fit to width' on the 'Video' tab, and encode.
Play the mp4 in HTC Album.
Example video
I've batch encoded Dexter season 4 720p with the above settings, and it looks amazing.
Click to expand...
Click to collapse
Recently I'm having troubles with this profile for encoding mkvs (mostly music videos)...They tend to crash a little into the encoding. You have this problem?
However if I encode them into avi with similar encoding specs, it works. It looks like encoding h264 into h264 causes a problem for mkvs, at least for me.
madmarf said:
Have a look at the HTC HD Touch Video Converter, get also really nice results. And you can use Subtitles too.
Click to expand...
Click to collapse
use this
I use Winavi MP4 converter.. easy fast nice ;-)
Hi,
i downloaded HTC touch HD video converter 1.21 version.
and converted a 2.5GB 720p mkv movie to 800x480 900kbps 160kb audio.
i am interested in mainly converting mkv to hd2 format.
i have a duo 2 core 8400 processor and it took me like 4 hrs.
i read somewhere that on HD2 keeping the video bitrate above 700kbps doesnt make a difference and just ends up using more battery while playback.
is that true??
what should be the best settings i should keep in order to get good results?
also is there any other way to convert in a shorter time than this??
will keeping a lower video bitrate decrease the total time??
i know many of you will say trial and error is the best way, but i am asking to get a head start as 4+hrs to convert one movie is alot of time.
anyways thanks for answering guys
i am curious too about the questions geronemo has, maybe some would like to share their experiences here?
I use badaboom it use your Nvidia GPU wich is much faster If you want the right settings for it ask me. 30 minutes video is 6 minutes converting video.

Vlc player?

Hi All
Is there or is there not a Vlc player for the WM. I have read various forums and followed dead links and would like to know oce and for all does this exist or not and if so does anyone have a working link to the download the app.
Many thanks in advance
Is this is what you're looking for ?
http://portableapps.com/news/2010-02-01_-_vlc_media_player_portable_1.0.5
A.F.A.K there is no VLC the best freebee you will find is TCPMP or if you wish for the up to date version CorePlayer but costs money.
Hi guys
Thanks for the answers and link
I had a look at the portable apps but this is actually for windows 2000 and above, so I think stylez you are correct in saying that as yet the answer is no, but it would be nice if they did make a version, oh well maybe one day.
To bad I found the wrong stuff , thought it looked very promising.
I must say I agree with stylez , Coreplayer and tcpmp is without a doubt the best players for WinMo..
Anyway keep on searching , and maybe you'll find something about the vlc someday, but until then I suggest you use coreplayer
Mod edit:
Do not post warez/cracked software on this forum!
hi ... i want to know tht nokia n900 have vlc player.in n900 we can install vlc media player. N900 is running on linux and Android is also running on linux. so wy android dnt have vlc yet ?
know vlc player is awesum but its not avoilaible..
try moboplayer.. google it..
just wanna ask about tcpmp player on my htc touch viva,,
-details
device: htc touch viva
rom: Evolution 2.5A WWE
the problem is ,, everytime i play videos on my tcpmp player it "LAGS" on some parts, specially on hd videos ,,even if the video resolution is in the resolution of htc viva (240x320) ,, i've tried many versions of tcpmp player but the la
gging issue is always there ,,what is the problem here? is it the rom? is it not compatible on tcpmp players? can you suggest me the best things to do?
thx in advance,,plssss help ,,i badly want videos on my phone haha
oh! ,,and lately i discovered that the volume affects the video ,, the lower the volume the lesser the lags too ,, and when i play videos on mute mode ,,the lags are gone for good ,,can someone explain or solve this problem? PLSSSSS !,,,plsssssss help me

FFMPEG and Android media

Hi everyone!
Since Qualcomm isn't releasing armv6 binary blobs for the QDSP5 (HTC Legend) for ICS, and software decoding through ffmpeg is blazingly fast anyways, I thought that perhaps I could use ffmpeg instead of the apparently slow software implementation used now in ICS when a dedicated device is missing.
So this is about fixing two things: HQ Youtube/IMDB video playback which is currently at 4-10fps and video recording.
After some investigation (and currently building CM7.2 from source), I have come to the following possibilities:
1. Use something like limoa which provides an OpenMax interface to the full power of ffmpeg. This has the highest chance of also getting camcordering to work for free.
2. Integrate ffmpeg into libstagefright directly: some files and ffmpeg configure options seem to support the feasability of this idea, but I am not sure if this still works and if it will influence video recording as nr.1.
Any and lots of helpful input is appreciated. I believe I can compile the limoa thing for Android (I have gotten it to compile on native linux and I have experience in cross-compiling), but I wouldn't know how to tie it into the Android media stack as a replacement for whatever is in place now. Frankly, I'm hoping some renaming of an so and manual installation steps would do the job (ie, replace libomx????.so with the ffmpeg-based one), but I doubt it.
This will of course have direct benefits for any device left out in the cold by the non-release of armv6 OpenMax IL binaries by Qualcomm, so help me help yourself
Thanks!
Did anyone try this?
The furthest I got was compiling the omx library based on ffmpeg for arm-linux-androideabi-gcc. I have no idea where I can plug this in, as I can't find the omx symbols this library exports (also the symbols described by the OMX IL spec/headers).
Since ICS runs flakily on my device, I'm not pursuing this anymore. I'll keep to Froyo (HTC) or GB (CM7.2), currently on the old stuff.
PS: I asked this Q on SO, with no response:
http://stackoverflow.com/questions/...264-software-encoder-with-an-ffmpeg-based-one
Interesting
This look interesting, I would like to participate in this field as my phone is Sony Ericsson Xperia 8 such as the cpu is armv6...
But my programming knowledge are none
I have linux & Gcc
What should i do ? if you are willing to lend me a hand?
This is a great idea!!!
Hopefully it
enviado desde mi U8180
CKKNot, are you working on this effort? I have a P500 running jellybean, but developers there are stuck without OMX drivers.
This is one alternative that could potentially help a lot of device owners.
I hope it could help us with this Jelly Bean ROM: http://forum.xda-developers.com/showthread.php?t=1789713
Neur0Nerd said:
I hope it could help us with this Jelly Bean ROM: http://forum.xda-developers.com/showthread.php?t=1789713
Click to expand...
Click to collapse
how is that related to ffdshow
vNa5h said:
how is that related to ffdshow
Click to expand...
Click to collapse
Read the first post dude
Amy news yet
Swyped on my blade
The latest mx player supports ffdshow...
Swyped on my blade
vNa5h said:
The latest mx player supports ffdshow...
Swyped on my blade
Click to expand...
Click to collapse
But you can't play youtube
Sent from my LG-P500
vlt96 said:
But you can't play youtube
Sent from my LG-P500
Click to expand...
Click to collapse
What do you mean by YouTube
Swyped on my blade
vNa5h said:
What do you mean by YouTube
Swyped on my blade
Click to expand...
Click to collapse
We need those for playing YouTube videos, mx with sw decoder is known workaround since the beginning (at least on my O1)
Sent from my LG-P500
vlt96 said:
We need those for playing YouTube videos, mx with sw decoder is known workaround since the beginning (at least on my O1)
Sent from my LG-P500
Click to expand...
Click to collapse
Ffdshow is not SW decoder...
I guess it can play x264 videos too..
I mean the YouTube ones too...
The only thing iswe need a wrapper for ffdshow
Swyped on my blade
Any news where to get the codecs for mobile to play with Mx player
Swyped on my B l a d e
^^
Any news yet
Swyped on my blade
rubenvb said:
PS: I asked this Q on SO, with no response:
http://stackoverflow.com/questions/...264-software-encoder-with-an-ffmpeg-based-one
Click to expand...
Click to collapse
I replied you and you didn't even accept the answer.
Anybody tried this player
https://play.google.com/store/apps/...xLDIxMiwiY29tLkFuZHJvaWRBLk9ubGluZVBsYXllciJd
thisa codec is not compatible with armv6 vfp
https://play.google.com/store/apps/details?id=com.AndroidA.ffmpegCodec.armV6&hl=en
anybody tried for v7 and 6

[app] ffmpeg0.6

compile from https://code.google.com/p/ffmpeg-msvc/
update:replace the sdl renderer wirh D3D renderer.Its faster now.
View attachment ffmpeg_arm0.6.zip
View attachment ffplayD3D.zip
update:FFMPEG2.1
MinGW:configure --enable-avresample --enable-postproc --enable-gpl --enable-shared --disable-static --toolchain=msvc --disable-yasm --disable-network --disable-doc --extra-cflags="-D_M_ARMM" --enable-cross-compile --target-os=win32 --arch=win32 --extra-ldflags="-MACHINE:ARM" --disable-dxva2
View attachment ffmpeg2.1_ARM.zip
This was my best news. At lease I can use this before VLC metro were release.
Nice work. The site claims it's missing the decoders, though; what formats does it support? Does it just use the Windows built-in ones?
It can open the most of video, at least. But most of them, usually the one that build in video app can't play, it very slow and the video so lag then video and audio doesn't sync.
GoodDayToDie said:
Nice work. The site claims it's missing the decoders, though; what formats does it support? Does it just use the Windows built-in ones?
Click to expand...
Click to collapse
It uses native decoders.I have tried rmvb,wmv,x264,mpeg2,vob.FFplay uses sdl1.2 and its very slow on Windows RT so I am looking for a third part player based on ffmpeg which support D3D or DDRAW renderer.
Why FFmpeg didn't include in list at http://forum.xda-developers.com/showthread.php?t=2092348 ?
Short version? Because I haven't added it yet.
Long version? Because I wasn't sure that it would actually be usable, due to either lacking codecs or having them run very slowly, and I haven't had a chance to test it yet. You may notice that the list tends to get updated a bit sporadically; I try to get to it a couple times a week but sometimes life gets in the way.
Its easy to compile the new ffmpeg version with msvc and MinGW.Can any one help to compile it?I know nothing about MinGW so its too difficult for me.
http://ffmpeg.org/platform.html#Native-Windows-compilation-using-MinGW-or-MinGW_002dw64
http://social.msdn.microsoft.com/Fo...loading-ffmpeg-dlls-in-win8-app?prof=required
If we could use MinGW for RT, we could port a *lot* more apps. I don't know how to adapt those instructions for targeting RT even if the whole thing does compile under MSVC, though it may be possible. Worth a look, at least. It's worth remembering that VLC is / has done a lot of work targeting MinGW-gcc for WinRT including ARM; hopefully it can be targeted for desktop RT pretty easily too.
im sorry for this noob question but sir, could you please wrote a detailed instruction how to install this? im running win8 enterprise.
GoodDayToDie said:
If we could use MinGW for RT, we could port a *lot* more apps. I don't know how to adapt those instructions for targeting RT even if the whole thing does compile under MSVC, though it may be possible. Worth a look, at least. It's worth remembering that VLC is / has done a lot of work targeting MinGW-gcc for WinRT including ARM; hopefully it can be targeted for desktop RT pretty easily too.
Click to expand...
Click to collapse
I imagine Windows binary formats are generally the same no matter what the context. So it will probably work. Wish they'd release even a WIP version of the compiler just so we could play with it!
gradd said:
im sorry for this noob question but sir, could you please wrote a detailed instruction how to install this? im running win8 enterprise.
Click to expand...
Click to collapse
You're in the wrong world... this is Windows RT, not 8.
dude, you rock!
windowsrtc said:
update:replace the sdl renderer wirh D3D renderer.Its faster now.
Click to expand...
Click to collapse
OMG, this is soo awesome dude!!! Just got my new RT and was sad about the fact that there is no proper mkv-player (at least not free)
Your work is brilliant, and I hope you get some time to make it even cooler
the Video playback is FLAWLESS, and i dont mind to do the mouseclick inside the Video for Forward and rewind, but is there a possibility to get real full-screen? (i just maximized the window)
EDIT: nvm I got it: its " f "
Greatfully
Blade
Why are "PowerDVD" and "mobild.HD media Player" able to play "10GB+""1080p"-mkv-files flawlessly? Do they bring their own Codec?
720p files runs fine with ffmpeg0.6arm+D3D-mod, but the 1080p-mkv files are playing very very slow, even with Parameters "-fast" and/or "-framedrop"...
Thank you so much
BIade said:
Why are "PowerDVD" and "mobild.HD media Player" able to play "10GB+""1080p"-mkv-files flawlessly? Do they bring their own Codec?
720p files runs fine with ffmpeg0.6arm+D3D-mod, but the 1080p-mkv files are playing very very slow, even with Parameters "-fast" and/or "-framedrop"...
Thank you so much
Click to expand...
Click to collapse
PowerDVD do indeed use their own codecs, the developer are part of the group which write up the specs for DVD video and various video formats etc. They can write a ton of codecs, they are not open source.
SixSixSevenSeven said:
PowerDVD do indeed use their own codecs, the developer are part of the group which write up the specs for DVD video and various video formats etc. They can write a ton of codecs, they are not open source.
Click to expand...
Click to collapse
Oh thank you so much for your answer!! I was wondering this the whole time, but didn't dare to ask till today. I assume the mobile.HD media Player do the same...
Thankfully
Blade
update:FFMPEG2.1
MinGW:configure --enable-avresample --enable-postproc --enable-gpl --enable-shared --disable-static --toolchain=msvc --disable-yasm --disable-network --disable-doc --extra-cflags="-D_M_ARMM" --enable-cross-compile --target-os=win32 --arch=win32 --extra-ldflags="-MACHINE:ARM" --disable-dxva2
windowsrtc said:
update:FFMPEG2.1
MinGW:configure --enable-avresample --enable-postproc --enable-gpl --enable-shared --disable-static --toolchain=msvc --disable-yasm --disable-network --disable-doc --extra-cflags="-D_M_ARMM" --enable-cross-compile --target-os=win32 --arch=win32 --extra-ldflags="-MACHINE:ARM" --disable-dxva2
Click to expand...
Click to collapse
You have MinGW compiling for windows RT?
SixSixSevenSeven said:
You have MinGW compiling for windows RT?
Click to expand...
Click to collapse
It does mention --toolchain=msvc ..... :/
Sent from my GT-I9505 using Tapatalk
Oh well, at least there was a hope.
MemoryController said:
It does mention --toolchain=msvc ..... :/
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Missed that

Categories

Resources