[Q] Handbrake converting - Videos look squished - Vibrant Q&A, Help & Troubleshooting

I was hoping someone around here has some experience with creating videos in Handbrake. I've done it many times, however I'm running into an issue where the videos look a little squished horizontally, or stretched vertically if you will.
I've tried multiple different resolutions when converting a 1080p video (1920x1080) and have followed this guide: http://forum.xda-developers.com/showthread.php?t=729094
Has anyone found the perfect resolution for converting a 1920x1080 video file to look good on the Vibrant?
Thanks in advance!

If it's a true 1080p, without black bars anywhere, the best resolution would be 800x450, that is 16:9 or 1,7777 aspect ratio. I'm used to 720x400 though, for better compression, or even 640x352.

Ah I haven't tried those resolutions... will give it a try. Thanks!

Well I tried 800x450, and the video still looks stretched out vertically.

Moved of: Samsung Vibrant > Vibrant General
To: Samsung Vibrant > Vibrant Q&A
Please put your questions to: Vibrant Q&A

Related

[Q] slow-motion camera or port of droid X's camera?

Is there a way to take slow-motion video with the Vibrant camera? I know that the droid-X has one but i cant find a port or anything that will work on the vibrant.
so if anyone knows if there is either a port of the Droid X camera or maybe a slow-motion app I would appreciate it.
bpackard said:
Is there a way to take slow-motion video with the Vibrant camera? I know that the droid-X has one but i cant find a port or anything that will work on the vibrant.
so if anyone knows if there is either a port of the Droid X camera or maybe a slow-motion app I would appreciate it.
Click to expand...
Click to collapse
The way most consumer digital cameras do slow-motion video (and video at all) is to record many different frames on the camera's CCD chip. The Vibrant's CCD, for example, can take 2560x1920 still images. It also records 1280x720 video at 30fps. To do this, it puts 4 different frames on the CCD, one after another. (1280 times 2 is 2560, so you can fit two frames across and two frames down, so that's 4 images on the CCD at once.)
To do slow-motion video, you just need to subdivide the CCD even further to fit more frames on it. This is why cameras that support slow-motion video record it in lower resolution--you're not really speeding up capture so much as stuffing more frames on a single CCD, which has limits in how quickly it can refresh.
On the Vibrant, you could theoretically do 120fps in 640x480 resolution by subdividing the CCD into a 4x4 grid (instead of the 2x2 is uses to do 720p 30fps). This gives 4 times as many frames per CCD refresh, which means 120fps. (Or you could do 720x640 at 60fps by subdividing into a 4x2 grid--half the pixels of a 1280x720 at twice the frame rate.)
Are the camera hardware drivers open source? My knowledge of Android stops at the API--I've never done any low-level device driver programming. If you can get the camera driver source, this should be possible. But I have no idea how difficult it would be.
(I'd love to see this feature, though--I found this thread searching around to see if anyone had done it already.)
Bump. I'm assuming this is a development dead end until we get the camera driver source...but it'd still be awesome to have this feature on more Android devices.
chuckbass... what you says is no sense, forgive me, but that isn't the way slow motion works, if there is a way to get a frame from an area of the ccd and subdivide in 2x2 you will get 4 incoherent images cos each will be sepparated by half resolution
Slowmotion it's dependant on how fast you can get the whole frame from the CCD, resize, apply some compresion or not, and store
in this part the RAM memory has a vital role
the proccess is:
1) get the whole frame from ccd, it's can be done by api's, but I think may be slow, but you need to test first, but through apis is more compatible
2) resize the frame, at least you can get a resized by hardware image, I think through apis the cdd can return an jpg
3) store to ram in raw mode or the jpg
repeat at fast the cpu can until fill the reserved ram
this may works to do a burst slow motion for a few second but very fast frame rate
another ways is to apply an algorithm and store in ram just if it's necesary but better to store directly into a fast SD memory to record continuously, here you can do test to find the max memory you can store to SD and maybe not using compression but just store in raw mode (like a bmp, or rle bmp)
there is no relation with resolution/frame rate and how much slowmotion you can do
I mean, if you can record [email protected] that doesn't necessary means a [email protected]
samsung omnia i900 can get arround 120 fps in 320x240 in a low bitrate video, works fine with good light, and [email protected]
Galaxy S can record [email protected], but has a better cpu and gpu
It's depends on cpu power, and/or gpu (and not in MHz)
I don't know about android programming, and just a few useless things in winmo, but I'm glad if I can help with anything
it's seems that not much ppl is interested on slowmotion, funny, cos is a very nice feature!
if there slowmotion in galaxy S or optimus 3D I will buy, but for now I will get a Casio EX-F100 and a Nintendo 3DS soon

[Q] 1080p zoom problem (solved)

Hi all, I have a mod for the Potatoman/hyperX hack, which solves the 'camcorder zoomed-in at 1080p' problem, and also allows zooming at 1080p...
Because it's my first post here, I can't add a link to a new apk on the dev thread...admins, is it possible to get permission to do so?
Why don't you just paste the text for the link but with a few spaces then? It's not like people don't recognise links here just because there's a space.
Also, can't you just attach it to your post?
Sure
Download/install.
Choose 1280x720 for resolution...shoot/zoom/record etc.
Now check the properties of your recorded file...
The only catch at this stage is you lose the original 720p functionality, which wouldn't be hard to add back in with more work. Also note I'm currently using the 'super high-bitrate' settings for both the original 1080p(zoomed) mode, and this new one. I haven't had a chance to test those bitrates myself under difficult rendering conditions (daylight, detailed moving foliage/city scene etc) for stability, so can't make any guarantees in that respect.
A few commenters have mentioned being willing to donate to have this functionality, and I happen to be exceedingly broke atm Not sure if my paypal link appears yet, but any contributions would be much appreciated!
Neato burrito, but I'd like to keep my 720p functionality too. Hmm not paying for small functions like this.
Uncrippling the sgs2's fixed 2.0x zoom ratio at 1080p is a small function?
scratchiester said:
Uncrippling the sgs2's fixed 2.0x zoom ratio at 1080p is a small function?
Click to expand...
Click to collapse
You not just taking the 720p version and resizing are you?
+ the sensor in not capable of zooming in 1080p (sensor crop) as there are no more devisions for pixel binning. So this is a digital zoom?
Post any video links as examples?
I'm sorry to say that this mod is upscaling from 720p (that you have to use to use the 1080p mod) to 1080p when you use this mod.
So the videos looks way worser than my true 1080p movies that i have recorded with my Galaxy S II.
So yeah, the mod doesn't work.
EDIT: Hold on, i'm gonna upload a short video clip to show you the difference.
EDIT 2: Here is the true 1080p recording i did on my Galaxy S II one and a half month ago. This video clip is taking 145 MB and lasts for 1 minute. Just right-click on the link and choose 'Save as'.
And here is the "fake 1080p" recording with the mod from this topic. This video clip is taking 36.5 MB and lasts for 15 seconds. Just right-click on the link and choose 'Save as' here to.
Tom-Helge said:
I'm sorry to say that this mod is upscaling from 720p (that you have to use to use the 1080p mod) to 1080p when you use this mod.
So the videos looks way worser than my true 1080p movies that i have recorded with my Galaxy S II.
So yeah, the mod doesn't work.
EDIT: Hold on, i'm gonna upload a short video clip to show you the difference.
EDIT 2: Here is the true 1080p recording i did on my Galaxy S II one and a half month ago. This video clip is taking 145 MB and lasts for 1 minute. Just right-click on the link and choose 'Save as'.
And here is the "fake 1080p" recording with the mod from this topic. This video clip is taking 36.5 MB and lasts for 15 seconds. Just right-click on the link and choose 'Save as' here to.
Click to expand...
Click to collapse
Thanks for that!
I do think the OP should mention the simple resize of 720 as not to mislead people. Especially if donations are being asked for!
Yes, you're right, deanwray and Tom-Helge.
Did some testing of my own earlier...
Ah well, was excited there for a bit.
Interesting the encoder can do different res to file on the fly, which might be useful for something or another...but that's about it.
DO NOT DONATE!
1080p zoom problem (solved)
scratchiester said:
Yes, you're right, deanwray and Tom-Helge.
Did some testing of my own earlier...
Ah well, was excited there for a bit.
Interesting the encoder can do different res to file on the fly, which might be useful for something or another...but that's about it.
DO NOT DONATE!
Click to expand...
Click to collapse
Didn't actually realise you were asking for donation for something you had not done!!!
wow!!!

[Q] 3D movies and aspect ratio other than 16:9 look stretched no matter what

