Related
Hi everyone,
I would like to add some video into by Dash, but I don't know what is the best format to use.
What value to use in each setting to have a smooth video playback?
Sampling rate: ?
Bit Rate: ?
Frame Rate: ?
Video Size: ?
Thank all for the input
10507
I just use Vio Video converter from thepiratebay.org. It converts all videos in a format specific to the particular phone. Look up vio video converter on google.
skyline247 said:
I just use Vio Video converter from thepiratebay.org. It converts all videos in a format specific to the particular phone. Look up vio video converter on google.
Click to expand...
Click to collapse
Thank skyline247 for the quick reply.
I will look that up
Thank
Just as an addition Mono low bitrate sound to keep down on data and make easier to read.
Also the framerate should be the same as original source can be found via right click properties on original file. "other wise you can get output like 2-1 pulldown does on frames"
i think the best video format in terms of size first is flv,which r youtube videos format once u download them in the flv format just put them in ur Dash
I use Youtube Video downloader its a free tool to download nd convert youtube videos
if you want perfect dvd quality .avi files are the way to go. play em' using tcpmp. however .avi files tend to be large files so that's the only drawback (of course not unless you have an 8 gig like me =)
i encode them in avi using virtualdub or tmpgenc
bitrate 288, 2 pass encoding,
320x 240
for proper aspect ratio use this
http://andrew.hedges.name/experiments/aspect_ratio/
put source ratio, then put 320, get the 4th parameter !
audio - 128kbps or 96kbps (songs or speech), cbr, 32mhz sampling
i don't care for size, cause i got 8gb card in it
first get the tcpmp then the pocket divx encoder its free and encode your videos on xvid in avi containers ive been able to play 1 gig movies with a bitrate around 1000 and a resolution of 640 * 270 and audio at 128 but you dont really need that much quality because the dash only has a screen of 320 * 240 soo just resise the video and play with the bitrate till you get what you want ohhh and dont use h 264 it requires more prossesing because the compression its more complex soo you wiil get a very low framerate really the best is xvid hope this helps
Thank everyone for your great and valuable information. I will do on your advice
Thank all
Hi I have just started using handbrake and I am a little baffled. What settings or programs do use to encode video for the Desire?
I tried one encode to .mp4 using h.264 codec however I only get the sound and no video. Any help would be appreciated....
use Mpeg-4 instead of h.264 at 800x480px, works fine
I use the built in settings for the iphone and it works fine!
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
JaykaySLO said:
use Mpeg-4 instead of h.264 at 800x480px, works fine
Click to expand...
Click to collapse
Hi how do you set the size to 800x480 and maintain the original aspect ratio?
There is no way. 800x480px is the max resolution to use. If you have a file with a lower res, leave it at that.
Oh I see, I'll give that a go....
It's really odd that there isn't a decent video player app out there.....
you can set the width to 800px and pres the keep aspect ratio. that will set the height to whatever is needed to keep the aspect ratio.
If your after a decent media player try nemoplayer (I cant post the link to the thread but the thread number is 598509)
I converted a video to [email protected], it stuttered a little with the default player, but played perfectly with nemoplayer.
As for conversion, I have found Xilisoft to be very good, I paid for it to convert videos for my iPod Touch as it has great default profiles and its very quick as it uses all 4 cores of my CPU.
For the settings it depends on the video but I have been using the following settings for x264 MP4 video, these settings should work with any video converter.
16x9 video:
1000Kbps
192Kbps audio (for movies and music videos, 128 might be good enough for most)
resolution 800x450
It leaves the smallest of boarders top and bottom but it retains the corrent aspect ratio
4x3 video
800Kbps
192Kbps
reolution 640x480
that`s an overkill. 800 Kbps @23 fps, 96k audio is well enough. It plays fine on default video player. Smaller file size as well.
I tied 800Kbps and found it looked no better than the music videos I purchased from itunes which are smaller again and have a lower resolution.
I suppose the best thing to do is play about with bit rate for the video and go with what you are happy with, file size isnt a big issue for me when it comes to movies or TV shows as I tend to only have one or two on the SD card at a time.
As for audio please anything lower than 128kbps should be illegal
There's actualy a very nice thread on these forums discussing the settings for the HTC topaz and which programs to use, but since google turns up this thread as the first one I guess I'll add a little comment here as well.
Any converter should work to convert video to the right format, it doesn't matter which one u use, as long as your converter has the options to set the video bitrate, audio bitrate, aspect ratio, frames per sec and maybe some extra audio settings. I use format factory and It works great.
Mp4 format with AVC H264 videocoding is the way to go. how you turn the settings out is up to you and the space on your SD card (or lack of one).
I use the following settings to play HD video on my HTC Topaz:
-MP4 format
-AVC (H264) videocoding on 512 bitrate (you might go up to 768, but will lag longer videos which you encode from a HD source) and a 800x480 resolution.
-AAC audiocoding on 128 bitrate (indeed the minimum for people with sufficient hearing-capabilities, otherwise you might wanna go lower than that, but not advised as you can definitely hear the difference) and 44100 sample rate.
-Framerate of 25 (fixed, no real need changing this anyway, it's the best framerate out there, any higher will probably slow down your video on mobile devices)
-aspect ratio of 4:3 (you can pretty much set this one however you like, as long as you don't let it decide automaticaly. if you're not sure about your aspect ratio use this setting)
These settings work great on Topaz and are probable to work for other HTC models, as long as they have a maximum resolution of 800x480. One more thing is to notice that your HTC device (at least starting from Topaz (touch diamond 2) has the ability to playback HD content. You can test above settings with videos downloaded from the HD sample site from microsoft. point is the HD playback only works on the standard player coming with your device (windows mediaplayer) because the decoders are not freely given to other developers and therefore no other video playback program has them implemented in their mobile player.
Hope this helped.
c2k8cook said:
If your after a decent media player try nemoplayer (I cant post the link to the thread but the thread number is 598509)
I converted a video to [email protected], it stuttered a little with the default player, but played perfectly with nemoplayer.
As for conversion, I have found Xilisoft to be very good, I paid for it to convert videos for my iPod Touch as it has great default profiles and its very quick as it uses all 4 cores of my CPU.
For the settings it depends on the video but I have been using the following settings for x264 MP4 video, these settings should work with any video converter.
16x9 video:
1000Kbps
192Kbps audio (for movies and music videos, 128 might be good enough for most)
resolution 800x450
It leaves the smallest of boarders top and bottom but it retains the corrent aspect ratio
4x3 video
800Kbps
192Kbps
reolution 640x480
Click to expand...
Click to collapse
I installed Nemoplayer, but it only displays the videos in my DCIM folder? I have tried to move my test video over to that folder too, but it still can't find it. I converted it to mp4 with format factory, at 320 x something so the size should be ok
I usually encode in .mp4 h.264 base profile, max 3 ref frames, 800x640 res max and no cabac or b frames. At constant rate factor of 24 image quality is great and file size impressively small.
Tested on many videos, only mencoder needed, can't get any simpler:
Put this as one line in convert2desire.bat:
mencoder %1 -o "%~n1.mp4" -of lavf -lavfopts format=mp4 -vf dsize=800:480:0,scale=0:0,expand=800:480:-1::::,harddup -sws 9 -ovc x264 -x264encopts crf=24:force_cfr:bframes=0:nocabac:no8x8dct:global_header -oac faac -faacopts br=128:mpeg=4bject=2:raw -af volnorm=1 -channels 2 -srate 44100 -delay 0.3
Then run "convert2desire.bat tobeconvertedvideo.avi"
The resulting file will be tobeconvertedvideo.mp4
Lower crf to have even better quality and larger file.
The -vf parameters will always output a 800x480 file and other screen ratios will be correctly scaled to fit inside 800x480.
Mencoder download:
sourceforge.net/projects/mplayer-win32/files/MPlayer%20and%20MEncoder/revision%2031139/MPlayer-rtm-svn-31139.7z/download
I must say the screen of the Desire is top notch quality!
It is ridiculous how crisp everything looks for such a small device.
Let me know if this script works for you.
Anyone tried doubletwist? It looks like itune, and if we sync video, it will convert it to the format that standard player in desire can play.
I agree on the audio delay in your script, the desire seems to delay video by a little.
I'm trying for a while now to convert movies to be played on my desire.Right now I am trying using handbrake.However it just won't seem to play whatever I have thrown at it.
My average convert settings are something like this:
An H.264 .mp4 file @ 2mbps bitrate with mp3 or AAC audio @128kbps,resolution 800x480 or 1280x720.
I have also tried to play each converted video with RockPlayer but nothing changes.
Bear in mind that the only size limitation for me right now is fat32's 4GB limit.I use a Kingston 16GB class 10 SD.
Many many thanks in advance!
Strange, I've got an Avatar rip that I dl'ed and put straight onto the Desire that played with no problems, looks awesome as well. Plays through the default player or through Rockplayer as well
Sent from my HTC Desire using XDA App
Yeah,I am also trying this with Avatar.I have downloaded two versions,one 1080p that obviously doesn't play at all,and a 720p one that plays but is really really laggy.
Can you tell me more info on the copy of Avatar that plays ok on your device?
I do it in two steps:
1. PocketDivXEncoder, just to have a "clean" AVI in 640x480.
2. SuperC, no resize (I find PocketDivXEncoder better for resizing).
Video MP4, Codec MPEG-4, 15 Fps, 768 kbps
Audio AAC-LC, 44100, 2 channels, 128 kbps
Perfect, IMO.
lohpsch said:
I do it in two steps:
1. PocketDivXEncoder, just to have a "clean" AVI in 640x480.
2. SuperC, no resize (I find PocketDivXEncoder better for resizing).
Video MP4, Codec MPEG-4, 15 Fps, 768 kbps
Audio AAC-LC, 44100, 2 channels, 128 kbps
Perfect, IMO.
Click to expand...
Click to collapse
Thanks for the reply my friend but that's not what I'm talkin' about...I want high quality when I watch movies.Strangest thing is that I try to make my videos have the same settings that the Desire uses for the videos taken with its camera.To no avail so far!
Also,if anyone uses handbrake I think it would be a more productive thread!
I'm using AVS Video Converter now and my files works flawlessly. The settings are H.264 [email protected], 720p resolution (or native WVGA, as you like it), up to 8000kbps (without any problem for Desire) bitrate, no CABAC, MP4 ISO v2 container. Handbrake lacks some advanced settings, maybe you should try to change it.
But dude,it's a paid program,Handbrake is free,that's why I use it.I will try to find a cracked version though...
@Pigbrother
Man,can you please share the settings you use for H.264 with me?I encode again and again and,although it does play on the Desire,it lags like ****!
I do a H.264 @3Mbps,but I am confused with the advanced settings of it and probably that's where it all goes fuzzy!
I managed to snatch a copy of Avatar with Handbrake that plays well,but it's MPEG-4 @2Mbps(although it seems that higher would play no prob).But H.264 is better,so I want that if possible!
Here they are.
I'm using the default player with hardcoded subtitles (you can select them in the advanced tab, bottom of the screen)
Dude,this is STRAAAANGE!
Following your instructions and settings pigbrother,I got a small length video(a 1080p trailer of Harry Potter 7 I downloaded from youtube),I converted it according to what settings you used with a 3250kbps bitrate and 720p and it played super smooth while having the best quality I'd ever seen on a mobile device!Then,I converted Avatar with exactly the same settings and it wouldn't play!I tried stock video player,mVideoPlayer and RockPlayer but none worked,it just said it couldn't open the file.The only thing I can think of is that there is some sort of limitation regarding the size of the file to be played(mine was 3,8GB),because the only playing copy of Avatar I got was an exactly 2GB big one I got with Handbrake.
Please guys,If you can think of something help me!
Thanks!
So,guys,this is interesting.I made another copy of Avatar using AVS and I used some higher profile settings(like CABAC) to make an 720p H.264 mp4 file @4Mbps and checked the option to split it in 2000MB files.Total size is about 4,8GB for 3 files and it plays like heaven!The picture of it is the absolute best I've seen until now!
So guys,there is no meaning in disabling all those advanced options as they only give better compression and quality(while making the process of conversion slower however,mine took 7:30 hours with my E8400 Intel Core2Duo).You should only put a limit to the bitrate so that the output file doesn't get bigger than 2GB.
So that's it!Now,if there is any way to make the conversion using the PCs GPU which will make it far faster I'll be happy!
tolis626 said:
Yeah,I am also trying this with Avatar.I have downloaded two versions,one 1080p that obviously doesn't play at all,and a 720p one that plays but is really really laggy.
Can you tell me more info on the copy of Avatar that plays ok on your device?
Click to expand...
Click to collapse
Video
Frame W/H 720*400
Data Rate 1750kbps
Total Bitrate 1918kbps
Framerate 29fps
Audio
Bitrate 167kbps
Channels 2
Audio Sample rate 48 kHz
Hello,
I'm having some problems about playing 720p videos from HTC Desire Z. It plays some 720p videos smoothly which are recorded by itself (also there is a fps problem in there, some are about 19fps).
I wonder which {container, codec} we should use to play 720p videos smooth. I tried with several media players like Vplayer, Moboplayer, Rockplayer and Android's default media player.
I tried some files. Here their properties:
Container: MKV
Video Codec: H264
Audio Codec: AC3
Overall Bitrate: ~4.5Mbps
Length: 71min
Size: 2.2GB
This was a concert video.
--
Container: MKV
Video Codec: H264
Audio Codec: AC3
Overall Bitrate: ~4.5Mbps
Length: 40min
Size: 1.1GB
This was a tv show.
Rockplayer can play this videos but not smooth enough. It freezes for 5-10 milliseconds at every 1-2 seconds.
Using stock 2.3.3 ROM and stock SD Card.
Phone can play 480p videos smoothly but I think it can play 720p videos since it can record 720p videos.
Thanks in advance.
The DZ isn't actually powerful enough to play 720p videos from an external source. I can barely play 480p AVI smoothly. MKV and MP4 are a total lost cause for me. Haven't tried after I installed Virtuous 2.0 and had it OC'd to 1.5GHz though.
ArmedandDangerous said:
The DZ isn't actually powerful enough to play 720p videos from an external source. I can barely play 480p AVI smoothly. MKV and MP4 are a total lost cause for me. Haven't tried after I installed Virtuous 2.0 and had it OC'd to 1.5GHz though.
Click to expand...
Click to collapse
As far as I know, DZ has hardware decoding for 720p videos. So it can play 720p videos and DZ records with 8mbps and encodes with h264 and its container is 3gp. Only difference is container. Maybe changing container will fix this but I tried with avi, mkv. Maybe I should try with 3gp container.
Anyone tried?
Try dice player
Sent from my HTC Desire S using XDA Premium App
tcchuin said:
Try dice player
Sent from my HTC Desire S using XDA Premium App
Click to expand...
Click to collapse
Tried with its trial version but it says "sorry, this video can not be played" when i try to play video which I mentioned at my first post (tv show one) and also another video which is a mp4 video.
DicePlayer can not play any video in the phone
I use Rock Player Lite and it can play MP4 vids properly. Granted, I just OC'd my DZ to 1.5GHz, and an MP4 file encoded in h.264 with an average bitrate of 1.5kbps plays flawlessly. At stock speeds the audio goes out of sync and artefacts get introduced. Haven't tried MKV files since I OC'd yet though. Software decoding in RPL.
Hardware decode basically is the same as the default media player, software decoding takes up more CPU resources, but is able to play more formats and containers.
I haven't found any way to reliably open mkv container on desire z. MX video player by far does the best job (and yes, I've used other players like rockplayer, dice player, etc) but it still plays 720p mkv h264 slightly choppy. 720p h264 mp4 plays fine with software and hardware decoder, while 720 avi xvid can play smoothly on a small overclock.
I try to avoid 720 anyway because the difference between 720 and 480 on a 3.7inch screen is barely visible to me lol
Exactly lol. As long as it can play 480 on the DZ it's more than fine by me. 720p on a 480x800 screen... ~_~
MX Video Player.. Never heard of it. Gonna search and try that out. How does it compare to Rock Player?
i really liked rockplayer for a long time until i found out mx player had software codecs tweaked for ARMv7. Check it out on the market, its free anyway lol
I tried mx player but still there is the same problem.
I also tried to change the container to mp4. PC plays well but when I try to play on phone, video is smooth but there is no sound and audio codec is ac3. Maybe the problem is here.
I tried with rockplayer using software decoding, there is sound but laggy video.
Try MX with SW. Works fine on any container and format so far for me.
ArmedandDangerous said:
Try MX with SW. Works fine on any container and format so far for me.
Click to expand...
Click to collapse
Tried in 3 available mode in MX Player but still laggy video
The trick is to use video in the correct settings for the hardware decoder. If you do that then it won't matter if it's in mkv or mp4.
For the video portion, use baseline profile h.264 with the maximum bitrate (VBV) capped at 8mbps up to 720p
For audio, use AAC-LC in stereo.
Sent from my HTC Vision
ChronoReverse said:
The trick is to use video in the correct settings for the hardware decoder. If you do that then it won't matter if it's in mkv or mp4.
For the video portion, use baseline profile h.264 with the maximum bitrate (VBV) capped at 8mbps up to 720p
For audio, use AAC-LC in stereo.
Sent from my HTC Vision
Click to expand...
Click to collapse
I think so. But there is a problem when playing MKV files. There is problem after I changed container to mp4, though.
But the audio codecs of videos which I tried are not AAC. Maybe this causes the problem.
I don't know, how hard can it be to play videos which have AAC audios.
Use Handbrake to encode and it'll be easy to specify AAC for audio. You can use the iphone profile for encoding.
Hi again,
I've solved my problem. I use dice player which plays 720p mkv videos (even with ac3 audio codec).
I wrote here dice player can't play any video in the phone. That was a hardware decoding problem, I think. When I try to play an unsupported video format with hardware decoding, hardware decoding crashes and unable to play videos as it should be.
So, after that if I restart the phone hardware decoding comes back and plays videos perfectly.
Is this a common issue? If it is not should I do a factory reset to my phone?
To be honest, with our default 800*480 screen, we would not be able to take advantage of 720p quality as 720p is 1280*720 (Unless we stream it to a HDTV or Monitor). Re-encoding it to 800*450 is wiser to conserve file size as well
found this recommended settings at afterdawn for Handbrake or MEGUI. Tried it with rockplayer hardware decoding and it is smooth i used mp4 format
full link is here http://www.afterdawn.com/guides/archive/converting_video_for_the_htc_desire_z.cfm
Code:
Recommended Video Options
Format H.264 (MPEG-4 AVC)
Profile Baseline
Level 3
Average Bitrate 800kbps - 1800kbps
Max Resolution 800×480 @ 24fps
800×480 @ 25fps
800×432 @ 30fps
768×448 @ 30fps
720×480 @ 30fps
Maximum GOP Length 250
Minimum GOP Length 25
B-frames None
CABAC Off
Other Recommended Settings
Audio Format AAC
Audio Channels 2
Audio Bitrate 128kbps - 256kbps
Container (File Type) MP4*
Subtitle Format Timed Text or SRT **
Hey, I'm not sure if I had already posted this before but it didn't show up under similar threads.
What is the best setting to convert videos so that my arc S can play it flawlessly?
So far the settings that I've tried always makes the video a little choppy here and there. Any help would be appreciated since I really want to use my arc S to watch movies on my travels.
The settings that I need would be
1) Resolution Size
2) Frame Rate
3) Bitrate
4) What file type and etc.
Thanks
P.S. If you can share what program you use and put a download link that would be great.
i used to convert videos using these settings
resolution: 854x480, must fit arc's screen
frame rate: 30fps
bitrate: >1.5Mbps is fine to me
encoded in H.264, mp4 format
audio: AAC 128Kbps
i was using cyberlink media espresso
for freeware try http://www.hamstersoft.com/free-video-converter which supports hardware acceleration
how was the quality when it played on the arc?
heihei_ivan said:
i used to convert videos using these settings
resolution: 854x480, must fit arc's screen
frame rate: 30fps
bitrate: >1.5Mbps is fine to me
encoded in H.264, mp4 format
audio: AAC 128Kbps
i was using cyberlink media espresso
for freeware try http://www.hamstersoft.com/free-video-converter which supports hardware acceleration
Click to expand...
Click to collapse
Yes, you will have the best quailty playback if you set the resolution as 854x480.
Because the full resolution of arc is 854x480. If you have a video which the resolution is 1280x720, it will only play as 854x480 on the arc's screen.
mp4 is a good format of video to play on arc, too. because it can decode mp4 video using the hardware but not the software, so you can play mp4 smoother than other formats.
If you aim at best quality, then set higher bitrate say >3Mbps, but not too much because it will cause lag
I tried 1280*720 with 10Mbps @ mp4. Worked fine.
I've been using MoboPlayer and it works well. It's been playing all files that I've thrown at it without hiccups.
Today I tried to play Game of Thrones 720p.mkv video on my arc S, and it was't really smooth. It lagged a lot. I tried vPlayer and MoboPlayer, and neither of them worked.
So, what can I do, exept thah I convent video?
Sorry for my bad English.
EDIT:Nevermind, just tried DicePlayer, and it plays very well.
my xperia arc s doesnt support h264 video. is there any mod for that
my xperia arc s doesnt support h264 video. is there any mod for that.
i tested it on official ics and ultimate hd both rom.
many thanks