The above video goes away if you are a member and logged in, so log in now!
Some avi have wrong time in sms
Some avi have wrong time in sms –
In this avi, SMS say 1 minute, 21 seconds - but the actual time is 29 seconds.
Windows players, show correct time.
Update - I found the problem: SMS is displaying the audio duration, instead of displaying the video duration.
Can it be fixed?
@rami1: ...actually for .avi SMS displays information present in the main AVI header without any modifications, so, try to check that "main avi header" structure (using ABCavi tag editor, for example). Btw., sorry for source code. No time for it at the moment, as I have an idea to make brand new mpeg audio decoder (all layers) using floating point calculations (=highest possible quality) and VU units (=highest possible speed). I'll try to commit sources for Rev.7 as soon as I can...
Edit: ...sorry again, I was wrong. It takes maximum duration of all streams present in the .avi. Maybe it should take minimum?...
Last edited by EEUG; 09-29-2006 at 12:04 PM.
Thanks for replying so fast.
1. The best way is to take the video stream duration (1st stream usually),
as this is the way most players work.
2. New mpeg audio decoder, is very much welcomed here, speed boost
is always a good thing. Your code is one of the most efficient
I ever saw. You are very talented, no doubt about it.
Talking about mpeg audio decoder, reminds me that you were talking
about mpeg1 video file support, many people wanted it, as
we have large collection of burned mpeg files or vcd's.
Will it happen?
@rami1: "mpeg1 video file support" will require mpeg audio layer 2 (and maybe layer 1) anyway, so let's finish audio first .
P.S. Source code is in SVN
I was going to send you a couple sample MP3s that became problematic with Rev.7 I won't bother now, since you're re-writing that decoder.
@EEUG: Just wanted to update You, that using unsupported audio codec,
or no audio at all, causes fast playing rate (2x). In case of no audio at all, the time displayed is always 00:00.
Can it be related to SMS using the audio stream time, instead of using the video stream duration?
And anyhow, what do You think about taking the video stream time as general playing time?
@rami1: ...personally, I think it doesn't make sense to play files without audio or video . It's no problem at all to "using the audio stream time" or whatever. I just don't want to spead my efforts between the existing stuff and mpeg1/2 WIP...
1. MPEG1/2 WIP... GOOD times indeed Don't forget also to add dat(mpeg1), and vob extentions(non encrypted vob=normal mpeg2). I think there might be some more extentions.
2. "It's no problem at all to 'using the audio stream time' or whatever
just don't want to spread my efforts between the existing stuff and ..."
Maybe You misunderstood me, but SMS is currently using the AUDIO stream time, and not the video time as the general time...
BTW, some rare avi do not have any sound like powerpoint ppt to avi...
but still, this is very rare.