Related
why on earth does the g1 not capture video?
???? street view.. yes? video capture..no?? wtf
There will be a 3rd party program within a week that can record video. Jailbroken iPhones do it, the G1 is completely open... No worries.
g1 recording video
I think ( *think* ) the reason is that qualcom and broadcom are in a legal dispute over some aspects of H.264 encoding in hardware and until till that is cleared up, no "official" recording apps will be made.
walscobry said:
I think ( *think* ) the reason is that qualcom and broadcom are in a legal dispute over some aspects of H.264 encoding in hardware and until till that is cleared up, no "official" recording apps will be made.
Click to expand...
Click to collapse
Yeah, I never said official. I just know there are plenty of people out there who want it, so developers will throw a program together in no time.
G1 Video File Formats...?
I have a trip coming up, with lots of airport connections/layovers. I used to convert video files and copy them to microSD cards for playback in my WinMo device. Will I be able to do this on my G1? What, if any, file formats will it support?
From what I can read, it plays videos with a YouTube player; can I somehow use that...?
youtube's format is flv you can try to convert to that
other then that it support whatever formats people develop
players to support
Does the g1 support video output?
Well...does it? It would be very convenient if it did. :-D
the G1 does not have video out at this time.
well duh....i was thinking more along the lines of the hardware. the chipset has to be able to output video using the ext-usb cable thing...
only way is over tcp/ip. But there are no apps for that yet.
it could be like a vnc server or video streaming.
but how would it be convenient?
Every attempt i have had at playing a video ends up in the same scenario....
My video will play for 3-4 second then begin to lag out and then i get a error saying sorry this video cannot be played.
no one has any advice?
Anyone having the same issues?
try encoding you videos using the instructions posted in this thread
http://forum.xda-developers.com/showthread.php?t=441063
works perfect for me.
will this be required for every single video on my g1?
JrMcNail said:
will this be required for every single video on my g1?
Click to expand...
Click to collapse
unfortunately yeah for know until there is an update that supports other video formats i know it kinda sux
but the encoder found in that thread is pretty fast depending on the length of the video. also most mobile sites that stream 3gp vids work on the g1
What sucks is handango has a video player and converter for sale for the g1. I was all set to buy it but i tried downloading free trial and it says it is not intended for this device, DENIED!!!!
I have like 7 movies including the dark knight all run on mp4 and run great with video player from the market
benjimen said:
I have a trip coming up, with lots of airport connections/layovers. I used to convert video files and copy them to microSD cards for playback in my WinMo device. Will I be able to do this on my G1? What, if any, file formats will it support?
From what I can read, it plays videos with a YouTube player; can I somehow use that...?
Click to expand...
Click to collapse
you can go to WAREZ SITES ARE NOT ALLOWED and search for "iPod" and filter by video
all those videos that show up should play on the G1 using Cinema or other Video Players. This is NOT legal however and NO ONE SHOULD DO IT and I AM NOT ENDORSING OR RECOMMENDING IT. There is no Divx player that I know of and there may not ever be as playing mp4 and h.264 is extremely simple but Divx/xvid will need software decoding.
The battery in the G1 is MUCH MUCH less than your old WinMo, the battery is physically 1/3 of the size so expect 2 hours of video from disconnecting from the charger. May be more on plane mode and lower screen brightness, BT, Wifi, GPS all off.
The G1 has always had audio and video codecs for playing MP4 vids, put Google did not create a player interface to use it.
The three apps on the market now are interfaces that should have been in the player in the first place.
Mega lame times infinity squared.
This is the app that I use to convert my dvd's,it works like a charm,I recommend mp4/h624 and 320x176,it'll be around 250/300mgs which is nice for a G1 screen...of course it could be 500 or 700mgs and the quiality will be better.
www.dvdfab.com
Hi,
I had a mp4 video encoded at 800*480 resolutions.
When i go to file manager and access the file directly it plays normally on the HTC album software itself, but when i navigate to HTC album is is nowhere to be found.
Can anybody tell me how i could make my video show on the HTC album itself so I can access it on HTC sense.
Thanks
hack_steal said:
Hi,
I had a mp4 video encoded at 800*480 resolutions.
When i go to file manager and access the file directly it plays normally on the HTC album software itself, but when i navigate to HTC album is is nowhere to be found.
Can anybody tell me how i could make my video show on the HTC album itself so I can access it on HTC sense.
Thanks
Click to expand...
Click to collapse
Either put the video in one of the folders Album recognises (Videos, Pictures) or launch Album and press the Albums soft key to select the folder where the video is. I have several mp4 videos and they all show up.
tnyynt said:
Either put the video in one of the folders Album recognises (Videos, Pictures) or launch Album and press the Albums soft key to select the folder where the video is. I have several mp4 videos and they all show up.
Click to expand...
Click to collapse
I tried this but it doesn't work. It briefly shows "wrong" sign in an empty square when i select the video folder, then nothing at all ???
Any idea ?
I'm having an issue with HTC Album whereby recording videos works fine and their thumbnails are created but selecting the videos within HTC Album doesnt play them. Pictures can be viewed fine but not videos. Tried a soft reset which still doesnt do anything. Tried a hard reset which cured the problem then after a short while HTC Album refused to play the videos it created again only allowing me to tap on the video and then it just sits there not doing anything. Any help much appreciated.
I have same issue's. video's taken bij the camera no problem. Copied video's 800x480 for example the helicopter video, won't appear. others do!
Only MP4 & 3GP (H.264 AVC) videos encoded with the Baseline profile (using x264) will show up. H.264 videos encoded with the Main or High profile will briefly show up with an error and disappear when opening the Album or the folder they're in.
The Album can still play them though.
Or at least, that's what it does on my device. Camera videos are encoded using H.264 Baseline and AAC. Would like more input for that.
To fix, either open them manually (Use a file explorer, look for your video, open it with HTC Album (\Windows\HTCAlbum.exe)) or reencode your videos using the Baseline profile.
Yunabeco said:
Only MP4 & 3GP (H.264 AVC) videos encoded with the Baseline profile (using x264) will show up. H.264 videos encoded with the Main or High profile will briefly show up with an error and disappear when opening the Album or the folder they're in.
The Album can still play them though.
Or at least, that's what it does on my device. Camera videos are encoded using H.264 Baseline and AAC. Would like more input for that.
To fix, either open them manually (Use a file explorer, look for your video, open it with HTC Album (\Windows\HTCAlbum.exe)) or reencode your videos using the Baseline profile.
Click to expand...
Click to collapse
I'm not actually converting any types of videos for playback on HTC Album. The videos I'm referring to are the ones recorded by the HD2 camera itself and by default show up within HTC Album but refuse to play even though their thumbnails are present and visible.
I have the same problem as you are describing and wondered how I caused it. I have installed Core player and all the videos taken with the HD2 play without any problem.
I have changed some of the links in the program folder to suite my own preference but none of the links were broken. When I open a video via HTCAlbums, the screen goes landscape with a "loading" message showing, it also plays what just sounds like static.
Not sure what I might have loaded that is causing the problem, a couple of programs are "Change screen" and "hComber". I don't want to hard reset so I'll start by uninstalling these programs unless someone stumbles on to a fix??
Same here, records but does not play back. Has anyone found a fix.
Cheers
Same issue here. HD2 from T-Mobile Germany. This is ridiculous & very annoying.
bukwit said:
I'm having an issue with HTC Album whereby recording videos works fine and their thumbnails are created but selecting the videos within HTC Album doesnt play them. Pictures can be viewed fine but not videos. Tried a soft reset which still doesnt do anything. Tried a hard reset which cured the problem then after a short while HTC Album refused to play the videos it created again only allowing me to tap on the video and then it just sits there not doing anything. Any help much appreciated.
Click to expand...
Click to collapse
I had this issue it was caused by the YouTube app I had installed, don't know if there is a fix.
Video playback not working
Did you ever fix your video problem?
I have same.
I can't play back video taken on my Fuze ever since I loaded a WinMo 6.5 ROM.
Dan
I am haveing the same problem,brand new htc wont play the videos i record at all any one found a fix.. really like everything else about the phone dont want to send it back becuase of this....
I also have this problem (or a very similar one). I can see the video files in HTC album, but pressing on it does nothing.
If anyone knows the cause or solution I would be very grateful.
Same here......I just returned from a week skiing in Italy, where I shot some videos of a nice girl dancing on the table outside at -5 degrees celsius wearing a mini skirt and a mini t-shirt
We were all packed in multiple layers of clothes and skiing outfits and we weren't really warm.
She must have had lots of 'schnapps', cause she didn't seem to be bothered with the cold
Anyway, I shot 3 videos, the first 2 display fine, but the 3rd just says 'Loading' and then nothing happens anymore.
1st video is 10.6 Mb
2nd video is 4.5 Mb
3rd video is 12.6 Mb (this is the one that doesn't play)
It doesn't matter if I play the video from Photos and Videos using the slider, or from Albums frm the Start Menu, or from File Explorer.
Then I hooked up my HD2 to my PC, and copied the 3rd video to the PC where it plays fine in Quicktime. However, I've noticed that the first 32 seconds of the video has NO sound. Sound pops up after 33 seconds, so maybe that's what's causing these issues in HTC Album ??? Or maybe that the recorded size is a factor ???
Same annoying problem here!!!
Don't know what caused it because it was working fine before, maybe some program or tweak I installed...
Thumbnails of my videos show on the album and Sense but when I click on them nothing happens, the videos worked fine before and I can still view them on CorePlayer.
¿Any ideas?
I had this problem when i installed the You Tube cab. I uninstalled it and HTC Album and video worked fine
When you talk about the youtube app you mean the HTC youtube app or the Original Youtube app for windows mobile? the one you can download from the mobile youtube web
I can confirm that at least in my case it was the HTC youtube app that was causing the problem, it seems I have to choose between youtube or being able to watch my videos!
Hey all
Took some video the other day. Was having trouble with my droid saving it. Kept showing that the recorded time was 0 while i was "recording"
Finally got it to record correctly after rebooting, and saved it.
but now when i go to watch them, the video player will say the files are damaged. but i can bring them up on a PC and they play fine.
I did edit the stagefright for HTTP Media, could that be an issue. I thought I read that was fixed though, and only applied if you turned ALL of stagefright on. I just wanted the streaming video part.
Any ideas?
The files play back fine right after I take them, but them 20 minutes later "files are damaged and cannot be played"
Tried a few apps too (mixzing, video player, and from the gallery)
however i CAN play the "video message" sized one I took the same day fine.. just looks like crap
Under Honeycomb 3.1, playback of some high profile h264 files is now possible. This means it is now possible to convert many high profile MKV files to a format the XOOM will play WITHOUT the time consuming process of re-encoding the video. So for those who hate re-encoding, here is how:
Download and install the freeware app XenonMKV. It will allow one click conversion of a high profile 720p MKV file to an mp4 that the XOOM can play WITHOUT the time consuming process of re-encoding the video. Also it leaves original video quality intact and untouched. Special credit to parrotheadmjb for pointing us to this app.
Advantages of this method:
1. Converts only audio with no loss of video quality - video is untouched only audio and container are changed. No artifacts or distortion added by a video re-encode.
2. Much faster then re-encoding the whole video in something like Handbrake or DVD cat. 40 min TV show converts in about 5-6 min. Two hour movie in 15 to 17 minutes or faster depending on your system.
Disadvantages:
1. Will not work for main and high profile 1080p MKV - use DVDcat or Handbrake for these
2. One click version can be quriky with some videos. Manual tools may work better on these.
Some tips for XenonMKV
Setting aspect ratio manually may be necessary for some videos. Do this if your converted video appears stretched or aspect doesn't match original. I have found that using 16x10 rather than 16x9 works for XOOM even when original is 16x9. Setting 16x9 sometimes gave wrong aspect even when original was 16x9.
There is an option to manually select the audio track for multi-language MKV. Use this if its giving you the wrong audio track.
Alternate method using separate tools is shown below. Usefull for stuff that doesn't convert with Xenon. Harder to setup - not that hard really. Just got to download a lot of pieces and put them in the proper folders. After that you just make shorcuts to the desktops for the 3 tools and you are ready.
Very easy to convert videos once tools with Graphical user interfaces are installed -Just requires three separate manual steps.
1. Demux your video: This can be done using MKVtoolnix + MKVextract GUI
Once this tool is installed, you just load your video and click extract.
You should have a video file with h264 extension and an ac3 audio file.
2. Convert just the ac3 audio file to AAC. This can be done with eac3, but I have a paid copy of Ojosoft Audio converter, and I have been using that to convert the
AC3 audio file to an AAC audio file
With Ojo you just load the AC3 file extracted in step 1, select AAC and go.
3. Using MP4boxGUI, mux the original Video file back together with the new AAC audio file and you are done.
Again super easy. Just load the original video extracted in step one and the new AAC audio file made in step 2 and click mux. That's it.
I have specified GUI versions of all the tools for simplicity, however if you love the command line, have fun.
The whole process takes less about 10 minutes, and produces an MP4 video file with audio that plays back on the XOOM.
Disclaimer: I have just started experimenting with this process. Don't blame me if a particular video doesn't convert. Don't go buing Ojosoft and blaming me if you can't use it for your video. There are free ac3 to AAC converters out there.
Important note: You may need to manually set the fps in MP4boxGUI, don't trust the program to keep the original fps. If you don't know the fps of the original, try 23.976 or download mediainfo. If you don't set it manually, and leave it at default you may get audio sync issues.
Edit: So far have only tested with 720p high profile MKV's but its working very well - finally feel like I can watch videos on my XOOM the way they were intended. Going to convert a large number now and see how many work without problems.
Edit: Can't believe how well this is working. Finally an easy way to convert MKV for XOOM without re-encoding for hours. Even worked on a 720p [email protected] file. Perfect video and audio. Damn! I might stop considering the galaxy tab 10.1.
Nice to hear about this kind of progress and testing =)
now all we need is encoder software that'll copy original video but encode the audio with a simple click... batch processing and maybe copy to device in one go.
doesn't handbrake have a "keep video" setting? =)
looking forward to more tests.
i'm still hoping that when coreplayer for android gets released all our playback woes will be over...
@corecodec: "Subtitles completed for CorePlayer on Android and Windows."
Fred
Sent from my HTC Desire using XDA App
I was thinking that too. Would be nice to do it all with one click. But I haven't gotten that far ahead just yet. Now just trying all sorts of videos to see how many work.
But its still not hard once the tools are set up with GUI interfaces. If you just want to download a video and watch it right away without waiting to re-encode the whole thing it's great. I just put the links to the three tools on my desktop and go throught the steps and you can be up watching a movie or TV show in about 10 min after its downloaded.
Theres already a bunch of 1-click tools that will remux it for you.
XenonMKV works great, theres a number of other tools that were made for the xbox 360 that do this since the 360 will play mp4 but not mkv. Try out xenonmkv and see how well that works on the xoom, I haven't tried yet.. I did think about it a few months ago but never got around to it.
edit: also, if you want it to, it'll split the file for you if its >4gb since the file system kinda limits us to 4gb files
Not really a conversion tool but I use Plex (app and server on my PC) and I can stream anything over 3g and WiFi without having to do all this conversion mess. The app costs $5 but its well worth it, there was literally zero setup and my Xoom found my plex server instantly and I was streaming video/music anywhere I was. Obviously for 720 and 1080p videos 3g likely wouldnt be the best but I stream Blu-Ray rips (1080p) over WiFi and it looks and sounds great. I no longer have to convert anything (even plays .mkv's)
parrotheadmjb said:
Theres already a bunch of 1-click tools that will remux it for you.
XenonMKV works great, theres a number of other tools that were made for the xbox 360 that do this since the 360 will play mp4 but not mkv. Try out xenonmkv and see how well that works on the xoom, I haven't tried yet.. I did think about it a few months ago but never got around to it.
edit: also, if you want it to, it'll split the file for you if its >4gb since the file system kinda limits us to 4gb files
Click to expand...
Click to collapse
Awesome. I was looking for something just like this with no luck, but I downloaded this and tried it with a 720p scene release I had been meaning to watch with great results! Video plays great on the xoom, and it was larger than 4GB (4.1), so I'm unsure about that limit. Thanks, I recommend this for sure!
parrotheadmjb said:
Theres already a bunch of 1-click tools that will remux it for you.
XenonMKV works great, theres a number of other tools that were made for the xbox 360 that do this since the 360 will play mp4 but not mkv. Try out xenonmkv and see how well that works on the xoom, I haven't tried yet.. I did think about it a few months ago but never got around to it.
edit: also, if you want it to, it'll split the file for you if its >4gb since the file system kinda limits us to 4gb files
Click to expand...
Click to collapse
Great suggestion - I'm trying XenonMKV right now. Its basically an automated 1click way of performing the steps I outlined above and it seems to be working very well. It looks like we finally have a way of converting and playing MKV files on the XOOM fast and easy without waiting hours to re-encode!! Wow this really changes my opinion of the XOOM.
Tried Xenonmkv out on a 1.2 GB 720p high profile h264 mkv file with ac3 audio. It was able to change the container to mp4 keeping the video quality the same and reencoding the ac3 to aac and remuxing all in less than 5 minutes.
thor17 said:
Tried Xenonmkv out on a 1.2 GB 720p high profile h264 mkv file with ac3 audio. It was able to change the container to mp4 keeping the video quality the same and reencoding the ac3 to aac and remuxing all in less than 5 minutes.
Click to expand...
Click to collapse
What settings are you using? I am trying it now and it has been running for 40 minutes. Forgive my ignorance with this video stuff. It seems to be taking just as long as using DVD Catalyst or Handbrake.
keitht said:
What settings are you using? I am trying it now and it has been running for 40 minutes. Forgive my ignorance with this video stuff. It seems to be taking just as long as using DVD Catalyst or Handbrake.
Click to expand...
Click to collapse
Somethings definitely wrong there. Try re-installing - downloading required libraries Nero- visual basic runtimes etc - also watch all the messages it displays as the MKV is being processed and observe what step it gets stuck on - that should give you a clue as to which tool or library is missing. Of course, its also possible you fed it a video it can't handle, for example I wonder whether it can process a file with DTS audio - something like that might make it hang or give an error message.
Digital Man said:
Somethings definitely wrong there. Try re-installing - downloading required libraries Nero- visual basic runtimes etc - also watch all the messages it displays as the MKV is being processed and observe what step it gets stuck on - that should give you a clue as to which tool or library is missing. Of course, its also possible you fed it a video it can't handle, for example I wonder whether it can process a file with DTS audio - something like that might make it hang or give an error message.
Click to expand...
Click to collapse
I tried a different video file and it worked much faster, 17 minutes. The one that took a long time did say "Detected video or audio codec: A_DTS". Not seeing any error though. If most are around 17 minutes, that is good enough for me.
keitht said:
I tried a different video file and it worked much faster, 17 minutes. The one that took a long time did say "Detected video or audio codec: A_DTS". Not seeing any error though. If most are around 17 minutes, that is good enough for me.
Click to expand...
Click to collapse
That seems about right - a 40 minute 720p MKV takes about 5 or 6 minutes on my computer.
A two hour 720p video takes about 15 minutes. It still takes time to re-encode that much audio, but still far less than something like DVD catalyst or Handbrake. And on a faster computer, I would imagine it would take hardly any time at all.
I assume from your results that the DTS file worked eventually, just took a long time. I was able to convert a two hour DTS file using the manual tools I listed above in conjunction with OjoSoft Audio converter and it took more than 20 minutes, so I gues DTS takes a bit longer than AC3.
Dvdcatalyst 4 seems to be working the best for me. Only 9 buks right now.
Sent from my Xoom using XDA Premium App
nubsors said:
Dvdcatalyst 4 seems to be working the best for me. Only 9 buks right now.
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
DVDcatalyst is an excellent program. And until now, was one of the best solutions for converting MKV videos for the XOOM. Only problem is, with DVDcatalyst and Handbrake and similar programs you are re-encoding your entire video - and in the case of DVDcatalyst, to a lower profile, with a potentional loss of quality. Using DVDcatalyst, I have noticed macroblocking and distortion on its fast, and HQ1 settings. And its HQ2 setting takes a very long time.
By re-encoding only the audio, with something like XenonMKV you are leaving the video un-touched with zero loss or change in quality.
Put more simply, DVDcatalyst and Handbrake are doing a tremendous ammount of unnecessary work to convert a video. Work which is no longer necessary under HC 3.1, because it is capable of handling many high profile 720p h264 files now natively, without conversion.
After viewing this posts, i think this is a good idea. but i still don't know how to operate. i usually use Fox Real Xoom video converter to convert mkv to mp4 for playing. i know it is sample, but i don't know if the way Digital Man provides is also simple?
Unless there is a freeware one click solution for this, there is no point for me, I can handbrake Tron bluray in under 20 minutes. Ripping from the disc takes about 10 more.
Sent from my HTC Desire using Tapatalk
oh...your post seems really amazing, but i had took money to buy a xoom video converter. maybe i should watch your post earlier.
alias_neo said:
Unless there is a freeware one click solution for this, there is no point for me, I can handbrake Tron bluray in under 20 minutes. Ripping from the disc takes about 10 more.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Xenonmkv is a freeware one click solution.
thor17 said:
Xenonmkv is a freeware one click solution.
Click to expand...
Click to collapse
Ummm what he said.
I think thats the whole point. We now have a one click solution that doesn't require re-encoding. (have to read the whole thread people - its really not that long!) I am not using my original steps anymore either. I am using the batch/folder convert in XenonMKV.
I think I will edit the first post in this thread and add XenonMKV as a better solution. Special thanks to parrotheadmjb for sugesting a one click solution in XenonMKV!
Good work, i kinda gave up on movies on my xoom as dvdcat took so long. Does this support 1080p rips? Is the file size cut down alot?
Sent from my ADR6400L using XDA Premium App
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.