[Q] Video - got conversions right but new problem - Xoom General

So I must admit, from a video playback issue, I've never owned a more frustrating device. That being said, because I love everything else about the XOOM, I've been willing to work to achieve good results. I have achieved great video quality with encoding times similar to what I saw when targeting my iPad, and file sizes that are totally manageable. I have attached the Handbrake profile I'm using. I hope everyone achieves similarly satisfying results. I am using Rockplayer.
OK, on to my new problem. Whenever I adjust the volume and it brings up the volume slider, the video slows though the audio continues, dropping the video out of sync. I have to jump ahead or back to bring the video back into sync. It is similar to the lag in video playback that happens when I first launch the video, but in this case, the playback corrects itself within seconds. Can anyone help with this issue?
I've messed with my XOOM like crazy since getting it, constantly installing and uninstalling applications and files. Could this be an issue?
Thanks in advance for your help!

While using RockPlayer are you using software or hardware decoding? Go to settings, scroll to the bottom and see if hardware decoding mode is checked. If not then check it, but please note you will have to uncheck the box when you want to decode non converted formats like Divx, Xvid, and MKV.
P.S. If all of your video files are properly converted H.264 videos with .mp4 containers you should be able to use use the gallery application to play all your videos, and if you don't like the gallery application for videos you can just use a file manager like astro or IO to select the videos from their folder and play them with the built in video player.

I personally use Total video converter & I have no problems with my video or audio.handbrake just wasn't what I was looking for.total video converter works flawlessly.
Sent from my DROIDX using XDA App

CJNYC said:
OK, on to my new problem. Whenever I adjust the volume and it brings up the volume slider, the video slows though the audio continues, dropping the video out of sync. I have to jump ahead or back to bring the video back into sync. It is similar to the lag in video playback that happens when I first launch the video, but in this case, the playback corrects itself within seconds. Can anyone help with this issue?
I've messed with my XOOM like crazy since getting it, constantly installing and uninstalling applications and files. Could this be an issue?
Thanks in advance for your help!
Click to expand...
Click to collapse
Some people have reported similar issues when using HB for various Droid models.
Personally I use the build-in Gallery for video playback, because it makes use of the hardware acceleration.
If you are interested, I have a few samples of 720p and 1080p video files on my website that play perfectly on the Xoom. Links on the site will stream as well.

Yes, I'm using hardware decoding in Rockplayer and I always used Handbrake for my iPad and Epic without issue. When I use the native gallery video player, the problem is worse, as the video starts to lag just from bringing up the playback controls. This is very frustrating. I will try some different converters and see how that goes.
Dvdcatalyst, I will give a few of your videos a try and report back.
Thanks everyone for your thoughts.

DVD Catalyst works great. I use the stock player and haven't had a single problem.
(Change the video quality to 1750 kbs in the Xoom preset).

i have no problem switching to DVD Catalyst but have one question...does it have the ability to monitor a folder? One thing that is so attractive to me about Handbrake is the ability to use Dropfolders to monitor my DVR folder, automatically convert recordings and dump them into my Dropbox. This makes all my recordings instantly available when I'm on the road.
Thanks

CJNYC said:
Yes, I'm using hardware decoding in Rockplayer and I always used Handbrake for my iPad and Epic without issue. When I use the native gallery video player, the problem is worse, as the video starts to lag just from bringing up the playback controls. This is very frustrating. I will try some different converters and see how that goes.
Dvdcatalyst, I will give a few of your videos a try and report back.
Thanks everyone for your thoughts.
Click to expand...
Click to collapse
Thanks
I tried RockPlayer a couple of months ago, and when it was still in beta, but I always come back to the default Gallery. I have never experienced sync or playback issues on the Augen Gentouch, Nookcolor, Droid X and the Xoom, but have heard numerous reports from people for all of these devices (and others) regarding other methods.
For the settings I use in my own software, for all devices it has profiles for) I make sure it plays as it should without the need of installing a different video player. Only for a few older iPaqs and Palm devices do I recommend the install of something else (TCPMP), but for Android, Gallery (or a player like Act1 which acts as a layer around the Gallery player to add new functionality) never gave me playback issues.