I have been converting some 3D movies to watch on the Evo 3D. 16:9 movies display perfectly. However, if a movie has an aspect ratio wider than 16:9, the Evo 3D always plays it stretched. The Evo does not allow you to change the playback mode between "best fit" and "full screen" while in 3D mode. That being said, if you choose "full screen" while in 2D mode and switch to 3D, the result is as expected: no black bars, but video stretched. If you choose "best fit" while in 2D mode and switch to 3D, black bars appear (as you would expect), BUT the video remains stretched, and the black bars actually trim the image.
So, other than editing the video and adding black bars, it looks like we're stuck with stretched faces. =(
Has anyone else noticed this? Any other solutions?
Thanks!
M
EDIT: Forgot to mention, 1st picture is 3D full screen, 2nd picture is 3D best fit, 3rd picture is 2D full screen, and 4th picture is 2D best fit.
It was right in front of my stoopid face!
Change Handbrake's cropping to custom, at least for videos whose source is 16:9 anamorphic.
Continuing the monologue...
I came across a 1920x800 file, and Handbrake doesn't seem to have the ability to add black bars, so I ended up cropping Left/Right to fill screen while maintaining the correct aspect ratio. This is good in a way because you maximize the use of the Evo 3D screen, but I may not want to do that to every wider 3D movie I come across.
Does anyone know of a quick and easy way to add black bars to an mp4?
Thanks.
M
EDIT: Yeah... don't do what I did (crop left/right). Pretty dumb move.
Yes, the cropping thing is a bad idea because it will crop the right side of the right image and the left side of the left image, leaving you with a completely misaligned 3d image.
I am at the same point as you are (or were). Cropping is not the way to go, but i will try to add black letterboxing bars. This seems to be not possible in Handbrake, but there must me some video encoding software that will let me do this. I will post if i have a solution.
As i do not like letterboxing, it would be ideal to have a solution here it would be possible to crop from the middle of the video, where the left border of the right and the right border of the left image are, if you know any video software that can do this, please post it!
I crop them, because if I don't I have black bars and I wanna use the whole screen when watching 3D.
How do you crop a SBS 3D video? All video encoder programs i know let you cut away the right and left border, but if you have a SBS 3D video, you would need to cut away the middle of the video too, where the other borders of the two images meet.
If you have a method to do that, please share it, as i too would like to use the whole screen.
---------- Post added at 12:58 AM ---------- Previous post was at 12:41 AM ----------
Okay, i have had success in adding letterbox bars. I have converted a 1280x538 video to a 960x540 and added letterbox bars, so it is displayed without distortion now. I don't like the black bars though, so i hope DexterMorganNL will elaborate on his method to crop the sides of 3D SBS video.
P.S. I used Sothink video converter, in the "advanced" tab on the right side of the window just select 960x540 as "Dimension" and click on convert.
I crop the Top and Bottom below away when converting with handbrake. It works good, I already watched 3D movies that I needed to crop.
It looks like we misunderstood each other then. It seems you were talking about movies with a lower aspect ratio than the phone's screen, for instance 4:3 (=1.33:1). If you add black bars to the sides of a video, it is actually called pillarboxing, by the way.
However i was talking about movies that had a higher aspect ratio and are therefore wider than the phone screen. For instance the video i converted to test the letterboxing had a resolution of 1280x528 which roughly equals 2.39:1, a common aspect ratio in cinemas.
For those videos, i currently have no alternative to letterboxing, as you cannot crop the sides because of the reason already described.
OK, i have sucessfully cropped the left/right borders by creating an avisynth script that first crops away everything but the center part of the left image that i want to keep, then does the same to the right image and finally combines the two center portions of the two images side by side. This is the script:
Code:
Sourcevideo = FFVideoSource("C:\Example\Example.mkv") # <= Loads the 3D-SBS source video
Lefteye = Sourcevideo.Crop(80,0,-720,-0) # <= Cuts away 80 pixels from the left side and 720 pixels from the right = the center portion of the left image is kept
Righteye = Sourcevideo.Crop(720,0,-80,-0) # <= Cuts away 720 pixels from the left side and 80 pixels from the right = the center portion of the right image is kept
Combinedvideo = StackHorizontal(Lefteye, Righteye) # <= puts togeter the two center portions side by side
Return Combinedvideo # <= Outputs the two portions as SPS 3D video.
This script was made for the 1280x528 mkv video i mentioned earlier. Obviously you have to change the amount of pixels to be cropped if you want to crop video of a different resolution. For a 1920x800 video, it would be 1084 and 124 pixels, for instance.
I used MediaCoder to load the avisynth script and encode the new cropped video. As the audio does not need to be changed, i extracted it from the original .mkv file with MKVextractGUI2 and loaded it with Mediacoder, enabling the "External File" checkbox (and also the "Copy Audio" one, as the audio should not be reencoded).
Of course you need Avisynth installed in order to do this, plus the FFmpegSource2 plugin.
So, i'm pretty happy and i think this answers the original question of the OP.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Wow! Thanks! Will give it a shot.
lufc said:
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Click to expand...
Click to collapse
Sorry. Was the Q&A forum there back in August? My bad.
Mexico said:
Wow! Thanks! Will give it a shot.
Click to expand...
Click to collapse
No problem, it would have been a waste spending time and effort to find a way to do this and then not share it.
If you have any question, let me know.
Oh, and btw, additionally to avisynth you need to have the FFmpegSource2 plugin installed, at least for .mkv files. It is possible you'll need other plugins for different input files, i am no expert on this stuff.

Best Video Conversion Settings for Mini/Pro?

