[Theora] A script to convert existing video files to Ogg
Thu Jul 22 17:25:00 PDT 2004
In-Reply-To: <410011E4.2040904 at hut.fi>
References: <410011E4.2040904 at hut.fi>
Message-ID: <Pine.LNX.4.60.0407221717450.7174 at albani.cs.ubc.ca>
regarding 2ogg.sh some suggestions.
mkfifo -m 660 stream.yuv does not work on FAT filesystem. Please make a
check that, filesystem on which, you run the script is not FAT/NTFS.
Default video and audio quality should be there (if user does not
provide any arguments). For me, video=3 and audio=2 works great.
I am using SuSE 9.1, with many rpms installed using apt4rpm. RPMs in
repository, include encoder_example.
On Thu, 22 Jul 2004, Timo Jyrinki wrote:
> I noticed that it's quite difficult currently to create Ogg format files (Ogg
> Theora for video and Ogg Vorbis for audio). There's only the
> encoder_example-program, which is included in the libtheora source packages,
> but seemingly not in any libtheora/libtheora-devel packages that are around
> the web for e.g. many Linux distributions.
> If anyone happens to be interested in an easier way to utilize Ogg Theora,
> I've made the encoder_example binary available as an RPM package (compiled
> under SUSE 9.1), together with an easy-to-use script with which to convert
> videos to Ogg format. The RPM requires libogg, libtheora and libvorbis
> installed, and the script (2ogg.sh) needs MPlayer (http://www.mplayerhq.hu/)
> and encoder_example. I put the 2ogg.sh under GPL just in case someone wants
> to do something with it.
> They're available at my home page at:
> I haven't programmed much with the shell scripts, but I tried to do some
> proper parsing of the paramaters so that it's both easy and safe to use.
> There's nothing earth-shattering in the script, but I find it a nice thing to
> have together with a ready-to-go encoder binary.
> Best Regards,
> Timo Jyrinki
> Theora mailing list
> Theora at xiph.org
More information about the Theora