public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Varner <fuzzyray@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: setting path for qpkg
Date: Thu, 15 Dec 2005 15:52:52 -0600	[thread overview]
Message-ID: <1134683573.17209.26.camel@txslpc1d36.wkst.vzwnet.com> (raw)
In-Reply-To: <loom.20051215T205044-700@post.gmane.org>

On Thu, 2005-12-15 at 20:08 +0000, 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 theoraenc    returns empty....too
> 
> 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

<snip>
>>> 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 -v4l -vcd -vlm +vorbis -wxwindows -xosd -xv 4,765 kB

12. It's not masked and has a theora USE flag.  So I'm presuming that adding "media-video/vlc theora" to /etc/portage/package.use and running emerge -v vlc will do it

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2005-12-15 22:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15 16:22 [gentoo-user] setting path for qpkg James
2005-12-15 16:48 ` Neil Bothwick
2005-12-15 18:00   ` [gentoo-user] " James
2005-12-15 16:56 ` [gentoo-user] " Paul Varner
2005-12-15 18:14   ` [gentoo-user] " James
2005-12-15 19:11   ` [gentoo-user] " Neil Bothwick
2005-12-15 17:11 ` Francesco Riosa
2005-12-15 18:27   ` [gentoo-user] " James
2005-12-15 19:12   ` [gentoo-user] " Neil Bothwick
2005-12-15 19:26     ` Paul Varner
2005-12-15 20:08       ` [gentoo-user] " James
2005-12-15 20:56         ` Francesco Riosa
2005-12-15 21:52         ` Paul Varner [this message]
2005-12-15 21:45       ` [gentoo-user] " Neil Bothwick
2005-12-15 23:01       ` Peter Ruskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1134683573.17209.26.camel@txslpc1d36.wkst.vzwnet.com \
    --to=fuzzyray@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox