[FFmpeg-trac] #4997(avformat:new): FFmpeg RTMPE not working

FFmpeg trac at avcodec.org
Sun Nov 8 16:39:22 CET 2015


#4997: FFmpeg RTMPE not working
------------------------------------+--------------------------------------
             Reporter:  RiCON       |                     Type:  defect
               Status:  new         |                 Priority:  minor
            Component:  avformat    |                  Version:  git-master
             Keywords:  rtmp,rtmpe  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+--------------------------------------
 Summary of the bug:
 Native RTMPE is complaining about "Signature mismatch" with both OpenSSL
 and GnuTLS/GMP while librtmp's is working fine.

 How to reproduce:
 {{{
 % youtube-dl -j "http://www.crunchyroll.com/the-perfect-insider/episode-4
 -the-rainbow-colored-past-686451"
 <to obtain url and playpath>

 % ffmpeg-rtmp-gnutls -rtmp_playpath "mp4:c2/s/ve2017005/video.mp4" -i
 "rtmpe://cp150757.edgefcs.net/ondemand/?auth
 =daEa1bmajcLctbqcEaSbpcYaQc5bcdea_ai-bwp2MS-dHa-
 oBFwusOCGvA&aifp=0009&slist=c2/s/ve2017005/video.mp4"
 ffmpeg version N-76516-ged45b45 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (Rev4, Built by MSYS2 project)
   configuration: --prefix=/local64 --bindir=/local64/bin-video --enable-
 static --disable-shared --pkg-config-flags=--static --enable-gnutls
 --enable-gpl --enable-librtmp
   libavutil      55.  5.100 / 55.  5.100
   libavcodec     57. 15.100 / 57. 15.100
   libavformat    57. 14.100 / 57. 14.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 14.101 /  6. 14.101
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 HandShake: Type mismatch: client sent 6, server answered 8
 Metadata:
   duration              1381.05
   moovPosition          32.00
   width                 656.00
   height                368.00
   videocodecid          avc1
   audiocodecid          mp4a
   avcprofile            77.00
   avclevel              30.00
   aacaot                2.00
   videoframerate        23.98
   audiosamplerate       44100.00
   audiochannels         2.00
 trackinfo:
   length                16555000.00
   timescale             11988.00
   language              und
 sampledescription:
   sampletype            avc1
   length                60904448.00
   timescale             44100.00
   language              und
 sampledescription:
   sampletype            mp4a
 Input #0, flv, from 'rtmpe://cp150757.edgefcs.net/ondemand/?auth
 =daEa1bmajcLctbqcEaSbpcYaQc5bcdea_ai-bwp2MS-dHa-
 oBFwusOCGvA&aifp=0009&slist=c2/s/ve2017005/video.mp4':
   Metadata:
     moovPosition    : 32
     avcprofile      : 77
     avclevel        : 30
     aacaot          : 2
     videoframerate  : 24
     audiochannels   : 2
     length          : 60904448
     timescale       : 44100
     sampletype      : mp4a
   Duration: 00:23:01.05, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: h264 (Main), yuv420p, 656x368 [SAR 368:369 DAR
 16:9], 24.42 fps, 23.98 tbr, 1k tbn, 47.95 tbc
     Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp
 At least one output file must be specified

 % ffmpeg-gnutls -rtmp_playpath "mp4:c2/s/ve2017005/video.mp4" -i
 "rtmpe://cp150757.edgefcs.net/ondemand/?auth
 =daEa1bmajcLctbqcEaSbpcYaQc5bcdea_ai-bwp2MS-dHa-
 oBFwusOCGvA&aifp=0009&slist=c2/s/ve2017005/video.mp4"
 ffmpeg version N-76516-ged45b45 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (Rev4, Built by MSYS2 project)
   configuration: --prefix=/local64 --bindir=/local64/bin-video --enable-
 static --disable-shared --pkg-config-flags=--static --enable-gnutls
 --enable-gpl
   libavutil      55.  5.100 / 55.  5.100
   libavcodec     57. 15.100 / 57. 15.100
   libavformat    57. 14.100 / 57. 14.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 14.101 /  6. 14.101
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 [rtmpe @ 0000003605adf440] Signature mismatch
 rtmpe://cp150757.edgefcs.net/ondemand/?auth
 =daEa1bmajcLctbqcEaSbpcYaQc5bcdea_ai-bwp2MS-dHa-
 oBFwusOCGvA&aifp=0009&slist=c2/s/ve2017005/video.mp4: Input/output error

 % ffmpeg-openssl -rtmp_playpath "mp4:c2/s/ve2017005/video.mp4" -i
 "rtmpe://cp150757.edgefcs.net/ondemand/?auth
 =daEa1bmajcLctbqcEaSbpcYaQc5bcdea_ai-bwp2MS-dHa-
 oBFwusOCGvA&aifp=0009&slist=c2/s/ve2017005/video.mp4"
 ffmpeg version N-76516-ged45b45 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (Rev4, Built by MSYS2 project)
   configuration: --prefix=/local64 --bindir=/local64/bin-video --enable-
 static --disable-shared --pkg-config-flags=--static --enable-openssl
 --enable-gpl --enable-nonfree
   libavutil      55.  5.100 / 55.  5.100
   libavcodec     57. 15.100 / 57. 15.100
   libavformat    57. 14.100 / 57. 14.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 14.101 /  6. 14.101
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 [rtmpe @ 000000d3a97cee00] Signature mismatch
 rtmpe://cp150757.edgefcs.net/ondemand/?auth
 =daEa1bmajcLctbqcEaSbpcYaQc5bcdea_ai-bwp2MS-dHa-
 oBFwusOCGvA&aifp=0009&slist=c2/s/ve2017005/video.mp4: Input/output error
 }}}

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


More information about the FFmpeg-trac mailing list