Screencasting - Raspberry Pi General

I want to make a video of my desktop on raspberry.
I tried "kazam" it works but the framerate is too low. I want 10 frames per second.
I tired "istanbul" the results were even worse.
I tried "ffmpeg" and command is not found. Even with libav-tools installed.

Related

Poor TCPMP Performance

I have tried to pull the threads of the various discussions on these forums of device speed and TCPMP into one place (my brain, to be specific), but I'm still not getting the performance out of TCPMP that I really want and, frankly, expect (given that I can get better performance on my 2 year-old Tapwave Zodiac). Here are the basic details:
o) Running an O2 with WM 5.0, version 5.1.195
o) ROM version 1.30.107 WWE
o) TCPMP 0.71, "Smartphone" version, all plugins installed
o) Settings: Video at 100% (converted to 640x480 resolution); smooth zoom 50%; dithering enabled; Intel XScale enabled;
o) All applications save WM 5.0 native apps installed on a 2GB SanDisk SD card
o) All test video files installed on card as well
o) All programs closed by hand prior to running TCPMP
o) Tried files converted by DivX Converter, Lathe, Dr. DivX, and PocketDivX Encoder
o) tried both in portrait and landscape mode, with and without going to "full screen" mode
(I wanted to run Pocket Hack Master to try to tune the device prior to running TCPMP, but it causes my Exec to hang; that's covered in a separate post.)
The output is, well, okay--the image is sharp--but all panning and motion is somewhat jerky. In my experience, this generally indicates that the processor can't keep up with the demand, and one should encode using a lower video and audio bit rate until you find the optimum settings. However, I have tried (in Dr. DivX and DivX Converter) bit rates from 1000kbps down to 500kpbs, and still am seeing jerkiness.
So my questions are: has anyone else seen this behavior? And does anyone have an suggestions for improving TCPMP performance? Install the VGA hack, perhaps? Upgrade to a newer ROM version? Hope that it gets better when I perform system tuning with Pocket Hack Master (should I ever get it to work)? Overclock my device using PHM? Encode at a significantly lower bitrate? Use a different tool for encoding? I am open to suggestions.
Note: I can encode ripped DVDs (using DVDShrink) at 800-1000 kpbs video, 128 kbps audio, and have them viewable on my Tapwave Zodiac using the Palm version of TCPMP with no jerkiness or jitter.
Thanks for any help.
Doug
I have a similar problem. I have encoded a few videos at 700 kbps video and 128kbps audio that run fine when my XDA is plugged into the mains or to the computer, but jitter when it's running on battery. I tried it first thing after charging today with the battery at 98%. The video was still jittery. Tried it again plugged into the mains and it's fine!
Here's one of the files I encoded. Spoilers for Season 10 of Stargate SG1 and Season 3 of Stargate Atlantis, if you care.
(Edit: Hmm - the forum wouldn't load the file. I've a rapid share link instead)
http://rapidshare.de/files/34374785/SG1_LemonScene.rar.html
Stargate SG1 Season 10 - "The Pegasus Project", Lemon Scene, 33 seconds. Xvid 700 kbps video, Lame 128 kbps audio, Frame rate 23.976.
I had problems like this but after changing every setting in tcpmp and still having no joy, i downloaded Sompy MovieEncoder its a free program for the pc, it takes your movie files and recodes them to a smaller rate etc, file quality will decrease, but less resoures on the ppc are used when playing the movie file.
its the only solution i could find
if there is any other solution i would love to know
I have the same problems using both pocketdivxencoder and smartmovie, when I use VGA settings. I just encode everything in QVGA resolution now, and it's a bit grainy, but at least no lag.
Still zeroing in on getting this working the way I want (caveat: I am much pickier than most people about sharpness, jitter, pixilation, and the like), but I have managed to get some improvement in playback. Here's what I'm finding so far:
o) Using Pocket Hack Master (which can only be used when my device is plugged in to either the wall charger or the USB sync cable; don't ask me why), I have hard-set the system speed to 520MHz, and have set the speed for TCPMP to "maximum" so that it overclocks when I run it.
o) I converted several test files (I have a set; I'm obsessive) at 500kbps video, 80kbps audio, 40KHz audio frequency.
This gives smooth playback except when there is too much data, i.e. when there's a lot of motion in the image and its a complex image. (Trees with lots of leaves seem to be a good test case.) For example, in the scene in "The Incredibles" where Mr. Incredible is shaking a tree to get a cat out, the image freezes a bit. In the scene in "The 40 Year-old Virgin" where Our Here is biking down a tree-lined street and the camera pans up to the trees, the image freezes a bit. Images like that.
It's unfortunate that I have to ramp the bit rate down so low, although on this screen--as opposed to a QVGA screen--the images are much sharper at lower bit rates. Even so, I still want to see what other people say about, for example, using "true" VGA mode, different versions of TCPMP, and the like. It would be nice to be able to convert in the 700-800kbps range; in my past experience, that gives a good compromise between image sharpness and file size. (I personally don't mind a movie taking up a GB of space; I want that movie to look good, dammit!)
Doug
I had the same problem. It got fixed when in installed XCPUScalar and cranked my Uni to 520 MHz.
Good:
+ No more jerkyness in any of my divx video's. (Don't know the bitrates on them)
Bad:
- 520 MHz is a big drain on the battery.
- Some stability issues when changing CPU speeds.
Edit:
When plugged in the mains, the Uni speeds up to 520 MHz. Thats why it will play fine when plugged in, but not on battery.
Biffert said:
I had the same problem. It got fixed when in installed XCPUScalar and cranked my Uni to 520 MHz.
Click to expand...
Click to collapse
I'm assuming the XCPUScalar is some kind of system performance tuning application, yes?
Doug
dougom said:
Biffert said:
I had the same problem. It got fixed when in installed XCPUScalar and cranked my Uni to 520 MHz.
Click to expand...
Click to collapse
I'm assuming the XCPUScalar is some kind of system performance tuning application, yes?
Doug
Click to expand...
Click to collapse
Yes indeed, it allows scaling the Intel XScale CPU in the Uni to a speed of choice, or autoscale based on CPU load.
http://www.immiersoft.com/index.html
It works for me, although I have some stability issues when changing speed to often.
I use O2 Exec with Dopod 900 latest rom with TCPMP V 0.71
it run very well in my device.
I use Pocket Divx encoder. I just set the out put to be VGA PPC resolution.
No fuzzy, slow or any bad grainy.
Or I just got lucky
i get much better performance from WM10 encoded with DVD to Pocket PC 3.6.2 @ 640x480 wide screen (stearo bluetooth headphones) it's so good it's addicting. gives my 42 inch plasma a rest
TCPMP is jumpy for me.but you get more optiuons to play arounf with WM10 work out of the box.
i use WMV files.
i also use DVD Decrypter and Wondershare Pocket DVD Studio at 480x368. not as good.
skywriter said:
i get much better performance from WM10 encoded with DVD to Pocket PC 3.6.2 @ 640x480 wide screen (stearo bluetooth headphones) it's so good it's addicting. gives my 42 inch plasma a rest
TCPMP is jumpy for me.but you get more optiuons to play arounf with WM10 work out of the box.
i use WMV files.
i also use DVD Decrypter and Wondershare Pocket DVD Studio at 480x368. not as good.
Click to expand...
Click to collapse
So you encode with "DVD to Pocket PC" 3.6.2 @ 640x480. That's a new tool on me; do you have a pointer to it? And what video and audio bit rates are you encoding with?
Also, are you running Win2K, or XP? (Or, heaven forfend, something else?) And when you say you are using WM 10, is that on the desktop, or on the Exec?
Thanks,
Doug
dougom said:
skywriter said:
i get much better performance from WM10 encoded with DVD to Pocket PC 3.6.2 @ 640x480 wide screen (stearo bluetooth headphones) it's so good it's addicting. gives my 42 inch plasma a rest
TCPMP is jumpy for me.but you get more optiuons to play arounf with WM10 work out of the box.
i use WMV files.
i also use DVD Decrypter and Wondershare Pocket DVD Studio at 480x368. not as good.
Click to expand...
Click to collapse
So you encode with "DVD to Pocket PC" 3.6.2 @ 640x480. That's a new tool on me; do you have a pointer to it? And what video and audio bit rates are you encoding with?
Also, are you running Win2K, or XP? (Or, heaven forfend, something else?) And when you say you are using WM 10, is that on the desktop, or on the Exec?
Thanks,
Doug
Click to expand...
Click to collapse
i use XP. it's WM10 on the uni, WM plays no part in encoding. other than three video form factors the audio and video rates are slidersm i would have to look in the file properties.. so it's a very dumb tool that gives pretty good results.
This works great for me:
DVD Catalyst 2.1 ($24.95 USD-much less than others!) is really fantastic. It is the only decoder that not only has a great UI but really works and is fast! The developer has worked really hard to get this program to work well and he is on the way to win more awards. You can download a fully funtional trial version. Go to http://www.dvdcatalyst.com/ and give it a try.
The settings I use is:
Output: Pocket PC DivX
Screen Size: 640x480 VGA PPC
Video Quality: 500-600 Kbps (depends on length of movie and if I want one or two movies on my 1G card)
Audio Quality: 112 Stereo Kbps
I use TCPMP and under Video options have Intel XScale selected for the driver.
Best results are after a soft boot to regain leaked memory and disable automatic mail checking or anything that might run periodically in the background and suck up CPU time.
The picture and sound are great.
Regards,
Gordo
When I clock the CPU to 520 MHz (The factory maximum for the Uni CPU) I get much much better results. If I do nothing with the speed the jerkyness occurs no matter how much I tweak it.
To see if it is a solution, play a video that is jerky when you are running on battery. Plug the Uni in the mains and play the video again, you should be able to see a significant difference (Uni goes to maximum speed when plugged in)
my uni hangs above 520mhz. i don't mind a bit of occassional jerkiness. i cannot use WIFI at the same time as BT HP (any application).
what i need is way to rip my matrix DVD's to watch! they are devious. i want to teh freedom to play them on my media of choice. i've bought many 100's of both DVD's and CDs, i've played the game long enough ny now.
skywriter said:
my uni hangs above 520mhz. i don't mind a bit of occassional jerkiness. i cannot use WIFI at the same time as BT HP (any application).
what i need is way to rip my matrix DVD's to watch! they are devious. i want to teh freedom to play them on my media of choice. i've bought many 100's of both DVD's and CDs, i've played the game long enough ny now.
Click to expand...
Click to collapse
I find that "Matrix: Reloaded" is an excellent test film for seeing how well conversions work. It has scenes where there is rapid regular motion, CGI, and plenty of other stuff going on that gives your CPU a good workout.
I'm still tweaking to try to get a good result. I personally *do* mind jerkiness; I can watch films converted at 800-1000kbps on my Zodiac; I would love to get the same kind of performance on my Exec. I will keep trying.
The only reason I mention the desktop/laptop OS is because my understanding is that you can get better handshaking between WM10 on the desktop and the version of WM on the Exec, and WM10 doesn't run on Win2K. Also, I may be getting some strange behavior during encoding because I'm running on Win2K rather than XP, so perhaps the codecs aren't working quite right. I don't know why that would be, but this stuff seems to be as much an art as a science. When my new laptop comes in (any day now!) I will give it a try.
Doug
For folks who are interested, I seem to have found a method for conversion and playback that works fairly consistently with a variety of films. Very little of this information is stuff that I have discovered on my own; most of it is culled from this and other newsgroups. Thanks to everyone for all their advice.
Here's my method.
Tweaking your Universal
Install Pocket Hack Master--You are going to want to set your Universal to run at 520MHz normally, and then test the other available clock settings using PHM's Speed Configuration option. I would then advise you to use the Application Speed option of PHM to force the speed of TCPMP to the highest available clock speed, overclocking your CPU if need be. Yes, this will burn battery power insanely, but if you want a smoother playback, this helps. (520MHz provides decent playback, however.)
It is worth noting that I bumped into some weirdness running PHM. Specifically, you either need to disable the Universal's built-in scaling functionality in PHM by choosing Edit > Settings > Advanced > Disable Device Built-in Scaling, or only run PHM when it is plugged into line current. Otherwise, you might experience a system hang, a screen white-out, or other irritating symptoms that can only be escaped with a soft reset.
Install Magic Button--This is not a requirement, but it helps when you are trying to make sure none of your applications are running while you run TCPMP.
Turn Off All Your Applications--Anything else running in the background will slow down your playback.
Reboot Your Universal Before Playback--This clears up any unwanted crap from your buffers.
Verify All Applications Are Off--On your Today screen on your Universal, select Start > Settings > System > Memory > Running Programs. Turn off anything that is running. Yes, I know; everything should be turned off as a result of your soft reboot, but I'm paranoid. Skip this step if you aren't as paranoid as me.
Conversion
Prior to converting my movies, I rip them using DVD Shrink, which I prefer over DVD Decoder. I don't really think it matters, though. I then encode using Dr. DivX. Here's the info:
Film clips: "Serenity" (television pilot); "Matrix Reloaded"; "The Incredibles"--this collection gives me a good cross section of animation, CGI, live action with little motion, live action with lots of motion, and live action/CGI combined
Conversion tool: Dr. DivX 1.0.7, using the latest DivX codec (6.2.5, I believe).
Video Bit Rate: 700kbps
Audio Bit Rate: 80kbps
Resolution: Make sure your width is 640; set your height based on whatever your film's aspect ratio is (For 16:9, 352 or 368 pixels; for 2.35:1, 272 pixels). It is important to use a width of 640, as TCPMP runs better when you set the Zoom to 100%.
I use two-pass encoding. I suspect that different films will require different video bit rates, probably varying between 500-800kpbs. This is just a guess, however.
Playing Your Movies
I playback with TCPMP. Personally, I haven't had a lot of luck using Windows Media, and Mitch (the author of DVD Catalyst) says that he has had better luck with *.avi format than *.wmv.
I use the following settings in TCPMP:
Speed: 100%
View > Zoom: 100%
View > Pixel Aspect Ration: Square
View > Orientation: Follow GUI
Video > Smooth Zoom (Only 50%)
Video > Dither (enabled) (To help minimize pixilation of the image)
Video > Quality > Normal
Video > Video Driver > Intel XScale
Video > Streams > Video (enabled)
All Other Settings: defalt
So there you have it. Is it a little bit of a pain? Heck yes. Is it worth it to get smoother playback? Well, it is for me; you have to decide if it's worth it for you.
Happy viewing,
Doug
Has anyone thought of running these videos through Benchmark mode (File > Benchmark in TCPMP) so that people trying to assist can get a better picture of just how jerky the video playback is?
I've the same issues here!
When plugged to the main power all the movies run smooth.
When running without chargin it becomes slow!
has anyone tried converting to .3gp since the TCPMP does support this. I have encoded most of my movies
video format = mp4
codec = CoreASP
video size = 352 x 288
frame rate = 15.000
audio = mp3
audio codec = CoreMP3
format = 48000Hz Stereo
Data Bit Rate = 128 kbit/s
sample rate = 48,000
weighs in around 700mb after compression
After I have made a backup copy of my intended movie using DVDfab HD decryptor:
http://www.dvdfab.com/free.htm
which is absolutely free
...I then use DVD Decrypter, also free, which can be found here:
http://www.doom9.org/index.html?/dvddec-options.htm
in the "Descrambling / Ripping tools" section.
this app wont crack any current CSS keys but what it does is allow me to rip the movie to one single .vob which I then compress with Xilisoft 3gp converter.
the playback is very smooth & clear IMO.
benchmark test:
TCPMP Version 0.72RC1 Benchmark Results
Average Speed 208.60%
Video Frames 10190
Audio Samples 32725921
Amount of Data 53259 KB
Bench. Time 5:25.661
Bench. Frame Rate 31.29
Bench. Sample Rate 100495
Bench. Data Rate 1.3 Mbit/s
Original Time 11:19.333
Original Frame Rate 15.00
Original Sample Rate 48000
Original Data Rate 642 kbit/s
URL \Storage Card\VIDEO\CASINO ROYAL.3GP
Size 693721516
Platform PocketPC
OS Version 5.01
OEM Info HERM100
Clock speed 397 Mhz
Video output ATI IMAGEON 240x320 16bits Slow Lookup
Video zoom 352x288 -> 240x320
Audio output Wave Output 48000Hz 16Bits 2Ch.
BTW - I have ATT 8525