Sorry, when I use DVD Catalyst with the XOOM profile, the video comes out a stuttering mess. Here's the info on the files I'm looking to convert...
General
ID : 0 (0x0)
Complete name : L:\Sage TV\VideoQueue\1298603107274_CSICrimeSceneInvestigation-TurnOnTuneInDropDead-852346-0.ts
Format : MPEG-TS
File size : 2.82 GiB
Duration : 1h 4mn
Overall bit rate : 6 229 Kbps
Maximum Overall bit rate : 18.0 Mbps
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Format settings, GOP : M=4, N=32
Codec ID : 27
Duration : 1h 4mn
Bit rate mode : Variable
Bit rate : 5 533 Kbps
Maximum bit rate : 20.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 59.940 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.100
Stream size : 2.51 GiB (89%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 1h 4mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -50ms
Stream size : 178 MiB (6%)

CJNYC said:
Sorry, when I use DVD Catalyst with the XOOM profile, the video comes out a stuttering mess. Here's the info on the files I'm looking to convert...
Click to expand...
Click to collapse
It looks liek for some reason the framerate of the created file isn't processed correctly.
I noticed you used a SageTV Recording, could you create a small recording and email it to me, or maybe PM me a download link for a small (1-2 minute) clip?

dvdcatalyst said:
It looks liek for some reason the framerate of the created file isn't processed correctly.
I noticed you used a SageTV Recording, could you create a small recording and email it to me, or maybe PM me a download link for a small (1-2 minute) clip?
Click to expand...
Click to collapse
PM'd you a link to download a sample.
Thanks!

Additional detail
Additional detail regarding my problem - what I've discovered is that the video plays fine but it's only when the controls from Honeycomb are overlaid that the video playback begins to lag. In Rockplayer, bringing up the playback controls don't cause the video to lag, only the volume controls which are native to Honeycomb. Any additional thoughts? I'm thinking about wiping the system and starting from scratch to see if that makes a difference.
Thanks

thanks, I'll have a look at it in the morning. I am working on a small update that includes new Xoom profiles (the settings mentioned on my website) and will take this along in the process as well.

dvdcatalyst said:
thanks, I'll have a look at it in the morning. I am working on a small update that includes new Xoom profiles (the settings mentioned on my website) and will take this along in the process as well.
Click to expand...
Click to collapse
Thank you!

Shocked but I think I figured it out
OK, I'm shocked that I've actually figured out where I was going wrong. The files I was converting and having issues with were recorded using SageTV from a cable box set at 720p. 720p is 60 frames per second and Handbrake was set for FPS to be same as source. When I changed it to 29.97 FPS, I no longer experience issues with video lagging the audio when I adjust the volume or bring up the playback controls. I don't know if this is an important find, but I don't think it's a limitation limited to the XOOM, as I noticed my conversions using the iPad preset are also limited to 29.97 FPS.
I think I can go to sleep now

Related

DEFINITIVE VIDEO SETTINGS

Howdy all,
I have had my M5000 for some time now - and having some experience in video / compression settings, I have spent months fiddling back and forth trying to find the perfect settings for SMOOTH playback.
I have read thread after thread all over the web with half help, good ideas, etc but no definitive answers.
The strange thing is that after searching for a long time, I came accross an Xvid of Mr T's "Be Somebody" (don't ask) - and this runs absolutely perfectly on my M5000.
Analysing the exact compression settings with vDub and gSpot reveals the following :
Frame Size : 352x240, 29.970fps
Length : 90418 frames
Decompresser : XviD MPEG4 Codec
Number of Key Frames : 678
Data Rate : 802Kbps
Audio Sample rate : 44100Hz
Channels : 2
Compression : Fraunhofer IIS MPEG Layer 3
Data Rate : 96Kbs
Thinking I had cracked it, I then used these exact compression settings on several ripped DVDs, but to no avail. Jerk. Jerk. Stutter. etc.
I've even tried setting the data rate as low as poss for both audio and video, reducing frame size to tiny, but it still won't play smoothly.
So - after this long rant (apologies), could anyone please tell me the exact settings they use for absolute 'smooth as a button' playback - and if there's anything painfully obvious that I am missing?!
I am running these vids from my highspeed SD card, with TCPMP 0.72RC1 installed on the card also.
I am happy to use any software, but am rather keen on Pocket DVD Studio.
I am extremely jealous of those who appear to have full framerate playback, so please help - for the sake of my sanity!!
well my xda is in the post on its way to me, but i did have the same problem with a standalone divx dvd player. you need to go to moitah.net and download the mpeg4modifier and unpack the bitstream.... this sorted the problem for my divx player...
let me know how you get on
Greetings.
My Exec plays videos encoded with PocketDivxEncoder full screen with no stuuter or jerking. I simply use a preset for one of the Pocket PCs and it works like a charm. I use TCPMP as my video player.
Good luck!
lathe
Hi,
Same here. I use PocketDivxEncoder (free) and TCPMP, works like a charm. I tried upgrading to lathe (bought it) for the sake of being able to compress to a higher resolution for the possibilities of the universal, but that was not a succes. The extra options are nice but you end up with a blocky and stuttering picture (even if you put in the same configurations used in PocketDivxEncoder). After a couple of test runs like this I gave up on lathe and went back to PocketDivxEncoder. So my advice is to stick with this program for encoding.
Good luck with finding your best solution!
Hi I am on a universal, after not being impressed with wm player i upgraded to TCPMP aswell and its very good, full screen works wonders. As above its all free.
Have you tried encoding the video with Microsofts WM9 Encoder, it's free and, fair enough the resolution isn't great as with all these encoders for pocket pc, the picture is perfectly good on a 3.5" screen. WME has a built in Pocket PC profile to make converting a file even easier.
If the source is in 16:9 format the letterbbox is automatically added to keep aspect ratio or you can choose to crop the file etc......

