Audiospur aus Datei mit Endung .ogg extrachieren?

Jan-Benedict Glaw jbglaw at lug-owl.de
Thu Sep 6 13:15:23 CEST 2007


On Thu, 2007-09-06 13:04:40 +0200, Peter Voigt <Peter.Voigt1 at gmx.net> wrote:
> weis jemand wie man (möglichst per Kommandozeile) aus einer
> Video(?)-Datei mit der Endung .ogg die Audiospur extrahiert,
> beispielsweise nach .mp3?

.ogg kann Audio sein, aber Video läßt sich da auch einpacken
(Stichwort: Theora).

> Mit ogg124 läßt sich die ogg.Datei nicht abspielen.
> 
> "ogginfo original_datei.ogg"ergibt:
> 
> Processing file "061_Configuration_file_handling.ogg"...
> 
> New logical stream (#1, serial: 5d7a0ef3): type theora
> New logical stream (#2, serial: 28988c5d): type vorbis

Wenn Du kein Bild bekommst, fehlen Dir vermutlich die freien
Theora-Codecs.

> Theora headers parsed for stream 1, information follows...
> Version: 3.2.0
> Vendor: Xiph.Org libTheora I 20060526 3 2 0
> Width: 320
> Height: 240
> Total image: 320 by 240, crop offset (0, 0)
> Framerate 25/1 (25.00 fps)
> Pixel aspect ratio 1:1 (1:1.000000)
> Frame aspect 4:3
> Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)
> Pixel format 4:2:0
> Target bitrate: 230 kbps
> Nominal quality setting (0-63): 0
> User comments section follows...
>         ARTIST=DebConf video team
>         LOCATION=unknown venue
>         DATE=2007-06-14
>         ORGANIZATION=DebConf
>         COPYRIGHT=DebConf video team
>         LICENSE=DebConf video licence: http://meetings-archive.debian.net/pub/debian-meetings/LICENCE
>         ENCODER=ffmpeg2theora 0.16
> Vorbis headers parsed for stream 2, information follows...
> Version: 0
> Vendor: Xiph.Org libVorbis I 20050304
> Channels: 1
> Rate: 32000
> 
> Nominal bitrate: 64.000000 kb/s
> Upper bitrate not set
> Lower bitrate not set
> User comments section follows...
>         ENCODER=ffmpeg2theora 0.16
> Warning: EOS not set on stream 1
> Theora stream 1:
>         Total data length: 103335917 bytes
>         Playback length: 59m:19.880s
>         Average bitrate: 232.223372 kb/s
> Warning: EOS not set on stream 2
> Vorbis stream 2:
>         Total data length: 28833796 bytes
>         Playback length: 59m:19.378s
>         Average bitrate: 64.806370 kb/s

Probier' doch erstmal (für das Extrahieren der reinen Audio-Spur)

mplayer -dumpaudio -dumpfile foo.out yourfile.ogg

Du kannst das Ergebnis natürlich nach MP3 konvertieren, aber ein
verlustbehaftetes Format in ein anderes verlustbehaftetes Format zu
überführen macht die Audio-Qualität nicht gerade besser...

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
  Signature of:                        Lauf nicht vor Deinem Glück davon:
  the second  :                             Es könnte hinter Dir stehen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20070906/ca5390bf/attachment.sig>


More information about the Linux mailing list