Audio and video out of sync.

Does anyone have issues with video playback? It seems that every file I throw at the hero seems to have audio and video synchronization issues. Specifically, video lags behind audio, you hear something and see it later. I've tried HTC's player and Meridian. The files play on my pc just fine and aren't huge files.
Are there some recommended bitrates for Hero? I'm using an iPod/phone converter (videora) to get my files encoded which has options for bitrate. Bit disappointed that the Hero can't keep up with iPhone again though.
EDIT: Good News, scroll down for my conversion settings.
Hi, there are multiple threads on this subject on this forum. Just open the Hero main forum:
http://forum.xda-developers.com/forumdisplay.php?f=508
... and do a search for "video" from the "Search this forum" -tool to the right.
In short, the Hero has massive problems playing mp4-video without a glitch. The best I've acchieved is smooth video that slows down a bit and then becomes faster to catch up with the timeline every 10 seconds.
This can be done by using an exact set of conversion options with one of many many encoders. Some say it works perfectly for them, but I suspect their eyes are just not as finely tuned as mine
Main thing seems to be the target resolution can be no higher than 480x360.
Try encoding/downloading psp video files its not 100% but very close
jayjay said:
Hi, there are multiple threads on this subject on this forum. Just open the Hero main forum:
http://forum.xda-developers.com/forumdisplay.php?f=508
... and do a search for "video" from the "Search this forum" -tool to the right.
In short, the Hero has massive problems playing mp4-video without a glitch. The best I've acchieved is smooth video that slows down a bit and then becomes faster to catch up with the timeline every 10 seconds.
This can be done by using an exact set of conversion options with one of many many encoders. Some say it works perfectly for them, but I suspect their eyes are just not as finely tuned as mine
Main thing seems to be the target resolution can be no higher than 480x360.
Click to expand...
Click to collapse
Cheers dude, I did look but I can't find anything about synchronisation, my videos aren't dropping frames (or at least that doesn't bother me), it's just that the audio is constantly out of sync with video. Makes everything look like it's dubbed, when people talk their lips don't match the sound. You see an explosion (for example)and hear it later.
I'm going to do some experiments with bitrates and converters today.
How exciting!
4 hours later, 3 different converters and no good news.
Has anyone got any settings and a converter to recommend?
Dude try using psp settings. I was having the same issues with avi's & mp4's but now I'm using psp settings its almost perfect
thenewshaft said:
Dude try using psp settings. I was having the same issues with avi's & mp4's but now I'm using psp settings its almost perfect
Click to expand...
Click to collapse
Could you post what the settings are? I tried a load of things earlier and it was all rubbish.
Resolution, bit rate for video and audio as well as file type would be grrrrreat!
Well, I -THINK- I've cracked it.
There are some dropped frames still but image quality is good and the sound is in sync. Here are the settings when using Handbrake http://handbrake.fr/?article=download to do the conversion:
If I don't give a value for it, then you don't need to change it.
Format: MP4
Crop: Automatic
Width/Height: 480 / Blank
Anamorphic: None
VideoCodec: Mpeg-4 (FFmpeg)
Framerate 23.976
2 pass encoding: Check
Avg Bitrate: 750
Audio Source: Automatic
Audio Codec: AAC
Mixdown: Stereo
Samplerate: 48k
Bitrate: 128
That's the best result I got after HOURS of experimenting but I'd be interested if anyone has anything better.
I see you already went ahead and did your own tests... Here are some relevant threads:
http://forum.xda-developers.com/showthread.php?t=544498
http://forum.xda-developers.com/showthread.php?t=550529&
I myself, haven't been able to get Handbrake working with any settings. Audio always stutters like crazy, so the video is basically unwatchable.
What does work for me is Videora, which has a bunch of free converters bundled for a specific platform, so you can get a Videora iPod -edition and a Videora HTC-edition. There's a general edition as well.
The GUI is horrific and loads weird web pages into a huge box inside the program (presumably to allow advertising whilst using the program), but I did manage to get the smoothest playback out of it of all the converters I tried. I think I even went with default settings for HTC G1-video.
The video plays ok, the sound and video are in sync, but the video slows down and catches up every 10 seconds or so.
Hope you get it working! I am pretty hopeful that the coming update will alleviate the problem...
Thanks, will have a look at those threads. The Videora converter didn't work well at all for me, I'm wondering if there are certain files that retain characteristics that the phone doesn't like. IE that you may get a better result with converting from divx to mp4 than, for example high quality mp4 to something the hero can handle.

Coreplayer, Smooth than laggy, and perfect in benches??

Hey guys just got a slick HD2 from Tmobile, and I wanted to check out Coreplayer. I started playing a few WVGA videos with decent bitrate, and towards the first 10seconds video played fine than started to lag and drop frames, then when I skip to a different part, it plays smooth for another 10secs than lags. When I run benchmarks, the video scores 120%.
I am using these settings for optimal playback.
Tools:
>Settings:
>Video:
Video Output: DirectDraw
Video Quality: High
Smooth Zoom: On
Dither: Checked
--
>Direct Draw:
Uncheck Both “Overlay with colorkey” and “Use blitting instead of overlay”
Check “Use device stretching for blitting”
Overlay format: YUY2 (or RGB to enable Dither)
--
These settings give me best visual quality, tell me if there are better settings.
However, the above problem occurs, in many different configurations.
I believe the process priority is the concern here, I think Coreplayer auto ranks up the priority during benches but doesent seem to do so while playing, most likely to conserve battery life.
I was reading a long time ago about a program that increases process priority in Windows Mobile, and was hoping that it may do the trick. So can anyone lead me to the rite softwares???
---Edit: I tryed to change the priority but it is always set to highest, in benchmark mode and in normal playback. Does anyone know what could be the problem.
roteplex said:
These settings give me best visual quality, tell me if there are better settings.
Click to expand...
Click to collapse
I think those are pretty much optimal. (RGB overlays are definitely slower than YUY2).
Try putting the phone in "airplane mode" and then rebooting it; that sometimes helps. If it's doing something like checking for emails in the background it starts to judder badly.
if core player has a buffer size setting try setting it higher try setting it to 32864kb. or do what i do and use TCPMP for videos. it has that setting and it works great for all vids. oh and its free! search the forums for TCPMP if core player ends up not working for you.
I've found that CP benches don't mean Sh*t, I can get 175% in a bench but play it back normally and it still drops frames
DMAND said:
I've found that CP benches don't mean Sh*t, I can get 175% in a bench but play it back normally and it still drops frames
Click to expand...
Click to collapse
Yeah, the benchmark obviously displays average frame-rate; what you need to know is the time taken to render the single slowest, most complicated frame.
If I choose DirectDraw my device.exe locks up. I have had to stick to GDI. I only drop 1 frame every 300 to 500
sancmat said:
If I choose DirectDraw my device.exe locks up. I have had to stick to GDI. I only drop 1 frame every 300 to 500
Click to expand...
Click to collapse
That is probably because you are not using the other settings correctly: YUY2 overlays, etc.
sancmat said:
If I choose DirectDraw my device.exe locks up. I have had to stick to GDI. I only drop 1 frame every 300 to 500
Click to expand...
Click to collapse
Selecting DirectDraw alone will make CorePlayer crash. You need to make sure you set all the other settings in the 1st post too and then it runs much smoother than GDI.

Poor video Playback.

Hi,
It seems to me that the HTC HD suffers from poor video playback among other performance problems, I didn't know devices this new were affected by this problem as I remember there was a Class Action website concerning some affected devices with poor playback.
I have even used this program which supposedly will encode videos to play well on the HD : http://forum.xda-developers.com/showthread.php?t=467112
Used the factory settings, and video glitched and froze in many spots, also went out of sync many times. Used default bit rate settings. Tried playing in both "Album" and Windows Media Player, same problems
Seeing how the HD plays this video I wouldn't even consider trying Coreplayer with Divx/Xvid.
Is there any drivers/fixes to improve video playback or upgrades in certain ROM/Firmware releases?
Thanks.
that is over all a difficult question, because it consists of many aspects.
first of all, that program uses high bitrates and if it converts to wmv, a poor codec. if you take regular 624 x 352 16:9 xvid files, performance is higher. that's the 2nd thing: you said, after seeing album and wmp perform this bad, you wouldn't even give tcpmp or coreplayer a chance. but actually, they do much better in general, after all, you have way more options to optimize playback depending on bitrate and resolution. you could set the buffering and use options like "override avi framrate based on audio", "prefer lookup tables over arithmetic" and "prefer less buffering over smooth video" to get it to work to your demands.
and of course there are many ways to tweak the performance even further: you can of course try different radio roms and corresponding rilphone versions, different roms (which come with different tweaks cooked in by the respective chefs), or even go further and play around with different drivers, like neo2007's driver pack, or use gfxboost, winmospeed, hdtweak...
i have absolutely no problem playing regular xvid files (as stated above: 624 x 352 xvid, overall bitrate just above 1000kbit/s, 175MB per 22 minutes) absolutely smoothly on my blackstone with audio synced at all points. and that way, i don't even need to convert the videos.
as you can see, it is not done by a single tweak to make them run, maybe you need to switch the codec, the player, the rom and make a lot of settings, but if you want proper video playback, it shouldn't be too much for the result you get. also have a look at the codec info i posted, they are very commonly used.
Hi,
I've tried NEO's driver pack, doesn't seem to help, it was a cab file that I installed, I think it said that those drivers dont improve video playback but are more for improving touchflo and 3d performance? i may be wrong.
That program encoded to AVC I don't think it used WMV (or is it pretty much the same codec?).
Just wondering how do Radio ROMS affect the video playback? I thought the radio rom is for the Phone/GPRS operation?
Also how do tweaks on ROMS affect the playback, I thought it was limited to that the processor simply cannot do the work to make the video play smooth as there doesn't seem to be any dedicated graphics/video chip? Do chefs do tweaks on how the OS uses it's memory? Just wondering what sort of tweaks they are but this might not be a simple answer.
I'm surprised how xvid @ 1000k plays well on your blackstone, hmm. Seems my playback method on coreplayer is "QTV" is that the video accelerator on the Qualcomm Chipset ?
xvid video at 830k at 608 x 400 plays borderline on my blackstone on coreplayer, when Panning on movies it jerks. 1778 frames played, dropped 551.
I would have thought preffer less buffering over smooth video would make the video rougher? going to the description of that option.
I tried ticking those options you suggested, they only slightly improve the playback, however i tried this suggestion from another thread :
"For touch HD, just tick "Disable AVC Deblocking" at advanced tab, "soft drop tolerance" to 0.3 sec, and let other settings defaults. Enjoy your hardware-like video player."
Seems to help the most out of any suggestion but still jerks sometimes.
I'll look into winmospeed to see if it can do anything to speed up my video playback and my device, but not sure how the Qaulcomm CPU copes with overclocking, especially stability and reliability.
What is a safe speed to run at?
which driver pack to use depends on which rom you are using, some roms already come with a driver pack and installing another one makes the device slower rather than faster. the drivers, as you correctly pointed out, generally affect the 3d performance, however, it is about hardware acceleration and some players use hardware acceleration, which should be the same chip, the gpu.
you might be right, the program might encode in avc, just had a brief look at the screenshot, and as you mentioned windows media player, which supports almost no codecs i just assumed, it would go for wmv. as already pointed out, i don't encode my files for the phone. too much work for watching once. instead of re-encoding, i could watch them on the pc instead.
radio roms don't affect video playback directly. they do more than just handling phone calls and wireless communications though, radios are the bridge between the winmo OS and the hardware, so also bluetooth, wi-fi, camera, sound and many more things are influenced. but most of all i mentioned it, because i went through a lot of roms recently, beginning with the latest orange uk stock rom and on every single one of them i experienced an improvement in performance, when i used the newest radio 1.17.25.09 with them, with corresponding rilphone. many cooked roms have specific rilphone versions cooked in, and the radio should match for the entire device to work properly.
as i have never cooked a rom, i certainly can't tell you any of the chefs' secrets, but i assume it takes a lot of work and tweaking, to make new builds and sense versions run properly on this rather slow device. many chefs point out to have compressed a lot of graphic files and optimized cache sizes, pagepool...
some of these tweaks can also be altered with hdtweak.
at the moment i use tcpmp cooked into the energy rom and i believe avc deblocking was ticked by default, or else i would have mentioned it, but i also read before, that it should stay ticked on for better performance.
for winmospeed i mostly set it to level 32 or 33 while playing 3d hd2 games, which are generally very slow on the blackstone. having it permanently set to level 33 causes the phone to freeze sometimes, so that speed seems to be the borderline.
if nothing else helps (and that included trying other roms), you could also disable sense, when you watch videos, if it is so important to you. when watching tv shows or movies, you are not using sense for a rather long time anyway and it really hogs ram and cpu.
Chef_Tony said:
for winmospeed i mostly set it to level 32 or 33...... having it permanently set to level 33 causes the phone to freeze sometimes, so that speed seems to be the borderline.
Click to expand...
Click to collapse
agreed.. level 33 = 633mhz is borderline..
a hell of a lot faster than normal 528mhz!
set to level 33 does make the device crash sometimes but not often, i personaly recomend level 33 regardless..
1/10 times it will crash, in my experience its on device first boot after customisation. soft reset and all is ok.
it could be my rom though haha - i joke!
kidcash said:
not sure how the Qaulcomm CPU copes with overclocking, especially stability and reliability.
Click to expand...
Click to collapse
overclocking is completely safe dude, already read up on this before i even tried it when it was released.. so to save you reading, just download it, its worth it
Chef_Tony said:
if nothing else helps (and that included trying other roms), you could also disable sense, when you watch videos, if it is so important to you. when watching tv shows or movies, you are not using sense for a rather long Dtime anyway and it really hogs ram and cpu.
Click to expand...
Click to collapse
lol, in that case dissable everything thats running to free up all your memory
Chef_Tony said:
as i have never cooked a rom, i certainly can't tell you any of the chefs' secrets, but i assume it takes a lot of*
Click to expand...
Click to collapse
*of headf*cks and facepalms! haha
i honestly thought you was a chef untill i seen that, ya got the perfect name though
Rn

Audio sync issues on movies

I re-encoded some of my video's using handbreak to a 800x480 resolution to save on space and I noticed that all of them have audio sync issues when played on the phone but nothing on the PC, moving the original files to the phone also has no audio sync issues.
Im encoding using high profile and nothing else much is changed, anyone know whats causing this ?
This happens with both the stock player and mvideo..
Gave up on Handbrake a long time ago for that reason, didn't matter what codec I used, everything was always out of sync, either resizing or direct scaling.
Real men use MeGUI
B3311 said:
Gave up on Handbrake a long time ago for that reason, didn't matter what codec I used, everything was always out of sync, either resizing or direct scaling.
Real men use MeGUI
Click to expand...
Click to collapse
I never had this issue with the S1, Ill try to join the real men's club.. give me few mins to try it
EDIT:
Could not get the app to work, after it performs an auto update the updatecopier something crashes and deletes .exe file ~_~
Which version? Probably don't need to update, should be enough profiles.
2028, it auto updates a lot of stuff. ill try to skip the update.
EDIT:
I dont know how to properly use this app, I added a test file on the queue and it starts to process it then I get an error result on the queue, its also asking for some avsynth something.
EarlZ said:
2028, it auto updates a lot of stuff. ill try to skip the update.
EDIT:
I dont know how to properly use this app, I added a test file on the queue and it starts to process it then I get an error result on the queue, its also asking for some avsynth something.
Click to expand...
Click to collapse
Yeah, you need avisynth, among other things.
MeGUI isn't really for beginners, but is straightforward enough if you have the time. It's not a one-click job. It's still well worth it IMO - you can convert just about anything to anything after a DVD rip, and the quality is as good or as bad as you want it to be.
If all you're after is something to downscale existing avi/H264/MKVs, I think avisynthdemux will do it - correct me if I'm wrong anyone, been a while since I've used it.
Here's a link to a quite old wiki for MeGUI, but it should be good enough if you're still interested.
hthttp://mewiki.project357.com/wiki/Guides/Basic_Guidetp://
http://www.doom9.org/ is good for all things video.
Ill give it another go a little later, only if it would update properly.
EarlZ said:
Ill give it another go a little later, only if it would update properly.
Click to expand...
Click to collapse
What OS do you use? Heard Win7 64-bit users have had some problems.
Forgot to check my version of MeGUI (at work now), but it works flawlessly with my W7 x86.
Can send all necessary files to you this weekend if you're still interested.
Windows 7 64bit Ultimate.
I tried the vids encoded with handbreak on an S1, theres no audio sync issue.
If you can just compress them into a single zip file.
Of course. Will do it tomorrow sometime (+1 GMT here).
So I've finally gotten the app to work after all this time and still getting the same audio sync issues, I tried encoding with a CUDA based app and still get the same problem.. Could it be an issue with the source file? But it plays perfectly fine on my PC and on the Galaxy S1..
Got the same probleme using SUPER. In the reencoded video sound is about 250 msec behind video. Tried various containers but it's all the same. There are two ways to fix it. Rather wait for incredible Coreplayer to be released for android (you can set and audio sync offset manualy there) or set an offset while encoding. It'll take some time to find the right offset value, but as far as I can see the lag is constant and doesn't depend on file type or resolution, so once found the right value can be used for all video files.
I have the same 250 msec lag in all flash videos in any browser (e.g. from youtube). Still can't find the way to fix it.
Upd
I was wrong that files were ok on PC. The source file is really in sync on PC, but it's also in sync on SGS2. The reason I decided to reencode this file was that it played flawlessly for 10-15 sec, then became choppy for about 5 sec and then played flawlessly again. When reencoding the video file programm extracts elementary audio and video streams from the container, makes the given operations and joins them back together in the output file. Some tomes the source file has wrong or insufficient data (like offset, pulldown, FPS, etc.) that makes an output file out of sync.I tried to remux my source file in the same container just to check that elementary streams can be extracted and joined together with no defect. The result was dreadfully out of sync. The offset value I foud later was -1250 msec (1,25 sec). I made a remux of a source file with offset found and used remuxed file as a source for reencoding to DivX (avi). 1 minute long fragment played flawlessly with stock videoplayer (using hadware acceleration I gues) with perfect sync. Now whole file is being encoded.
Post your files that are out of sync on SGS2 here.
MX Video Player sorts it
I've found that some of my DVD rips made using Handbrake play out of sync on my GS2 which is disappointing. Most are fine, but the ones that aren't play fine on the PC, so it's not a Handbrake encoding issue.
The solution I've found is to use MX Video Player (better than Mobo Player). This allows me to choose software decoding instead of hardware coding for problem videos, and this cures the audio out of sync problem. Slightly disappointing that there appears to be an issue with the GS2 hardware decoder for some files, but at least the amazing CPU has no problem with S/W decoding.
MX Video Player is excellent and worth trying even if you don't have audio sync issues.

Categories

Resources