Unable to watch movies fluently

hi guys,
I'm glad having a Xperia since last week....but I'm unable to run videos fluently - even with TCPMP 0.72RC1.
There was a "James Bond" trailer von the device when I have bought it, but it runs with 1 frame per 5-10 seconds!
even other movies don't play fluently.
Yesterday I did a hard-reset....but this didn't help.
Does anyone have the same problems?? Or a solution for this probs?
I even tryed out the "Turbo Speed X1 - Up to 8 X faster Performance than standard setup"...but even this didn't help...
//edit: there's no branding on the device...ROM: 1.02.932.3 from 08/29/2008
hi Cysign,
first i have to say sorry... i cannot help you with your specific problem.
but i have got a related problem. the bond trailer runs ok with my x1i... so i tried to rip a dvd for the x1 by myself using the following conversion-settings:
video: 480x270, h264, mp4, 25fps (pal) @ 796kbps
audio: aac @ 128kbps
this resulted in a 706mb file.
i copied the file via active sync to the 8gb flash card in the phone. all went well so far but when i watch the movie it looks somewhat "artificial". meaning that this movie looks like it was made by using a home-videocamera. (i hope this discribes it a little)
the bond trailer doesnt have this videoish appearance.
what went wrong ? are my settings exceeding the capabilities of the x1? or do you have other suggestions ? (btw, i tried to use the same settings as the bond trailer)
greetz
Did you guys trying increasing the buffering size in ur players? I personally use core player 2.0 and it plays perfectly but sometimes and this is rare but its like the graphics gpu is failing or something. All the images appear on the screen very slowly but a hard reset usually fixes that.
Guys, when I try to play the Bond movie, it prompt for license cert etc but it is still not able to play. How to resolve this problem?
chongbh said:
Guys, when I try to play the Bond movie, it prompt for license cert etc but it is still not able to play. How to resolve this problem?
Click to expand...
Click to collapse
which player?
that bond trailer ran pretty good on my x1a. i cant remember if i watched the whole thing or just to see how it ran but from what i did see, it was good. no lag or freeze up. i played it on the standard media player that came on the phone. i didnt play it thru the panel tho, i just played it by opening up media player. how were you running it? my x1a is pretty much all stock with no hacks on it.
i also had some movies that i ripped in .3gp format and from what i can tell, it also ran pretty good. i ripped these movies for my other phone (lg cu500) and my nokia internet tablet and so it also runs pretty good on the x1a.
i like ripping in .3gp because i can play it on any of my devices and the files are about 100mb per two hour movie. i think my resolution that i ripped my dvd was something like 480 x 240 but im not for certain. its kind of funny that not all devices will run mpeg because of the different variations of mpeg. kind of dissapointing when a product says it will a certain format but when you try and run it, it just so happen it doesnt support that perticular format.
Try Media Xperiance Panel, it is by far better than Core/TCPMP/WMP.
I think the media panel is the only app that support Hardware Accelerate in X1 at the moment.
but it doesn't play most formats and even some of my mp4s sadly
Similar problem here.
The only vid that plays well is the bond trailer.
All others (wmv) are played but with a horrible fps rate
Tried to start media player directly from the today screen and via panel... no difference.
Looks like a fast slideshow.
kanthai said:
Try Media Xperiance Panel, it is by far better than Core/TCPMP/WMP.
I think the media panel is the only app that support Hardware Accelerate in X1 at the moment.
Click to expand...
Click to collapse
i tried both, playing via wmp and the media panel but the appearance of my ripped movie stays the same....
there is no stuttering but (as i said in my first post) it looks like it has something to do with the framerate. ?
btw, here is a readout from the program "super 2008 build 33" of the bond trailer:
Video
-----
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec profile : [email protected]
Codec settings, CABAC : No
Codec_Settings_RefFrames : 2
PlayTime : 1mn 58s
Bit rate mode : VBR
Bit rate : 892 Kbps
Width : 480 pixels
Height : 260 pixels
Display Aspect ratio : 16/9
Frame rate mode : CFR
Frame rate : 24.000 fps
Standard : NTSC
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.298
StreamSize/String : 12.6 MiB
Language : English
Audio
-----
Codec : AAC LC
Codec/Family : AAC
Codec/Info : AAC Low Complexity
PlayTime : 1mn 58s
Bit rate mode : CBR
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44.1 KHz
Resolution : 16 bits
StreamSize/String : 1.81 MiB
Language : English
I tried a My name is Earl episode a few days ago. It's in 1280x720 resolution so I thought it would be a good starting point for a test.
I managed to play it ok i media player at 800x448 or around there, but only with 600 kbps bitrate. It looked ok and played fairly smooth. I would say around 20 fps.
For recoding I used the Xvid4PSP program with modified default MP4 profile.
You need to use x264 (AVC) profile 4.2 and AAC LC (Low complexity). Then it should play with hardware acceleration.
800x480 resolution may be overkill, since the pixels are so tiny, so I would recommend a much lower resolution (600x'something') and around 600 kbps bitrate for a nice result.
I just run the 350mb (ish) avi files direct in Coreplayer.
Res is around 640x352.
TV shows are fine, and IronMan only had a few drops in the high action scenes.
Here's what I do with my videos:
Open PocketDivXEncoder on my pc.
Select HD-TV as the option.
Select the movies I want to endcode.
Drop video quality to 70.
Audio qaulity to maximum.
Resize video (keeping aspect ratio) to 400 horizontal.
Encode.
These all play in Coreplayer smooth as silk
I personally do absolutely nothing. I download a movie and just place it on my sd card and watch it through core player. It plays smooth with no compression at all.
try using spb mobile dvd to convert your movies, i've done this with some movies that didn't play smoothly and now they all work perfectly
Im currently using TCMP im just wondering if anyone has any ideas for the optimal settings for it
Cheers
Bxsteez said:
Did you guys trying increasing the buffering size in ur players? I personally use core player 2.0 and it plays perfectly but sometimes and this is rare but its like the graphics gpu is failing or something. All the images appear on the screen very slowly but a hard reset usually fixes that.
Click to expand...
Click to collapse
what is a recommended buffer rate for watching videos?
Can someone confirm that the only player that utilises the media accelerator is the media panel?
I had thought that WMP also uses the accelerator.
Also what are the codecs the accelerator uses?
I've tried various MP4's and i've found only by lowering the resolution do I get smooth playback.
I'm currently going through the baselines for H.264 and found that baseline 3 does not play and baseline 1.3 does not get accelerated.
I'm currently (as I type) encoding a file with the baseline of 1 to see if that is accelerated.
I think we need to narrow down the exact codecs/media players/resolutions to use.
THJahar said:
I'm currently going through the baselines for H.264 and found that baseline 3 does not play and baseline 1.3 does not get accelerated. I'm currently (as I type) encoding a file with the baseline of 1 to see if that is accelerated. I think we need to narrow down the exact codecs/media players/resolutions to use.
Click to expand...
Click to collapse
the bond trailer is [email protected]
i'm currently using "super2008.33" and the readout of my re-encoded movies show [email protected]
how can we "upgrade" this baseline thing to e.g. L2.1 ???
--> did a quick search on the net....but no info about that...
nucleic acid said:
the bond trailer is [email protected]
i'm currently using "super2008.33" and the readout of my re-encoded movies show [email protected]
how can we "upgrade" this baseline thing to e.g. L2.1 ???
--> did a quick search on the net....but no info about that...
Click to expand...
Click to collapse
In super if you look in the video panel you can see the H264 Profile in the options section.
Click on the "H" button and the profiles pops open and select your baseline from there.
I've tried Baseline 1 now and still i'm not getting acceleration...the file still plays faster on Coreplayer than it does in the panel.
I'm wondering if this is because I have Jack's custom Rom using pubbas panel installer for the Media experience?
Also nobody answered me about whether or not WMP uses acceleration?

