WebChimera
WebChimera copied to clipboard
Default aspect ratio wrong
When playing an mpeg transport stream with 16:9 video the web plugin displays using an odd ratio.
The video plays fine in standalone VLC.
Sample file: https://www.dropbox.com/s/7z5irlkp894gx2q/20150116_090008_000152.ts?dl=0
Yes, It could be due rectangle (i.e. not square) pixel in media. Support of it is not implemented yet.
You can now set default aspect ratio and crop manually with the latest version of WebChimera Player.
Example using your sample: http://editor.webchimera.org/test_aspect_ratio
Official demo: http://editor.webchimera.org/aspect_ratio_crop
Documentation: http://wiki.webchimera.org/index.php?title=.addPlaylist()
I've found two more plugin or libvlc bugs related to your sample video:
- vlcPlayer.time is always 0 during playback
- vlcPlayer.position has a 0.1 delay (starts from 0.1 instead of 0.0 and ends with 1 before playback ends)
Good Job, Jaruba! Thanks! About bugs you've found - I think it's libvlc's bugs/issues.
I tried to find the way to setup correct aspect ratio - but with no luck yet.
The bugs I've found might be isolated to this specific video source, eighter file corruption, improper file header, improper video cutting tool.. I'd also do a test with another ".ts" file, will try to find one.
I've found another ".ts" file to test with:
http://dveo.com/downloads/TS-sample-files/San_Diego_Clip.ts
I can confirm that the bugs (Aspect Ratio, vlcPlayer.time and vlcPlayer.position) happen to all ".ts" files.
yes, I'm already met aspect ratio problem with .ts files on FBVLC
it's defenetely not a bug in video source, it's just has not square pixels...
but problem with time
/position
- should be issue of libvlc...
Problem is, I can't find the way to get correct pixel aspect ratio from libvlc. I have one Idea - will try it tomorrow.