Профіль

G-rey

G-rey

Україна, Маріуполь

Рейтинг в розділі:

Останні статті

PHP

Смех смехом, HTML эхом.

Конвертирование кодеком Теора

  • 15.07.13, 14:26
Theora and Vorbis Encoding Guide
Theora and Vorbis Encoding Guide

The Theora video format, Vorbis audio format, and Ogg container format were developed by  Xiph.org as free and open-source media formats. FFmpeg can create these formats by using the external encoding libraries libtheora and libvorbis.

To use these encoders make sure your ffmpeg build has been compiled with --enable-libtheora --enable-libvorbis or see the output of ffmpeg -codecs. If you want to compile ffmpeg to support these encoders see the various FFmpeg Compilation Guides for detailed instructions.

libvorbis is usually recommended over the experimental, native FFmpeg Vorbis audio encoder (-codec:a vorbis -strict experimental) since it does not provide comparable quality to libvorbis.

Variable Bitrate (VBR) ffmpeg -i input.mkv -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 output.ogv
  • -qscale:v – video quality. Range is 0–10, where 10 is highest quality. 5–7 is a good range to try. If you omit -qscale:v (or the alias -q:v) then ffmpeg will use the default -b:v 200k which will most likely provide a poor quality output.
  • -qscale:a – audio quality. Range is 0–10, where 10 is highest quality. 3–6 is a good range to try. Default is -qscale:a 3.

Note: if you omit -codec:a libvorbis then ffmpeg will default to the native FFmpeg flac audio encoder for ogg/ogv output container.

О Марселина!

  • 07.06.13, 10:53
So Finn and Jake
set out to find a new home.
It's gonna be tough
for a kid and a dog on their own.

Here's a little house,
Aw, Finn's stickin' his foot in.
Well, that's a bad idea dude
Cause now that bird thinks you're a jerk, Finn!

And now they're chillin' on the side of a hill
And thinkin' livin' in a cloud would be totally thrillin'
Unless they find something inside
Like a mean cloud man and his beautiful cloud bride.

A beehive, oh nooo-ooo-ooo!
Don't put your foot in there, guy!
Y'all tried that before,
And you know it didn't turn out right!.

Big shell, go inside.
Look around, it seems alright.
Frog jumps out;
Barfs a tiger!
Throwin' down potions for food and fiiiiiiiiire!

You know you should have stayed
And fought that sexy vampire lady.
But Jake was feeling terrified,
He was super scared of her vampire bite.

Which is understandable
'Cause vampires are really powerful.
They're unreasonable
And burnt out on dealing with mortals.

Oh, Marceline,
Why are you so mean?

Marceline: I'm not mean,
I'm a thousand years old,
And I just lost track of my moral code.

Oh Marceline,
Can't you see these guys are in pain?

Marceline: No I can't,
I'm invested in this very cute video game.

So there go our boys,
walkin' on the icy ground.
Headin' towards their destiny,
I'm sure they'll figure something out.