Last modified: 2014-07-23 18:43:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70418, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68418 - investigate using a non-fixed bitrate for webm transcodes
investigate using a non-fixed bitrate for webm transcodes
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-23 05:33 UTC by Bawolff (Brian Wolff)
Modified: 2014-07-23 18:43 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bawolff (Brian Wolff) 2014-07-23 05:33:29 UTC
Currently we use a fixed bitrate for webm (and ogg for that matter) transcodes except for webm 720p where we use a variable bit rate( -qmin 18 -qmax 18).

I just noticed there are some files, such as [[File:Hindesite_-_Lily_-_Focus_Stacking_(by).ogv]], where the 720p webm transcode is smaller (2733005 bytes) than the 360p webm transcode (2769705 bytes). This seems wrong. (Note, this is probably specific to the lily file which has a lot of still frames)

I don't know what original considerations went into using a fixed bitrate, but maybe we should just be specifying a quality level instead.

In my test of the lily file, using a quality level of 18 (like the current 720p setting) for the 480p version gave a file size of 1.5mb, compared to the current 480p settings of -qmin 1 -qmax 51 -vb '1024000' which gives a file size of 5.3mb.
Comment 1 Brion Vibber 2014-07-23 18:43:03 UTC
I believe the original idea was that 160p, 360p, and 480p transcodes were meant for online streaming viewing and 720p was meant for offline downloading, so the 160/360/480 have fixed nitrates designed around tiers of network speed... while the 720 has a quality setting and so is variable bitrate -- making it indeed potentially a LOT smaller on a video like this that has a low rate of visual change entropy.

Can we make the bitrate setting a _maximum_ bitrate on VBR encoding or something, rather than a fixed bitrate?
Comment 2 Brion Vibber 2014-07-23 18:43:33 UTC
nitrates -> bitrates *damn you autocorrect*

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links