Encoding MKV Files for Playback - HD2 General

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?

Related

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?

720p showoff video

Yeah i know its a demo video that comes with omnia hd's.
But it works perfectly on our hd2's.
Nice video to show to your friends
http://forums.samsungi8910omnia.com...ions/1853-helicopter-demo-video-download.html
YAY! Thanks a lot for this. I have seen this running on an Omnia Pro and it looked really cool. It really might be a great demo video to look at on the HD2.
One thing though: This is no 720p video. It's only 360p and it even gets upscaled on the HD2. If there would be problems playing such a small resolution source on the HD2 I would seriously doubt HTC until the end of all times.
I ran a benchmark test using a topaz with Leo rom Tess 3.9 + 2.5 sense,
video/audio information (according to VLC on laptop):
640*360, 30 FPS, mp4v
mp4a 44100 Hz
best playback in order
1. coreplayer (default settings, installed to internal memory)
2. wm player
3. htc album
coreplayer benchmark results;
avg speed: 77.10%
vid frames: 2995
audio samplle: 4393489
amount of data: 47521 kb
bench............- .................. original:
time: 02:09.487 ............... 01.39.833
frame rate: 23.130 ........... 30.000
sample rate: 33929........... 44100
data rate: 3.01 Mbit/s .......3.90 Mbit/s
conclusion: rather better sound with stuttering video than no stuttering video but stuttering sound (when CP ran test)
hope you enjoyed this little test, and lets see what the big league has to say about how it's supposed to run
on Toshiba TG01:
Average Speed: 194.17%
Benchmark Data Rate: 7.57 Mbit/s
Original Data Rate: 3.90 Mbit/s
^so Toshiba is 2-3 times as quick as HD2? lol
No its 2-3 times faster than a topaz running a leo ROM, which is to be expected.
I am downloading some movies right now in Mp4 format HD quality, 1280x720, i want to see how it looks on the HD2.
I dont think it should be a problem for this thing to play a 1.4 gb file, right?
BTW the Helicopter movie looks great on this beauty
mrturq said:
I am downloading some movies right now in Mp4 format HD quality, 1280x720, i want to see how it looks on the HD2.
I dont think it should be a problem for this thing to play a 1.4 gb file, right?
BTW the Helicopter movie looks great on this beauty
Click to expand...
Click to collapse
Good luck , first of all i could not play those files.
Even coreplayer does not play anything bigger then 1008 pixels (program limit)
And second , it doesnt really make sense to play a higher resolution then the display can handle.
okay
what do you recommend?
i couldn't find a lower resolution.
convertion? with?
oh...ok thanks a lot for clarification.
I should have kept reading carefully.
RacerII said:
Good luck , first of all i could not play those files.
Even coreplayer does not play anything bigger then 1008 pixels (program limit)
And second , it doesnt really make sense to play a higher resolution then the display can handle.
Click to expand...
Click to collapse
No, but as some have mentioned -it would be nice if the HD2 COULD play higher resolutions as you wouldn't have to convert before transfering to the phone. I myself don't have so much of a problem with doing a conversion -but I can see the wish for just transfering what ever files you already have -and they'll be able to play..
mrturq said:
okay
what do you recommend?
i couldn't find a lower resolution.
convertion? with?
Click to expand...
Click to collapse
You could try this for conversion;
http://forum.xda-developers.com/showthread.php?t=478050
Or this:
http://forum.xda-developers.com/showthread.php?t=467112
First one works best for me. I get some weird artifacts on the other converter. Don't know why..
thnx
gonna give it a try,
thanks a lot
watching movies on this thing in the car would be nice i think
i convert it, i try it, i watch it, i like it.
picture and sound on this beauty, is a beauty
thnx niknik76
thanks for the video however doesn't play well on my coreplayer. i played on win media looks great. on my other phone(vibrant) looks sick.
thanks for the vid, looking forward to trying this, i've not seen a movie on my phone yet......
RacerII said:
Yeah i know its a demo video that comes with omnia hd's.
But it works perfectly on our hd2's.
Nice video to show to your friends
http://forums.samsungi8910omnia.com...ions/1853-helicopter-demo-video-download.html
Click to expand...
Click to collapse
FYI, this isn't 720p. I doubt very much it would play any HD stuff without proper hardware.
MediaInfo:
Code:
General
Complete name : Demo Helicopter.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 46.4 MiB
Duration : 1mn 39s
Overall bit rate : 3 900 Kbps
Encoded date : UTC 2009-04-23 16:23:14
Tagged date : UTC 2009-04-23 16:25:27
Video
ID : 2
Format : MPEG-4 Visual
Format profile : Advanced [email protected]
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : 20
Duration : 1mn 39s
Bit rate mode : Constant
Bit rate : 3 774 Kbps
Nominal bit rate : 4 096 Kbps
[B]Width : 640 pixels
Height : 360 pixels[/B]
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.546
Stream size : 44.9 MiB (97%)
Title : Apple ºñµð¿À ¹Ìµð¾î 󸮱â
Language : English
Encoded date : UTC 2009-04-23 16:23:15
Tagged date : UTC 2009-04-23 16:25:27
Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1mn 39s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Stream size : 1.50 MiB (3%)
Title : Apple »ç¿îµå ¹Ìµð¾î 󸮱â
Language : English
Encoded date : UTC 2009-04-23 16:23:14
Tagged date : UTC 2009-04-23 16:25:27
I downloaded unziped,didnt do nay conversion,its in MPEG-4 format already, it plays incredibely beautiful on my HD2 HTC default player both sound and picture,its almost like a 3D movie.Will keep it and showoff!!.

[Q] Video - got conversions right but new problem

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

Video Format

What exactly does the video format support by the 10.1? I tried installing .avi, .mpeg and I wasn't able to play the videos. Most of the .avi are Blueray copies. Or anyone know a good video converter for Mac?
use handbreak to convert your .avi files , i do know that the galaxy tab 10.1 plays nice with .mp4 files
good luck
ZOEpilot16 said:
use handbreak to convert your .avi files , i do know that the galaxy tab 10.1 plays nice with .mp4 files
good luck
Click to expand...
Click to collapse
I second this. You can stream .avi from your computer if you prefer.
moboplayer provides a bunch of soft-decoding codec ,which will take care of most video if hardware-decoding won't work. just try this app first and see if that helps .
Sent from my SHW-M110S using XDA App
You can also use rock player to play AVI files and such.
Sent from my GT-P7510 using Tapatalk
I've used both the stock & mobo (haven't tried rock yet, I'll have to give it a shot), & the stock player plays just fine with h.264 & mp4. In fact, I played the exact same video on both, & I thought the picture looked the best on the stock player. Of course, that requires you to re-encode most likely, which kinda defeats the purpose of having the avi encapsulation in the first place... up to you in the end--let us know how it works out.
Can somebody please test this clip?
I can play it perfectly on my 7" Galaxy TAB GT-P1000 but all the Tegra2 Honeycomb tablets I've tried it on will either stutter badly of not play at all!
I just can't imagine why a previous generation Single-Core CPU can play it without any problems using hardware acceleration and the Tegra2 Can't !?!
This is the codec info:
General
Complete name : D:\Downloads\Avatar_clip_1920_high.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 125 MiB
Duration : 1mn 23s
Overall bit rate : 12.6 Mbps
Encoded date : UTC 2011-05-22 19:19:17
Tagged date : UTC 2011-05-22 19:19:17
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 23s
Bit rate mode : Variable
Bit rate : 12.4 Mbps
Maximum bit rate : 22.5 Mbps
Width : 1 920 pixels
Height : 1 078 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.251
Stream size : 123 MiB (99%)
Title : x
Writing library : x264 core 114 r1913 5fd3dce
Encoding settings : cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2011-05-22 19:19:17
Tagged date : UTC 2011-05-22 19:19:22
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1mn 23s
Bit rate mode : Variable
Bit rate : 132.3 Kbps
Maximum bit rate : 152 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 1.34 MiB (1%)
Title : x
Encoded date : UTC 2011-05-22 19:19:22
Tagged date : UTC 2011-05-22 19:19:22
Download Handbrake then go to this thread: http://forum.xda-developers.com/showthread.php?t=1060825
You can follow the directions or simply download and import the 720p high profile preset.
If you want to stream video, a combination of uPnPlay (free in market), moboplayer and ps3 media server has worked fairly well for me.
hoodoomagic said:
Download Handbrake then go to this thread: http://forum.xda-developers.com/showthread.php?t=1060825
You can follow the directions or simply download and import the 720p high profile preset.
If you want to stream video, a combination of uPnPlay (free in market), moboplayer and ps3 media server has worked fairly well for me.
Click to expand...
Click to collapse
We don't want to re-encode! We want to play! Other less powerful devices can play almost everything without re-encoding! Why can't the Tegra2 do it?
To reencode is missing the point. It's a clip I encoded for a video survey in the Xoom forum. No Tegra 2 tablet can play it smoothly. You can blame poor NVidia driver, HC's beta-ness, or the crummy Tegra 2. That's just the way it is.
BTW, 1080p high profile is simply not in the Tegra 2 specs, drivers notwithstanding. If you want 1080p HP, buy another tab.
BTW, the entire suite of clips used for the survey is here. Tegra 2 (on 3.1) can play 720p HP and 1080p BP. On the Xoom, the stock player is hard-capped to 1080p BP. If you play MP or HP, the stock player will error out or crash.
http://www.mediafire.com/?depxt4zyvpwel
OrionBG said:
We don't want to re-encode! We want to play! Other less powerful devices can play almost everything without re-encoding! Why can't the Tegra2 do it?
Click to expand...
Click to collapse
That is something you'll have to ask Nvidia and Google, I don't know the answer to that.
However, transcoding will guarantee the video to work. And you can queue up files in Handbrake and walk away.
So, you can either complain on forums, or use the solution presented and watch 720p high profile video on the tab.
Denil Wong said:
What exactly does the video format support by the 10.1? I tried installing .avi, .mpeg and I wasn't able to play the videos. Most of the .avi are Blueray copies. Or anyone know a good video converter for Mac?
Click to expand...
Click to collapse
You don't need or have to convert anything really (maybe except mkv's) if you just use MoboPlayer to watch them.
If you prefer to use the Gallery to watch videos, then it's best you convert to mp4 files.
On my Mac i have a myriad of converters, from VisualHub (no longer in development), Handbrake (free), WinX HD Video Converter, my three regulars.
There are tons out there.
i've been having trouble with a 720p x264 file about 1.2GBs.
the video plays but it is very laggy/choppy and the audio isnt in sync with the video playback.
i've checked that the files played fine on my computer.
should i convert these files too?
Thank you all for your great tips. Will definitely try it out when I get the chance to this evening. Highly appreciate it guys! CHEERS!!!
Regardless of whats being said over at the Xoom fourm, the GST as of now can only play back 720p/1080p H.264 Base Profile, smoothly. So far from my tests the GST doesn't support AC3 Audio, so the stock player will not play it.
http://forum.xda-developers.com/showthread.php?t=1134811&highlight=Poot+Video
I started this thread and there is useful information in it in relation to H.264 playback on the GST.
Metzenw said:
Regardless of whats being said over at the Xoom fourm, the GST as of now can only play back 720p/1080p H.264 Base Profile, smoothly. So far from my tests the GST doesn't support AC3 Audio, so the stock player will not play it.
http://forum.xda-developers.com/showthread.php?t=1134811&highlight=Poot+Video
I started this thread and there is useful information in it in relation to H.264 playback on the GST.
Click to expand...
Click to collapse
HC 3.1 supports 720p high profile and I haven't had any problems using the Handbrake settings posted over at the TF forum.
In that thread I've seen people trying to solve some judder problems with certain clips, but tbh I'm not a video guru and the conversation is over my head. But as I've said, I have yet to experience that for myself even with movies with lots of action and fast camera pans.
e.mote said:
BTW, the entire suite of clips used for the survey is here. Tegra 2 (on 3.1) can play 720p HP and 1080p BP. On the Xoom, the stock player is hard-capped to 1080p BP. If you play MP or HP, the stock player will error out or crash.
http://www.mediafire.com/?depxt4zyvpwel
Click to expand...
Click to collapse
I had just about given up hope trying to find the right combination of settings via Handbrake to encode my DVDs so they would play smooth on my GTab. I have come close but just hadn't hit it. I then downloaded your clip from your link - 1280 baseline - and was pleasantly surprised by not only the absolute smooth playback but by the picture quality.
I have since tried your VDisc_023 but the playback isn't absolutely smooth. It is close but not quite there.
So here's my question, can you supply either the change I need to make in VDisck_023 (I noticed it is set to High, perhaps just changing it to Base?) to equal your 1280_Baseline Avatar clip I mentioned above or the complete settings I can use in the GUI Handbrake interface? If I had my choice, I would prefer using the GUI but at this point, I will take what I can get!
Thanks so much for showing me I can get smooth playback with a terrific picture!
i use freemaker. much better easier and faster than handbreak give it a try
seansk said:
i use freemaker. much better easier and faster than handbreak give it a try
Click to expand...
Click to collapse
Tried it and was not happy with the quality of the output. I was seeing too much... don't know the technical term is but I call it blocking. I really liked the easy interface and how you can easily cut scenes to convert but...

[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