Encoding videos in Ogg Theora format under MorphOS
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Hi,

    I wonder if it is possible to encode videos in the Ogg Theora format under MorphOS? Does anyone have any experience with this format and perhaps even some hints or command line proposals if there is a softwar which can do this.

    Thanks in advance for your help.

    Regards

    Christoph
  • »29.10.12 - 04:48
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    Hi,
    I can't say if there is any program/command that could perform this operation but I tried this:
    http://video.online-convert.com/convert-to-ogg
    and it works using OWB.
    Well, I guess large files need a real good, solid internet connection since a 3 mb file became a 6 mb after conversion.
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »29.10.12 - 12:45
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Hi, thanks for the link, which I tried already and it works. Though the "in" file must not have more then 100 MB otherwise one needs to register. And as you sayed, if one wants to re-encode big files, 200, 300 or more MB, then it's not suitable. Better would be a local solution to re-encode within MorphOS with e. g. Mencoder or ffmpeg.

    I think a local solution would be more flexibla also, concerning vbitrate, abitrate, resize, etc.
  • »31.10.12 - 04:42
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    Since your question stimulate curiosity, I went here and there inside the web-land searching for some infos.
    As I've read in many threads theoretically is possible to encode a file with mencoder and ffmpeg to theora format if libtheora and libvorbis are installed but I guess no such libraries exist for MorphOS (I only found OS4 versions on Aminet ). Another problem is that ffmpeg needs to be compilated with support for theora and vorbis. In fact, I tried a n encoding with ffmpeg using this command
    Code:
    ffmpeg -i input.flv -vcodec theora -acodec vorbis output.ogv

    but it doesn't find the codec to perform operation. You will find the example in the third link I posted.
    Here some interesting (I hope...) links:

    https://bbs.archlinux.org/viewtopic.php?id=83928
    http://forum.ubuntu-fr.org/viewtopic.php?id=396429
    http://superuser.com/questions/352850/theora-encode-init-failed-when-convertingflv-toogg-theora-video-using-ffmpe

    I found a vorbisfile.library for morphos on Aminet that is the porting of libogg, libvorbis and libvorbisfile though I don't know if it should be useful:

    http://aminet.net/package/util/libs/VorbisFile_Library

    Well, libraries and new ffmpeg compilation are needed to have a local program that could perform this encoding.
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »01.11.12 - 14:22
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    In theory, my mencoder port is compiled with libtheora and libogg, so it should just work, actually.

    As for my ffmpeg port, it was just a quick try, so i doubt i included them.
  • »01.11.12 - 16:10
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    Interesting, I searched in the read me and I didn't find it (or probably I didn read it...).
    Thanks Fab!
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »01.11.12 - 16:23
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    @ Fab

    I tested ffmpeg and no ogg support is not included :-(

    But if mencoder can encode in this format, it's enough for me. I have to try it. You wouldn't have a commandline example?

    Thanks very much for feed-back.

    Christoph
  • »02.11.12 - 04:49
    Profile Visit Website