Encoding video - best settings? - Desire General

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.

Related

What is the best video format for Dash?

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

core player settings

converted some films to MP4 and on core player they are very stuttery
res 720 x 480
what are the best set up settings people are using for core player
thanks in advance
i play movies with CorePlayer without converting them.
I just copy paste my 700Mb AVI/DivX (1h30 min) movie onto my memory card, and it plays perfectly : smooth playback, and clear picture.
So need to convert anything.
I use the basic settings from Coreplayer... Works out of the box !
Even with my old Kaiser, it was playing well after some tweaking.
+1 same here...no conversion needed. I play a 1 1/2 hours avi movie with coreplayer with the default setting directly from my microSD 16GB with no problem. Smooth running too. Btw, this is my first time watch a full movie on my TP2, usually i only watch a small clip/trailer movie.
Very impression performance too.
Hunt down the pocketnow.com TP2 review. In one of their videos in the review, they do some benchmarking and come up with their ideal resolution and bitrate. It may not be final for you, but it's bound to be useful info.
use built in player for mp4 format! it uses the hardware effectively! i dont think coreplayer can utilize the hardware optimally nevertheless it is a good video player for many formats.

Hd video playback???

can tp2 playback hd video?
atleast 720p resolution???
it wud b great
since tp2 has dedicated graphics chip
and may be if we can overclock it!!
it wud be really nice to show off to frends its capability
plz reply i will b getting it after few days
thanks so much in advance
I think it's safe to say that it's impossible to play anything at 720p since our device's screen resolution is "only" 800x480 (720p=1280x720). That being said, video at or above our device's native screen res looks absolutely gorgeous (much better than the iphone's 480x320). You'll need to invest in Coreplayer if you want to watch anything though since the built-in player is very limited in the formats it supports.
Check out the last part of this video for some more info on video playback of the TP2.
yes bro i had seen tat review before
it states max 720*480 i guess
neways its still cool though my old UNIversal did tat too very well
was expecting a bit more
neways thanks for the reply
In theory, if a device were powerful enough, it could play back a 720p video and downscale it to the resolution of the TP2 screen on the fly. However, the TP2 doesn't even come close to having that kind of power. (The HD2 might).
CorePlayer will play a much wider range of video formats than the inbuilt video apps, but it's not free (costs $30) and, annoyingly, it's unable to make use of GPU-acceleration on the TP2. The same applies to all video player apps except the built-in ones - they run on the CPU only. This means you are rather restricted in terms of resolutions and bit-rates.
If you want something that will play a wide range of video formats and which doesn't cost any money, try TCPMP - you'll need the version from this post. When installed, choose DirectDraw as your video rendering method, then go into the DirectDraw settings page and tick the box that says "use blitting instead of overlays". TCPMP is significantly slower even than Coreplayer, but it does at least support AC3 audio, which Coreplayer doesn't, and, as I said, it's free.
However, for the best playback quality you should convert your videos into .MP4 format (on your desktop PC) and then play them on your TP2 using HTCAlbum. This is fully hardware-accelerated and can easily handle 800x480 mp4 videos (i.e. the TP2's full screen resolution) with a respectable bit-rate (e.g. 750kb/s). If you go to this thread or this one you will find two different desktop PC applications that are designed to convert videos into the optimum format for playback on a TP2 or Touch HD. The conversion can take quite a while, depending on the speed of your PC, but the results are very good, especially for HD source material.
There is no point in running 720P video on a 3.6", 480 x 800 screen. Properly encoded XVIDs look and run great on the screen and take up a fraction of the space on the memory card.
aldamon said:
There is no point in running 720P video on a 3.6", 480 x 800 screen. Properly encoded XVIDs look and run great on the screen and take up a fraction of the space on the memory card.
Click to expand...
Click to collapse
There is every point: http://forum.xda-developers.com/showpost.php?p=4891185&postcount=168
And what were you planning on playing an 800x480 xvid with on the TP2? You certainly can't use Coreplayer or TCPMP.
Shasarak said:
There is every point: http://forum.xda-developers.com/showpost.php?p=4891185&postcount=168
And what were you planning on playing an 800x480 xvid with on the TP2? You certainly can't use Coreplayer or TCPMP.
Click to expand...
Click to collapse
On a practical level, it's easier for me to batch transcode multiple 720p sources while I'm at work and then load, say, multiple 130MB and 400MB files onto an 8GB memory card that stuffed with mp3's and other videos than to copy just a couple of 2GB-4GB HD movies. I can understand your point about the practicality of having one file to deal with, but that's impractical on other levels simply due to file size.
The OP was referring to watching 720p videos on the TP2 in HD resolutions because the horizontal resolution is 800. It was pointed out that it doesn't work like that.
I've watched 624 X 352 xvid encoded avi's from HD sources and they aren't any less sharp than 800 X 480 transcoded mp4 files.
Some digital cameras like Sony TX1, etc already capture video in 1280x720p mp4 format. So it would be great if TP2 can play these smoothly. That would eliminate the need to re-encode videos that is very time consuming. And I can keep the same file for playback on both the phone as well as on computer and TV. At present, the hardware seems not powerful enough for TP2 to play these without dropping frames. When phones that come with with Nvida ION chips arrive, that would solve the problem. Adobe and NVidia have demonstrated how their chipset can play back full 1280x720p Flash video (H.264) at 30fps.
aldamon said:
There is no point in running 720P video on a 3.6", 480 x 800 screen. Properly encoded XVIDs look and run great on the screen and take up a fraction of the space on the memory card.
Click to expand...
Click to collapse
yeah i agree but its not about space
i mean a small music video which i wud like to share with everyone,etc
Samsung Omnia HD plays back these videos easily though it has a 800mhz proccy and a more powerful graphics chip but still i was eager if its possible!!
it wud surely help to carry some small HD video files than whole movies
Hanson68 said:
On a practical level, it's easier for me to batch transcode multiple 720p sources while I'm at work and then load, say, multiple 130MB and 400MB files onto an 8GB memory card that stuffed with mp3's and other videos than to copy just a couple of 2GB-4GB HD movies. I can understand your point about the practicality of having one file to deal with, but that's impractical on other levels simply due to file size.
The OP was referring to watching 720p videos on the TP2 in HD resolutions because the horizontal resolution is 800. It was pointed out that it doesn't work like that.
I've watched 624 X 352 xvid encoded avi's from HD sources and they aren't any less sharp than 800 X 480 transcoded mp4 files.
Click to expand...
Click to collapse
Thank you.
My Tilt 2 has trouble playing divx at 624X352 at full screen. My old Tilt can play the same 624X352 divx with no trouble at full screen. Both phones are using the same coreplayer with same settings. It looks like the Tilt 2 has trouble scaling 624X352 to full screen. The video looks pretty smooth on the tilt 2 if I play it portrait. Once I maximize the video to landscape full screen, the video stutters. I lighly doubt that Tilt 2 will able to play anything high def smoothly. I've also tested the same video on my friends BlackjackII. Her phones plays the same video smoothly at full screen. In case anyone wants to know Tilt 2 has 528mhz process while Tilt has 400mhz and BJII has 260mhz.
i searched google and to my astonishment, this TP2 still doesnt have the graphics acceleration?????!!!!!!!!!
holy **** why did i order this handset!!!
feeling like doomed, i was well off with my old faithful universal
cproaudio said:
My Tilt 2 has trouble playing divx at 624X352 at full screen. My old Tilt can play the same 624X352 divx with no trouble at full screen.
Click to expand...
Click to collapse
That's not surprising, since the Tilt's 640 x 480 screen necessitated letterboxing, so it didn't have to scale the video up. With a 800 x 480 screen, the video has to be upscaled on the fly.
That said, I can play the same xvid files you're talking about smoothly albiet with a dropped frame here and there (sound is perfect). This is with Coreplayer on my Sprint TP2. I have around 120MB of free storage memory -- I know that low storage memory can affect performance.
Why can't HTC just install 1GB of internal storage memory for all of their phones already? At least I have way more storage memory on the TP2 than the Diamond, but then again, I've only had the TP2 for 10 days.
Hanson68 said:
That's not surprising, since the Tilt's 640 x 480 screen necessitated letterboxing, so it didn't have to scale the video up. With a 800 x 480 screen, the video has to be upscaled on the fly.
Click to expand...
Click to collapse
WHEN DID THE TILT/KAISER GET 680*480 screen???
its the plain ugly 320*240 screen
You're correct, I was thinking the tilt was the touch pro since the tilt 2 is the touch pro 2. The tilt is the mogul.

Video encoding settings?Please help! :-)

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

All about Videos(Conversion softwares, formats,Video Players)

Hi guys I am starting this thread because i didn't find much information regarding:
1)Video conversion softwares.
2)Best video formats for obtaining least size with highest possbile quality
3)Converting full HD videos to be able to play on defy with the best quality
4)Best players available for defy to play good quality videos smoothly.
I have started experimenting on this..
I am using total video converter for conversion and Moboplayer for playing.
Keeping Resolution 854x480 and Video bit rate 2500Kbps.
I get a file of size 55Mb .avi(H.264) after conversion of a 113Mb .mov(1080p) file.
I want you people to tell me your methods and softwares for doing this.
I hope this thread will help all people having trouble in playing HD videos on their Defy.
I will keep updating whenever I find something new and useful info.
Thank You.
For the Defy, my favorite video conversion software is Handbrake.
It's free and it's the best at letting me crop 4:3 format videos the way I want easilly.
- Choose the 'iPphone Legacy' format
- Uncheck 'large file size' and 'Iphone 5G support'
- Select your file name/location and resolution [make sure that keep ratio is enable];
- Choose auto or set your custom cropping
- Let it do the re-encoding; it is very fast: it keeps both my cpu cores at 100%
The Defy will basically play anything smaller or equal to its native screen resolution but most of the time, I find that 640x360 looks just fine.
What is the best container for 720p movies? I tried .mkv but Software decoding is too slow...Video is chopy but sound is good.
I made my own HD video with Defy camera (auto packed it as .3gp), and when played it was also chopy and even slower than .mkv :S
mp4 is native
Ok, that is cool...I have MS2Ginger1.0 with 720p video shootin, but I can't change format when shootin a video...It saves it like .3gp :S
That just sucks then

Categories

Resources