[FFmpeg-trac] #748(avformat:new): av_read_frame() returns error while streaming mp3

FFmpeg trac at avcodec.org
Wed Dec 14 16:22:01 CET 2011


#748: av_read_frame() returns error while streaming mp3
-------------------------------------+-------------------------------------
             Reporter:  blarson      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:  0.8.7
             Keywords:               |               Blocked By:
  av_read_frame, ffplay              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Sorry for the duplicate messages - I asked about this on irc last night,
 and didn't get an answer, so posted it to the mailing list.  Then burek
 suggested I file a bug report.

 I'm trying to build a simple Android streamer using ffmpeg.  Everything is
 working well, except that for some mp3 streams av_read_frame() returns an
 error (-541478725) after playing for 1-2 minutes.  The same problem
 happens when using ffplay in Linux (0.8.6)

 The stream plays fine with Chrome.  Also I can download the mp3 and then
 it plays fine with ffplay.

 One example bad stream is
 http://www.stationcaster.com/clicktrack/index.mp3?media=%2Fstations%2Fwhb%2Fmedia%2Fmp3%2FDoug_Farrar-1323805825.mp3&usecat=373&subscribed=true&title=Doug+Farrar&ext=.mp3

 Once av_read_frame returns an error, it never works again until I restart
 the stream.  Worst-case, is there any way to skip past and keep playing?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/748>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list