Rob <
nom...@example.com>:
> Rob <
nom...@example.com> wrote:
>> Hebben mensen hier ervaring met JW Player?
>>
>> Ik wil snel even een filmpje op ons intranet zetten maar ik loop
>> tegen een aspect ratio probleem aan.
>
> Langer zoeken heeft me geleerd dat JW Player kennelijk de size
> van de video niet deterministisch uit een header leest, zoals de
> andere players doen, maar gewoon het filmpje start en dan kijkt
> hoe groot het wordt. Dit faalt in dit soort gevallen omdat de
> resolutie van het filmpje misleidend is. Het lijkt 4:3 maar moet
> worden afgebeeld als 16:9. Faal.
Hier een leuke thread voor je om te lezen:
http://www.longtailvideo.com/support/forums/jw-player/bug-reports/7487/aspect-ratio-not-detected
Ergens halverwege schrijft JW:
"The player indeed does read the width/height metadata of FLV files (if
they are in the file) and stretches accordingly. If there's no metadata,
a default of 4x3 is used.
There's no other way for Flash-based players to detect video width/height.
The YouTube player actually doesn't do any dimension-checking: it simply
displays always as 4:3.
Totem, being not Flash-based, can actually look inside the decoded video
chunks and do better estimations on the filesize there.
If you do not want to change the original videos, it'd be best to always
presume a 4:3 resolution. If there's metadata, the video will scale
correctly.
Alternatively, you could use a tool like Totem / FFMPEG / Mplayer to detect
the width/height of the player and save it as separate metadata. Next, you
make sure the display of the player has the right dimensions and then set
the "stretching=exactfit" flashvar. Now the player stretches the video to
the display, regardless of what the metadata says."
--
robert