Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  RB won't play certain ogg vorbis files
« previous next »
  • Print
Pages: [1]

Author Topic: RB won't play certain ogg vorbis files  (Read 2314 times)

Offline teamost

  • Member
  • *
  • Posts: 15
RB won't play certain ogg vorbis files
« on: June 11, 2012, 03:39:22 PM »
I download a lot of DJ mixes in ogg format from archive.org and play them on my two rockboxed mp3 players.  In general, things are great.  But there are some ogg files that will play just fine in Winamp on my computers, but neither rockboxed mp3 players will play them at all.  One of my players is a Sansa Clip+, the other is a Sansa e250.  Here are a couple of ogg vorbis files that will not play for me with Rockbox:
http://archive.org/details/MasterMargherita-OrbitMix1
http://archive.org/details/MasterMargherita-OrbitMix2
Basically, when I try to play them on my mp3 players, it tries to play them for just a split second and then goes right to whatever track is next.  Anyone know what is going on with these? (these are just two that I could remember right now).  Thanks.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: RB won't play certain ogg vorbis files
« Reply #1 on: June 11, 2012, 03:44:44 PM »
If I look correctly, those seem to also have an (empty) Theora video stream. That's a bit unusual
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: RB won't play certain ogg vorbis files
« Reply #2 on: June 11, 2012, 04:18:03 PM »
Yeah we only support the first stream in Ogg files IIRC, and that would be a video stream in those files. 
Logged

Offline teamost

  • Member
  • *
  • Posts: 15
Re: RB won't play certain ogg vorbis files
« Reply #3 on: June 11, 2012, 05:23:15 PM »
Thanks for those replies.  I don't completely grasp what they mean, but I guess there's no quick/easy fix, something like editing the file properties or tags or something, that would make it work?

Post Merge: June 11, 2012, 05:30:55 PM
I guess my problem is related to this thread:

http://forums.rockbox.org/index.php/topic,33386.0.html

This all goes a bit above my head.  I just like music and the smaller file size of vorbis, and the decent sound quality at low bitrates.
« Last Edit: June 11, 2012, 05:30:55 PM by teamost »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: RB won't play certain ogg vorbis files
« Reply #4 on: June 11, 2012, 05:39:05 PM »
Quote from: teamost on June 11, 2012, 05:23:15 PM
http://forums.rockbox.org/index.php/topic,33386.0.html

This all goes a bit above my head.  I just like music and the smaller file size of vorbis, and the decent sound quality at low bitrates.

That thread suggests that the "oggz-rip" program can fix this problem.  Never heard of it, but you could try google and see if it works.
Logged

Offline Julian67

  • Member
  • *
  • Posts: 116
Re: RB won't play certain ogg vorbis files
« Reply #5 on: June 11, 2012, 06:38:48 PM »
Or use ffmpeg to remux (copy the audio, no transcoding):

Code: [Select]
ffmpeg -i OrbitMix1.ogg -acodec copy -vn OrbitMix1_corrected.ogg

-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.
Logged

Offline teamost

  • Member
  • *
  • Posts: 15
Re: RB won't play certain ogg vorbis files
« Reply #6 on: June 12, 2012, 10:52:29 AM »
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?
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: RB won't play certain ogg vorbis files
« Reply #7 on: June 12, 2012, 11:55:51 AM »
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?

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

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: RB won't play certain ogg vorbis files
« Reply #8 on: June 12, 2012, 12:12:24 PM »
The rockbox sim also reports streams it cannot parse.
Logged

Offline Julian67

  • Member
  • *
  • Posts: 116
Re: RB won't play certain ogg vorbis files
« Reply #9 on: June 12, 2012, 12:28:48 PM »
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?

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

Code: [Select]
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

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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  RB won't play certain ogg vorbis files
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 15 queries.