Support and General Use > Audio Playback, Database and Playlists

RB won't play certain ogg vorbis files

<< < (2/2)

Julian67:
Or use ffmpeg to remux (copy the audio, no transcoding):


--- Code: ---ffmpeg -i OrbitMix1.ogg -acodec copy -vn OrbitMix1_corrected.ogg
--- End code ---

-vn means no video.
-acodec copy means copy the audio unchanged.

This will leave you with an ordinary Ogg Vorbis audio file, playable by any app/device which supports Ogg Vorbis audio.

teamost:
I looked into the oggz-rip program, but what I saw made it look like it was for Linux.  And I never actually came across a link to download it.  BUT, the ffmpeg thing completely worked, thanks!  What do you use to 'examine' a file to see that it has 2 streams instead of being a conventional audio-only ogg file?

gevaerts:

--- Quote from: teamost on June 12, 2012, 10:52:29 AM ---What do you use to 'examine' a file to see that it has 2 streams instead of being a conventional audio-only ogg file?

--- End quote ---

I used a tool called ogginfo that happens to be installed on my laptop, but I suspect ffprobe (from ffmpeg) will also tell you

saratoga:
The rockbox sim also reports streams it cannot parse.

Julian67:

--- Quote from: teamost on June 12, 2012, 10:52:29 AM --- What do you use to 'examine' a file to see that it has 2 streams instead of being a conventional audio-only ogg file?

--- End quote ---

As you have ffmpeg installed then you can just use that to inspect the file without performing any action:


--- Code: ---ffmpeg -i OrbitMix1.ogg
ffmpeg version 0.7.12, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr 11 2012 07:30:33 w

......blah...blah...acres of verbose ffmpeg output ....

  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, ogg, from 'OrbitMix1.ogg':
  Duration: 01:05:18.47, start: 0.000000, bitrate: 92 kb/s
    Stream #0.0: Video: theora, yuv420p, 460x377 [PAR 1:1 DAR 460:377], 90k tbr, 90k tbn, 90k tbc
    Stream #0.1: Audio: vorbis, 44100 Hz, stereo, s16, 96 kb/s
    Metadata:
      ALBUM           : m-cast.net
      TLEN            : 3924952
      ARTIST          : Master Margherita
      GENRE           : Ambient
      DATE            : 2009
      TITLE           : Orbit Mix #1
      ENCODER         : Lavf54.2.100
      COMMENT         : http://archive.org/details/MasterMargherita-OrbitMix1
At least one output file must be specified

--- End code ---

and you can see there is the video stream as stream 0.0 and the audio stream at 0.1
The same can also be done by:

ffprobe OrbitMix1.ogg
or
ffprobe -show_streams OrbitMix1.ogg

ffprobe is part of ffmpeg so you should have it available.

Navigation

[0] Message Index

[*] Previous page

Go to full version