public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Ripping audio from a video DVD
@ 2009-05-09 10:48 Peter Humphrey
  2009-05-09 13:15 ` Stroller
  2009-05-09 17:48 ` Florian Philipp
  0 siblings, 2 replies; 8+ messages in thread
From: Peter Humphrey @ 2009-05-09 10:48 UTC (permalink / raw
  To: gentoo-user

Hello list,

I've acquired a DVD of a concert performance which I'd like to put on the 
choir's Web site. It's too big, though, at nearly 1 GB, so I wondered about 
extracting just the audio from it and putting that up instead.

Is there a Gentoo-ish way of doing this, or should I start messing about 
with bits of wire and other equipment?

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-09 10:48 [gentoo-user] Ripping audio from a video DVD Peter Humphrey
@ 2009-05-09 13:15 ` Stroller
  2009-05-09 17:48 ` Florian Philipp
  1 sibling, 0 replies; 8+ messages in thread
From: Stroller @ 2009-05-09 13:15 UTC (permalink / raw
  To: gentoo-user


On 9 May 2009, at 11:48, Peter Humphrey wrote:
> ...
> I've acquired a DVD of a concert performance which I'd like to put  
> on the
> choir's Web site. It's too big, though, at nearly 1 GB, so I  
> wondered about
> extracting just the audio from it and putting that up instead.

You would use something like mplayer.

I think undvd produces a separate audio track as a by-product of  
ripping the DVD to .avi or .mp4

You might try running that on the disk & looking at what's created  
during the process.

Stroller.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-09 10:48 [gentoo-user] Ripping audio from a video DVD Peter Humphrey
  2009-05-09 13:15 ` Stroller
@ 2009-05-09 17:48 ` Florian Philipp
  2009-05-09 20:04   ` Peter Humphrey
  1 sibling, 1 reply; 8+ messages in thread
From: Florian Philipp @ 2009-05-09 17:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

Peter Humphrey schrieb:
> Hello list,
> 
> I've acquired a DVD of a concert performance which I'd like to put on the 
> choir's Web site. It's too big, though, at nearly 1 GB, so I wondered about 
> extracting just the audio from it and putting that up instead.
> 
> Is there a Gentoo-ish way of doing this, or should I start messing about 
> with bits of wire and other equipment?
> 

The way I do it usually:

mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
[wait]
a52dec -o wav < sound.ac3 > sound.wav
oggenc sound.wav

e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was it
160?)

You'll need

media-video/mplayer USE="dvd a52"
media-libs/a52dec
media-sound/vorbis-tools


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-09 17:48 ` Florian Philipp
@ 2009-05-09 20:04   ` Peter Humphrey
  2009-05-10 13:42     ` Peter Humphrey
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Humphrey @ 2009-05-09 20:04 UTC (permalink / raw
  To: gentoo-user

On Saturday 09 May 2009 18:48:32 Florian Philipp wrote:

> The way I do it usually:
>
> mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
> [wait]
> a52dec -o wav < sound.ac3 > sound.wav
> oggenc sound.wav
>
> e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was it
> 160?)
>
> You'll need
>
> media-video/mplayer USE="dvd a52"
> media-libs/a52dec
> media-sound/vorbis-tools

Thank you both. I'll look into those ideas tomorrow (it's evening here after 
a long week of short nights and much adrenalin).

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-09 20:04   ` Peter Humphrey
@ 2009-05-10 13:42     ` Peter Humphrey
  2009-05-10 15:38       ` Stroller
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Humphrey @ 2009-05-10 13:42 UTC (permalink / raw
  To: gentoo-user

On Saturday 09 May 2009 21:04:31 Peter Humphrey wrote:
> On Saturday 09 May 2009 18:48:32 Florian Philipp wrote:
> > The way I do it usually:
> >
> > mplayer dvd://1 -dumpaudio -dumpfile sound.ac3
> > [wait]
> > a52dec -o wav < sound.ac3 > sound.wav
> > oggenc sound.wav
> >
> > e voila: sound.ogg is a rather small audio file at ~128kbit/s (or was
> > it 160?)
> >
> > You'll need
> >
> > media-video/mplayer USE="dvd a52"
> > media-libs/a52dec
> > media-sound/vorbis-tools
>
> Thank you both. I'll look into those ideas tomorrow (it's evening here
> after a long week of short nights and much adrenalin).

Well, using undvd stripped out an 86MB .avi file, which I've uploaded to the 
Web site. The sound came out just fine in ogg, but I haven't got a usable 
mp3 out of it yet.

Is there a way to stream an avi file through a browser? Just clicking on it 
in Firefox causes it to be downloaded first, which might well put people 
off when it takes so long.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-10 13:42     ` Peter Humphrey
@ 2009-05-10 15:38       ` Stroller
  2009-05-10 15:45         ` Stroller
  0 siblings, 1 reply; 8+ messages in thread
From: Stroller @ 2009-05-10 15:38 UTC (permalink / raw
  To: gentoo-user


On 10 May 2009, at 14:42, Peter Humphrey wrote:
> ...
> Well, using undvd stripped out an 86MB .avi file, which I've  
> uploaded to the
> Web site.

FWIW I don't believe undvd's AVI files to be very specification  
compliant. The author implemented .mp4 support after I pointed this  
out to him, and I have found those to be very good indeed - they play  
on a variety of systems (PS3, Mac) and with very good quality (use the  
2-pass option).

> ...
> Is there a way to stream an avi file through a browser? Just  
> clicking on it
> in Firefox causes it to be downloaded first, which might well put  
> people
> off when it takes so long.

I think all the videos you see streamed on the web are stored as .flv  
files. mplayer can convert to .flv, then it looks like you upload it -  
and a player - to your server along with a little HTML. This <http://www.longtailvideo.com/players/jw-flv-player/ 
 > appears to be (based on?) the same player YouTube uses.

Having said that, why not just upload the avi or mp4 to YouTube or  
Google video? I assume the material is not under restricted copyright.

Stroller.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-10 15:38       ` Stroller
@ 2009-05-10 15:45         ` Stroller
  2009-05-11  9:34           ` Peter Humphrey
  0 siblings, 1 reply; 8+ messages in thread
From: Stroller @ 2009-05-10 15:45 UTC (permalink / raw
  To: gentoo-user


On 10 May 2009, at 16:38, Stroller wrote:
> ... .flv, then it looks like you upload it - and a player - to your  
> server along with a little HTML. This <http://www.longtailvideo.com/players/jw-flv-player/ 
> > appears to be (based on?) the same player YouTube uses.

PS: I found this via: http://www.google.com/search?q=how+to+host+flv+files

http://www.google.com/search?q=open+source+flv+player
and http://www.osflv.com/
also appear work a look.

Stroller.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Ripping audio from a video DVD
  2009-05-10 15:45         ` Stroller
@ 2009-05-11  9:34           ` Peter Humphrey
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Humphrey @ 2009-05-11  9:34 UTC (permalink / raw
  To: gentoo-user

On Sunday 10 May 2009 16:45:29 Stroller wrote:
> On 10 May 2009, at 16:38, Stroller wrote:
> > ... .flv, then it looks like you upload it - and a player - to your
> > server along with a little HTML. This
> > <http://www.longtailvideo.com/players/jw-flv-player/
> >
> > > appears to be (based on?) the same player YouTube uses.
>
> PS: I found this via:
> http://www.google.com/search?q=how+to+host+flv+files
>
> http://www.google.com/search?q=open+source+flv+player
> and http://www.osflv.com/
> also appear work a look.

Thanks for the ideas. Useful. I'll look into them.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-11  9:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-09 10:48 [gentoo-user] Ripping audio from a video DVD Peter Humphrey
2009-05-09 13:15 ` Stroller
2009-05-09 17:48 ` Florian Philipp
2009-05-09 20:04   ` Peter Humphrey
2009-05-10 13:42     ` Peter Humphrey
2009-05-10 15:38       ` Stroller
2009-05-10 15:45         ` Stroller
2009-05-11  9:34           ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox