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

FFmpeg trac at avcodec.org
Wed Dec 14 17:19:44 CET 2011


#748: av_read_frame() returns error while streaming mp3
-------------------------------------+-------------------------------------
             Reporter:  blarson      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  0.8.7        |               Resolution:
             Keywords:               |               Blocked By:
  av_read_frame, ffplay              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Cigaes):

 Well, I get the same 7.5 Mo file than you, and curl shows me that the
 actual URL is
 http://www.stationcaster.com/stations/whb/media/mp3/Doug_Farrar-1323805825.mp3.

 A 7.5 Mo file is what I call a short, individual file, as opposed to
 streaming, which is supposed to go on forever.

 Now, if your Android app is interrupted sooner than that, then I suspect
 some kind of stupid handling of network errors at the Android level. You
 should try calling the avio_read function directly to see how the file
 data downloads and at what point an error is reported, and what kind of
 error.

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


More information about the FFmpeg-trac mailing list