[FFmpeg-trac] #2694(avformat:new): interrupt_callback not working

FFmpeg trac at avcodec.org
Sat Jun 22 18:53:10 CEST 2013


#2694: interrupt_callback not working
------------------------------------+------------------------------------
             Reporter:  sporn       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  regression  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by cehoyos):

 Are you sure this is a regression?
 I tested b55dd10 (the version that you wrote above works fine) and it
 shows the same behaviour as current git head: If I disconnect the network,
 the player freezes and waits forever. This appears to be intended
 behaviour since playback continues as soon as I reconnect.
 {{{
 $ ffplay mmsh://live1.wm.skynews.servecast.net/skynews_wmlz_live300k
 -autoexit
 ffplay version N-35295-gb55dd10, Copyright (c) 2003-2011 the FFmpeg
 developers
   built on Jun 22 2013 18:06:03 with gcc 4.3.2 [gcc-4_3-branch revision
 141291]
   configuration:
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 39. 1 / 53. 39. 1
   libavformat  53. 22. 0 / 53. 22. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
 [wmv3 @ 0x8e6dca0] Extra data: 8 bits left, value: 0
 [asf @ 0x8e5b2a0] parser not found for codec wmav2, packets or times may
 be invalid.
 [asf @ 0x8e5b2a0] Estimating duration from bitrate, this may be inaccurate
 Input #0, asf, from
 'mmsh://live1.wm.skynews.servecast.net/skynews_wmlz_live300k':
   Metadata:
     title           : Sky News
     artist          : BSkyB
     copyright       : BSkyB
     WMFSDKVersion   : 11.0.5721.5145
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 0
   Duration: N/A, start: 832056.145000, bitrate: 252 kb/s
     Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1
 channels, s16, 32 kb/s
     Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p,
 320x180, 220 kb/s, 25 tbr, 1k tbn, 1k tbc
 [wmv3 @ 0x8e6dca0] Extra data: 8 bits left, value: 0
 ...
 }}}
 (waits forever if network gets disconnected)

 ffmpeg (the application) also does not quit on network disconnection but
 waits forever.

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


More information about the FFmpeg-trac mailing list