Encoding MKV Files for Playback

Hello Everyone,
After much testing/researching, I have finally found the best solution to encode .MKV files to .MP4 for flawless playback on the HD2 using MediaCoder. I have tried many of the other methods and settings provided by others on this forum and many of them were good, but simply took too long or sometimes caused choppy playback on the HD2.
Note: These settings will work for any video files, I just happen to use .MKV for their quality.
MediaCoder Settings:
Format: H.264
Mode: Average bitrate @ 1200Kbps
x264 Profile: Baseline
Audio encoder: FAAC
Audio Format: LC-AAC
Audio mode: Average bitrate @128Kbps
Container: MP4
Resize: 800x450
Aspect ratio: Set PAR 1:1
With these settings I have tested 12 different files ranging from 500MB-1.8GB in size(720p quality) and the largest took 34 minutes on my dual core CPU (intel i5). First tried playing the files with HTC Album player and CorePlayer and the results weren't very good and they included a lot of choppiness. After reading some others success with WMP, I decided to give it a shot and I was pleasantly surprised to find that it played the .MP4 files beautifully and without a single hiccup.
Some of you may already have solutions for encoding videos for playback on the HD2, but I have found these settings to be perfect for anyone who wants to encode HD .MKV files.
I want to thank everyone who has contributed to finding the best method of converting/encoding files for playback, but I can honestly say these settings will give you amazing quality and smooth playback, even in the most intense action scenes. Give it a try!
Thank you very much as this was one of my next endeavors to work on and you just saved me tons of time!
addicus said:
Thank you very much as this was one of my next endeavors to work on and you just saved me tons of time!
Click to expand...
Click to collapse
Not a problem, I honestly spent hours upon hours encoding with different settings and players to get it to run smoothly. One thing I haven't tried though is encoding 1080p files. If you do, let me know how they run!
Sure will - I have very few 1080 files to try right now (may be 1 or 2).
+1
Someone should sticky this, perfect playback on my HD2 with these settings!
Thank you so much.
Just saved me a ton of time figuring this out. Used for a couple of videos and they play great. Thanks
The only change I made is resizing to 800x480. Flawless playback.
addicus said:
The only change I made is resizing to 800x480. Flawless playback.
Click to expand...
Click to collapse
Good to hear, glad to hear it worked out just fine for you!
Thanks a ton! ^_^ Perfect quality and playback on my HD2!
Much appreciated.
Those settings have been available for a long time in another thread:
http://forum.xda-developers.com/showthread.php?t=582122
and here
No need for another.
Toss3 said:
Those settings have been available for a long time in another thread:
http://forum.xda-developers.com/showthread.php?t=582122
and here
No need for another.
Click to expand...
Click to collapse
Tried these settings and although they were good, took about an hour to encode, longer than the length of the video in the first place. The settings I posted are to encode video files quicker, and with MediaCoder and not TMPGEnc.XPress.
Different settings, different program
Those bit-rates seem awfully low to me, especially if you're not using CABAC. Do you not get better results with bit-rates >2000kb/s?
godsafk said:
Tried these settings and although they were good, took about an hour to encode, longer than the length of the video in the first place. The settings I posted are to encode video files quicker, and with MediaCoder and not TMPGEnc.XPress.
Different settings, different program
Click to expand...
Click to collapse
There's also a different thread for video encoders, but too lazy to look it up. Guess it's better to have a new thread every now and then instead of having 50 new "How do I get my HD2 to play videos smoothly?" threads show up every other week.
My encodes take about 5-10minutes tops. Only when doing a 2 pass encode does it take longer and there's really no point in doing those anymore unless you aim for a specific file size.
Might as well post the settings for the T-Mobile Transformers movies here(courtesy of xeebot):
General
Complete name : C:\Users\xeebot\Desktop\HTC HD2\Transformers\Transformers1.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.32 GiB
Duration : 2h 23mn
Overall bit rate : 1 317 Kbps
Encoded date : UTC 2010-01-17 20:06:39
Tagged date : UTC 2010-01-17 20:06:39
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 23mn
Bit rate mode : Variable
Bit rate : 1 251 Kbps
Maximum bit rate : 8 346 Kbps
Width : 800 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.136
Stream size : 1.25 GiB (95%)
Tagged date : UTC 2010-01-17 20:08:37
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 2h 23mn
Bit rate mode : Variable
Bit rate : 64.0 Kbps
Maximum bit rate : 92.0 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 32.0 KHz
Stream size : 65.6 MiB (5%)
Encoded date : UTC 2010-01-17 20:07:56
Tagged date : UTC 2010-01-17 20:08:37
Click to expand...
Click to collapse
Shasarak said:
Those bit-rates seem awfully low to me, especially if you're not using CABAC. Do you not get better results with bit-rates >2000kb/s?
Click to expand...
Click to collapse
No point in going beyond 2000Kbps as you won't see the difference and the files becomes too big.
Using a crf value of 21 usually results in a bitrate of around 1000-1500kbps.
What exact settings are you using to encode files in 5-10 minutes? Also, what are the file sizes? I am all for learning new ways to do things, I would love to be able to encode in that short amount of time. Let me know!
godsafk said:
What exact settings are you using to encode files in 5-10 minutes? Also, what are the file sizes? I am all for learning new ways to do things, I would love to be able to encode in that short amount of time. Let me know!
Click to expand...
Click to collapse
Depends on the source and of course encoding settings. I usually do a basic [email protected] Encode with --crf 23 and --ref 1(no weighted B-frames and no I-frames) for TV shows and [email protected] --crf 21 --ref 2 for movies. I also use lanczos4 to downscale to 800 x XXX.
Encoding also relies pretty heavily on the hardware involved so the better the hardware the faster the encoding speed. Currently running my i7 at 4Ghz and cpu utilization is 100%(for all eight threads). The software also makes quite a difference and I noticed that MeGui was the fastest encoder of the ones I tried(and it's pretty easy to use).
Toss3 said:
Depends on the source and of course encoding settings. I usually do a basic [email protected] Encode with --crf 23 and --ref 1(no weighted B-frames and no I-frames) for TV shows and [email protected] --crf 21 --ref 2 for movies. I also use lanczos4 to downscale to 800 x XXX.
Encoding also relies pretty heavily on the hardware involved so the better the hardware the faster the encoding speed. Currently running my i7 at 4Ghz and cpu utilization is 100%(for all eight threads). The software also makes quite a difference and I noticed that MeGui was the fastest encoder of the ones I tried(and it's pretty easy to use).
Click to expand...
Click to collapse
Sure thing i'll try that out. I'm running an i5 at 2.2 GHz and many of the other encoding methods took ages to run at 100% CPU usage (2 pass). Thanks for the info, I love learning new and more efficient ways of doing things!
godsafk said:
Sure thing i'll try that out. I'm running an i5 at 2.2 GHz and many of the other encoding methods took ages to run at 100% CPU usage (2 pass). Thanks for the info, I love learning new and more efficient ways of doing things!
Click to expand...
Click to collapse
2 pass and constant quality use the same algorithm so the quality is exactly the same.
How do I get .avi files to play in my HD2
What converter program should I use or are you all using? Any good free ones?

[Q] [REQUEST] Hardware HD decoding

Hello XDA people,
I own an ePad and an HTC HD2.
When I put an MKV 720P file (probably encoded with x264) on my microSD card, the ePad plays it perfectly with Act one video player. When I try it using my HD2 its says "android media server died". And rockplayer can only software decode it, which is very slow and laggy.
Is there any way I can simply download and watch my HD TV series? The SD versions work but it's just not very sharp.
Tim
An hd movie played on the hd2 will only be 480x800, so it's still watching a sd movie in that case. >.>
That's true, however, when I grab the SD version of the TV show, it's 624x352 and a lower bitrate. So you can see a difference. Also, if I download the HD version I can still decide to watch it on my laptop and fully enjoy the resolution, rather than having to download the HD and SD version.
A friend with a Galaxy S tried to play an 720P MKV, and it plays it very well with hardware encoding, so I guess it's a driver issue?
Yes it is a driver issue, or more like it's not built in. Our snapdragon doesn't know how to process mkv files.
timleferink said:
Hello XDA people,
I own an ePad and an HTC HD2.
When I put an MKV 720P file (probably encoded with x264) on my microSD card, the ePad plays it perfectly with Act one video player. When I try it using my HD2 its says "android media server died". And rockplayer can only software decode it, which is very slow and laggy.
Is there any way I can simply download and watch my HD TV series? The SD versions work but it's just not very sharp.
Tim
Click to expand...
Click to collapse
When you say "properly encoded with x264", what profile are you using? I used the wrong profile in Handbrake and ended up with choppy/laggy video on my HD2. Fixing the encoding options (read the tooltips on the Advanced tab in the latest version of Handbrake) results in a larger file (because it's compressed less-aggressively, so the player doesn't need to do so much work) that plays just fine on my HD2.
I've been ripping my DVDs and making .mp4s from them in Handbrake just fine. They're encoded to 720p and all play without any problems.
(Although Handbrake seems to have problems with using the correct height, but that's a HB problem).
Hello,
Do you think it will be possible to have hardware encoding any time soon? Or wil this never work?
@Splines
I actually ment 'probably', in this case the episode was downloaded from a newsgroup.
The video Data is:
"Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Format settings, GOP : M=4, N=5
Codec ID : V_MPEG4/ISO/AVC
Duration : 21mn 52s
Bit rate : 3 120 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.141
Stream size : 477 MiB (85%)
Writing library : x264 core 110 r1804 e89c4cf"
What player do you use to watch the video's if I may ask?
timleferink said:
Hello,
Do you think it will be possible to have hardware encoding any time soon? Or wil this never work?
Click to expand...
Click to collapse
I doubt it, especially because Leo is a WinMo device, not Android, which means hardware manufacturers will not provide drivers or code to achieve this.
timleferink said:
Hello,
Do you think it will be possible to have hardware encoding any time soon? Or wil this never work?
@Splines
I actually ment 'probably', in this case the episode was downloaded from a newsgroup.
The video Data is:
<snip/>
What player do you use to watch the video's if I may ask?
Click to expand...
Click to collapse
(I'd linkify my links, but I"m a new users here and the forum software won't let me).
See the table here: en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profile
From your video meta-data, it's encoded with the "High" profile. I'm not familiar with the H.264 decoding algorithms, but I'm willing to bet that you won't find any video player on your HD2 that can decode that video in real-time.
Most mobile devices adhere to the Baseline Profile (BP). Here's what you need to do: Go and install Handbrake. Run it and create a new device profile (click "Add" in the bottom right-hand corner).
Switch to the Advanced tab and make sure yours looks like this: i.imgur.com/AEkFf.png
Right click on the new profile you created, and click "Save Changes".
Now, you might need to muck with the picture size on the first tab, but that's not too important since you're just trying to get the video playing smoothly.
Load your source video, and encode it to a new file. It should play just perfectly on your HD2.
I've tried several video players, and when I had the encoding options wrong, the only one that worked was VitalPlayer, but I had artifacts all over the screen. With these settings, any player that actually works in my ROM loads and plays the video just fine (ironically, VitalPlayer doesn't work in the ROM I have flashed right now). The stock video player, Meridian, mVideoPlayer, Zimly, all work fine. I suspect that the majority of the video players in the app store use the same engine to decode the video.
I tried recoding the file. It now plays better, but still only 10fps and the video is running behind. No other options I guess? Recoding to 800x480 is way to much of a hastle for me.
This is a major setback, I'll see if someone with a Desire can test it.
Get a better version of RockPlayer and try again. Look at the ARMv7 links on the right...
http://rockplayer.freecoder.org/index_en.html
I found that a LOT better than the version available on the market.
Too bad, tried the latest version and got the same results.
Do you think a desire build would be better since it also has a snapdragon cpu?
Tim

[MOD CAMERA] Recording video with STABLE FPS / STABLE FRAMERATE. Android ICS 4.0.3

Hello everyone ..
First, sorry for my bad English.
Exist the mod for record videos with fps stable and not variable fps?
I have a problem to edit the videos created by my galaxy s2.
After editing, the audio is not synchronized with the video, I think it is a problem of variable frame rate.
I'm searching a solution to force the application of the camera to record video with fps stable.
I have ICS 4.0.3 stock rom I9100XXLPW, I have root, I have recovery.
I have already tried LgCamera and other applications. Without result.
Please do not link to other threads because I can not read and understand full pages in English.
Thank you.
nothing????
Inviato dal mio GT-I9100 con Tapatalk 2
You say the problem only becomes apparent after editing. What app / software are you using to edit the video?
Sounds more likely that it is the re-encoding that is de-syncing the audio rather than the video
Azurren said:
You say the problem only becomes apparent after editing. What app / software are you using to edit the video?
Sounds more likely that it is the re-encoding that is de-syncing the audio rather than the video
Click to expand...
Click to collapse
No, the audio is not synchronized already in the preview of video editing programs. Just when importing the video into video editing program. Not only after creation.
The problem is in the video recording method of the ICS software. (VARIABLE FPS).
I used many video editing programs (even I had thought the problem was the program) .. Pinnacle Studio 15, AVS Video Editor, VirtualDub, Avidemux, VideoDub.. etc. ..
I am sure the problem is the variable framerate, because I tried to register with another phone that registers with stable fps, and do not have these problems.
So..
You know methods to force the application to record in stable fps?
Exist a mod?
These are the info of file (recording with Galaxy s2 ICS 4.0.3 with stock rom samsung LPW):
Frame rate mode : Variable
Frame rate : 29.926 fps
Minimum frame rate : 11.027 fps
Maximum frame rate : 46.320 fps
Standard : NTSC
fulvi0x said:
No, the audio is not synchronized already in the preview of video editing programs. Just when importing the video into video editing program. Not only after creation.
The problem is in the video recording method of the ICS software. (VARIABLE FPS).
I used many video editing programs (even I had thought the problem was the program) .. Pinnacle Studio 15, AVS Video Editor, VirtualDub, Avidemux, VideoDub.. etc. ..
I am sure the problem is the variable framerate, because I tried to register with another phone that registers with stable fps, and do not have these problems.
So..
You know methods to force the application to record in stable fps?
Exist a mod?
These are the info of file (recording with Galaxy s2 ICS 4.0.3 with stock rom samsung LPW):
Frame rate mode : Variable
Frame rate : 29.926 fps
Minimum frame rate : 11.027 fps
Maximum frame rate : 46.320 fps
Standard : NTSC
Click to expand...
Click to collapse
Camera drivers are locked down. Try recording in optimum conditions and in a lower quality (not resolution) and see if that helps at all. The video/audio codec combination are adapted to a variable framerate so the fact that it's not syncing properly makes me think it's your video editor.
shishir95 said:
Camera drivers are locked down. Try recording in optimum conditions and in a lower quality (not resolution) and see if that helps at all. The video/audio codec combination are adapted to a variable framerate so the fact that it's not syncing properly makes me think it's your video editor.
Click to expand...
Click to collapse
No, the problem is not my video editor.
I am sure of what I say, because before making a thread on xda I did endless research.
I already tried with low quality and even with low resolution.
THE PROBLEM IS VARIABLE FPS.
I read that there are custom rom with mod camera with stable fps.
For example this: [Neutrino system] PFittech ROM GTX AND 4.04 - Neutrino - faster than light - 8.7.2012
Report this characteristics:
Camera Mod
video bit rate increased to 20Mbps - 1080p
stable 30FPS
audio format AAC
So exist a method for mod camera..
please.. help me!!
Inviato dal mio GT-I9100 con Tapatalk 2
Maybe its because you didn't post in the QUESTIONS AND ANSWERS SECTION. AND STOP BUMPING YOUR THREAD.
Sent from my GT-I9100 using Tapatalk 2
fulvi0x said:
No, the problem is not my video editor.
I am sure of what I say, because before making a thread on xda I did endless research.
I already tried with low quality and even with low resolution.
THE PROBLEM IS VARIABLE FPS.
I read that there are custom rom with mod camera with stable fps.
For example this: [Neutrino system] PFittech ROM GTX AND 4.04 - Neutrino - faster than light - 8.7.2012
Report this characteristics:
Camera Mod
video bit rate increased to 20Mbps - 1080p
stable 30FPS
audio format AAC
So exist a method for mod camera..
Click to expand...
Click to collapse
That's based on CM9 and AOKP. Flash that ROM and see if your problem will get fixed. I've tried to mod the camera on our device. I've raised the bitrate to over 40Mbps and tried everything to force framerates. It DOESN'T work. Our camera firmware is only going to work with Variable Framerate. Flash CM9 see if it works. If not, then stop asking for it since it doesn't exist.
shishir95 said:
That's based on CM9 and AOKP. Flash that ROM and see if your problem will get fixed. I've tried to mod the camera on our device. I've raised the bitrate to over 40Mbps and tried everything to force framerates. It DOESN'T work. Our camera firmware is only going to work with Variable Framerate. Flash CM9 see if it works. If not, then stop asking for it since it doesn't exist.
Click to expand...
Click to collapse
I've never had a problem editing the videos recorded from my GS2. From GB to ICS its always been the same. No Issue and the audio is always in sync. Something must be wrong on your end.
DramatikBeats said:
I've never had a problem editing the videos recorded from my GS2. From GB to ICS its always been the same. No Issue and the audio is always in sync. Something must be wrong on your end.
Click to expand...
Click to collapse
Sorry, What software do you use to edit video?
It's impossible.
With Gingerbread worked. Now with ICS no.
These are the info of the file mp4 registered with my sgs2 ICS 4.0.3:
Code:
General
Complete name : C:\Users\fulvi0x\Desktop\20120708_233229.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 21.3 MiB
Duration : 50s 602ms
Overall bit rate : 3 537 Kbps
Encoded date : UTC 2012-07-08 21:33:21
Tagged date : UTC 2012-07-08 21:33:21
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 50s 57ms
Bit rate mode : Variable
Bit rate : 3 441 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 3:2
Frame rate mode : Variable
Frame rate : 29.926 fps
Minimum frame rate : 11.027 fps
Maximum frame rate : 46.320 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.333
Stream size : 20.5 MiB (96%)
Title : VideoHandle
Language : English
Encoded date : UTC 2012-07-08 21:33:21
Tagged date : UTC 2012-07-08 21:33:21
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 50s 602ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Nominal bit rate : 96.0 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 794 KiB (4%)
Title : SoundHandle
Language : English
Encoded date : UTC 2012-07-08 21:33:21
Tagged date : UTC 2012-07-08 21:33:21
You can put the info of your file?
I withdraw the information with software Format Factory. --> Format Factory
Home --> Advanced --> Media File Info
What firmware you have? And what software do you use to edit video?
The only Problem what I have is, that my Phone camera not really focus but its ok
I import the file directly into Sony Vegas 11. Done
I have exactly the same problem. The video from GB was also variable FPS so that is not it, I guess.
When playing a recorded vid, fine. When importing into Adobe Premiere Elements 10, I get the video/audio lag....
Anybody please?
I now use MediaCoder on desktop to convert video from phone to fixed frame rate. Adobe can then work properly with the vids.
Verstuurd van mijn GT-I9100 met Tapatalk
I use without any problems Sony Vegas 11 and I am happy. There is no any problem with desync, FPS are stable ~29.95 to ~30.10. Both in lgCamera and system camcorder as well. I am on ICS 4.0.3 NeatROM.
There is no any mod for stable, fixed FPS value. There will always be some deviation.
I saw the same issue with other editing programs as well. With GB video's no issues....maybe time to switch to Sony Vegas as this seems to properly support the recorded vids.
Verstuurd van mijn GT-I9100 met Tapatalk
Geer4 said:
I have exactly the same problem. The video from GB was also variable FPS so that is not it, I guess.
When playing a recorded vid, fine. When importing into Adobe Premiere Elements 10, I get the video/audio lag....
Anybody please?
Click to expand...
Click to collapse
I solved this problem by uploading the raw file to YouTube and then downloading it back into Premier Elements 10. It then edits without loss of audio sync. I have not found that any other conversion (including MediaCoder) that will solve the problem but maybe there is a setting for MediaCoder that would work. I found also that Sony Vegas Pro 11 (trial version) does not keep the audio in sync.
I've been searching quite a lot for some solution to get picture and sound synced in Adobe Premiere when I recording with my Note Edge and on the end I found perfect app which records in constant frame rate.
I have tested the app just shortly today and everything was fine after exporting the video from the Premiere.
Here is the link on the google play
Buddy I guess your talking about bs editing software like premerie pro and believe me I know the struggles, I'm sorry to say that your only options are 3rd party software. A software called "handbrake" which allows you to convert your video to a constant frame rate.... another option which is a pretty simple method and possibly even better, is "OBS", simply play the video in vlc player (or whatever player you use to watch movies on your pc) and set up OBS to record screen display or that specific window that your playing the movie it don't matter. Be sure to first edit your settings in obs to save the video in mp4 or avi format, or once again your video editing software won't take it because apparently it's to complicated for these genius that make these video editors to make one that can process any other format or better yet process a video that has variable frame rates. Ffs

Categories

Resources