On Thu, 2005-12-15 at 20:08 +, James wrote:
> OK, let's say I'm looking or 'theoraenc'
>
> I just ran 'qgrep theora *' and got lots of hits,
>
> I ran 'qgrep theoraenc *' and got nothing
>
> Does this mean no (ebuild) contains theoraenc ?
>
> qpkg -i theoraencreturns emptytoo
>
> How do I know somenthing I'm looking for (like theoraenc)
> actually is or is not part of an ebuild
> or a family of ebuilds like 'media-video' ?
>
>
> suggestions?
> syntax using portage-utils?
There are no tools for searching for uninstalled files. Here is what I
did
1. emerge --search theora (if you don't like the slowness, then install and use
either esearch or eix)
Searching...
[ Results for search key : theora ]
[ Applications found : 3 ]
* media-libs/libtheora
Latest version available: 1.0_alpha3
Latest version installed: [ Not Installed ]
Size of downloaded files: 851 kB
Homepage:http://www.theora.org/
Description: The Theora Video Compression Codec
License: xiph
* media-plugins/gst-plugins-theora
Latest version available: 0.8.10
Latest version installed: [ Not Installed ]
Size of downloaded files: 2,341 kB
Homepage:http://gstreamer.freedesktop.org/modules/gst-plugins.html
Description: plugin for gstreamer
License: GPL-2
* media-video/ffmpeg2theora [ Masked ]
Latest version available: 0.15
Latest version installed: [ Not Installed ]
Size of downloaded files: 194 kB
Homepage:http://www.v2v.cc/~j/ffmpeg2theora/
Description: A simple converter to create Ogg Theora files.
License: GPL-2
2. Based upon descriptions, it looks like libtheora is what I need
3. emerge -pv libtheora
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N] media-libs/libtheora-1.0_alpha3 851 kB
4. Looks okay, so run emerge -v libtheora
>>> Merging media-libs/libtheora-1.0_alpha5 to /
--- /usr/
--- /usr/lib/
>>> /usr/lib/libtheora.so.0.2.0
>>> /usr/lib/libtheora.so.0 -> libtheora.so.0.2.0
>>> /usr/lib/libtheora.so -> libtheora.so.0.2.0
>>> /usr/lib/libtheora.la
>>> /usr/lib/libtheora.a
--- /usr/lib/pkgconfig/
>>> /usr/lib/pkgconfig/theora.pc
--- /usr/include/
>>> /usr/include/theora/
>>> /usr/include/theora/theora.h
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/libtheora-1.0_alpha5/
>>> /usr/share/doc/libtheora-1.0_alpha5/vp3-format.txt
>>> /usr/share/doc/libtheora-1.0_alpha5/color.html
>>> /usr/share/doc/libtheora-1.0_alpha5/doxygen-build.stamp
>>> /usr/share/doc/libtheora-1.0_alpha5/README.gz
>>> Regenerating /etc/ld.so.cache...
>>> media-libs/libtheora-1.0_alpha5 merged.
Hmm, nothing installed into /usr/bin, just libraries
5. Goto http://www.theora.org/ listed as the homepage
6. Click on FAQ, followed by "How can I encode videos to Theora?"
7. Get the following answer:
Have a look at ogg-theora-microhowto and transcode quicktime mov files
to Theora files under Linux. You can use libogg, to wrap theora video
with vorbis audio in Ogg file.
A user-friendly way to convert .dv and .avi format video into Ogg Theora
format is with ffmpeg2theora. It can be found at:
http://www.v2v.cc/~j/ffmpeg2theora/
A way to both stream and encode theora format video is with videolan
(VLC).
Example for streaming the video4linux device in ogg theora/vorbis:
vlc v4l:/dev/video:input=3:norm=pal:size=384x288 --sout \
'#transcode{vcodec=theora,vb=300,acodec=vorb,ab=96}:std{access=http,mux=ogg,url=server.example.org:8000}'
Or, replace "v4l:/dev/video:input=3:norm=pal:size=384x288" with a
filename if you want to transcode.
For more on the vlc syntax, see:
http://videolan.org/doc/videolan-howto/en/ch09.html
9. So in order to encode theora files, I need to install ffmpeg2theora
and/or vlc. I saw ffmpeg2theora listed in the previous emerge --search,
but it was masked. Let's look at vlc
10. emerge --search vlc
Searching...
[ Results for search key : vlc ]
[ Applications found : 1 ]
* media-video/vlc
Latest version available: 0.8.1-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 4,765 kB
Homepage:http://www.videolan.org/vlc/
Description: VLC media player - Video player and streamer
License: GPL-2
11. emerge -pv vlc
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N] media-libs/gd-2.0.32 +X -fontconfig +jpeg +png -truetype 573 kB
[ebuild N] media-gfx/graphviz-1.16-r1 -tcltk 4,284 kB
[ebuild N] app-doc/doxygen-1.4.4 -doc -qt -tetex 2,787 kB
[ebuild N] media-libs/libdvbpsi-0.1.3 187 kB
[ebuild N] media-video/vlc-0.8.1-r1 -3dfx +X -a52 -aac -aalib +alsa
(-altivec) +arts -bidi -cdda -cddb -cdio -debug -dts -dvb -dvd +esd -fbcon
-ffmpeg -flac -freetype -ggi -gnutls +gtk2 -httpd -joystick -libcaca -lirc
-live -mad -matroska -mpeg -nls -ogg -opengl -oss -sdl +ssl -stream -svg -svga
-theora -unicode -