Hi all,
I'm testing what video conversion settings might be good for our Mini. So far, if I use 640-320, it either doesn't fill the screen, or if it does, the people in the video look squashed...
Anyone been testing?
i actually never convert any video since most of the video format simply plays on the phone. what player do you use? i use mxvideo player, the problem when you're converting is, its squeeze the whole frame to fit into inappropriate ratio that's why everything looked squashed.
mxvideo player gives you the zoom option, and you can choose the one that fit you best(might crop the video a bit)
WOW
I just found the BEST settings! I've tried this with my ipod classic so many times and never got it perfect...but for the Mini! Try this!!
I use Format Factory. Handbrake is also good. In format factory, I found the iphone (no idea which version, doesn't say) has the same resolution) though I searched for many devices. I selected that then edited it a tiny bit:
MPEG4(DivX)
480x320
bitrate 576 (or similar)
FPS Default
Aspect Ratio Fully Expand
Sample Rate 44100
Bitrate Default
I've been testing conversion of a 2 minute trailer, you don't want to test on a full film etc. because if it doesn't work out you will waste 1-2 hours every time it's a bad conversion... I've done about 6 tests on a film trailer and this format is absolutely perfect...the entire video is on screen, nothing is squashed, the audio is so crisp and clear...wow! Time to convert en-masse!!
p.s. I have disabled auto-brightness. I highly recommend anyone wishing to convert films etc. to do that...the screen is WAY to dark without disabling auto-brightness.
Try a trailer or other short video on the above settings and see for yourself...
have yu try a full movie & whats tha outcome?
i used xilisoft video coverter 6 ..
the setting i set to Android MP4 profile ..
change the size to 720x480 with high quality
also used a little pan and scan to zoom it a little
and at 30fps..
play it to my mini with stock video player is like watching an HD movie
whalesplaho said:
have yu try a full movie & whats tha outcome?
Click to expand...
Click to collapse
I have tried this with one of my favourite films and I'm delighted with the progress!
To the other guy...how's the aspect ratio? Nobody is squashed? I'd like to try that too!
phoneyericsson said:
I have tried this with one of my favourite films and I'm delighted with the progress!
To the other guy...how's the aspect ratio? Nobody is squashed? I'd like to try that too!
Click to expand...
Click to collapse
thanks for yur response brov....
phoneyericsson said:
To the other guy...how's the aspect ratio? Nobody is squashed? I'd like to try that too!
Click to expand...
Click to collapse
If you're asking me ..the aspect ratio is 16:9 ..but when i use pan and scan effect ..it will make it fit to screen without nobody squashed as in because its zoom

App to play YouTube videos on 4:3 aspect ratio

Our nexus has a very annoying aspect ratio, most of the YouTube videos won't just fit for full screen.
Is there any way we could make these videos fit on full screen!?
Change YouTube app's aspect ratio, or any other app which can play online YouTube videos, where we can make it fit on full screen I.e. with 4:3 aspect ratio???
Sent from my Nexus 9 using Tapatalk
I'm sure there are ways to do this, but it would result in cropping out and stretching parts of the video. It would be very unpleasant to watch.
I just got a Nexus 9 myself, and this has been my primary complaint so far. I also have an Ipad mini, so I am used to the 4:3 form factor. What's nice about Ipad is that in my video apps, there is an option to autocrop to full screen. I wish we had that on the N9 as well. For the majority of videos, it isn't that "unpleasant" at all, actually.
Install SecondScreen
https://play.google.com/store/apps/details?id=com.farmerbb.secondscreen.free
This app let's you adjust your screen resolution so fullscreen videos fill the entire screen. (Requires Root)
enriquejones666 said:
Install SecondScreen
https://play.google.com/store/apps/details?id=com.farmerbb.secondscreen.free
This app let's you adjust your screen resolution so fullscreen videos fill the entire screen. (Requires Root)
Click to expand...
Click to collapse
what settings you use to make youtube show full screen ideso
lilliput222 said:
what settings you use to make youtube show full screen ideso
Click to expand...
Click to collapse
You're right. Second Screen only works when you project your screen onto a TV (miracast). I ended up using Dolphin Browser and MXPlayer. When you watch a video in Dolphin and click the Fullscreen box on the video, the fullscreen window has a 3dot menu in the upper right. When you click that, you get the choice to select a different video player. Select MXPlayer (installed separately) and the video will play in MXPlayer, which has controls for scaling the video. Set it to Fit Vertically, and it will fill the screen. Not an ideal solution, but it works.
When widescreen tvs were new (I'm that old) it irritated me to see people, mainly older people, watching 4:3 ratio programmes 'stretched' to fit. Watch stuff as it is intended to be seen!
If you have a nexus 7 it's a perfect size for widescreen. Okay, so older 4:3 ratio stuff will be a bit small. But think of the poor iPad users who paid four times the price for a larger 4:3 ratio screen just so they can watch widescreen material letterboxed at the same size as a nexus 7.
And dont get me started on people who video on their phones vertically...

Categories

Resources