[libav-bugs] [Bug 307] New: [RTMP] avplay should display an error message when the stream is not found

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sat Jun 9 17:57:29 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=307

           Summary: [RTMP] avplay should display an error message when the
                    stream is not found
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: samuel.pitoiset at gmail.com


Hi,

At the moment, avplay doesn't display an error message when the stream is not
found on the server.

The output is
$ ./avplay
rtmp://vod-fms.canalplus.fr/ondemand/videos/1203/BREF_EPISODES_120313_CAN_246434_vido_L.mp4
-loglevel debug
avplay version v0.8-1953-g30f5150, Copyright (c) 2003-2012 the Libav developers
  built on Jun  9 2012 17:15:13 with gcc 4.7.0 20120505 (prerelease)
  configuration: --disable-yasm
  libavutil     51. 31. 0 / 51. 31. 0
  libavcodec    54. 14. 0 / 54. 14. 0
  libavformat   54.  3. 1 / 54.  3. 1
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    2. 20. 0 /  2. 20. 0
  libavresample  0.  0. 2 /  0.  0. 2
  libswscale     2.  1. 0 /  2.  1. 0
[rtmp @ 0x7fb0f8000e20] Handshaking...
[rtmp @ 0x7fb0f8000e20] Server version 3.5.7.1
[rtmp @ 0x7fb0f8000e20] Proto = rtmp, path =
/ondemand/videos/1203/BREF_EPISODES_120313_CAN_246434_vido_L.mp4, app =
ondemand, fname = mp4:videos/1203/BREF_EPISODES_120313_CAN_246434_vido_L.mp4
[rtmp @ 0x7fb0f8000e20] Client bandwidth = 1250000
[rtmp @ 0x7fb0f8000e20] Creating stream...
[rtmp @ 0x7fb0f8000e20] Sending play command for
'mp4:videos/1203/BREF_EPISODES_120313_CAN_246434_vido_L.mp4'
[rtmp @ 0x7fb0f8000e20] New chunk size = 4096

The output of rtmpdump is 
$ rtmpdump -r
rtmp://vod-fms.canalplus.fr/ondemand/videos/1203/BREF_EPISODES_120313_CAN_246434_vido_L.mp4
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list