Opened 6 years ago
Closed 6 years ago
#7619 closed defect (worksforme)
Can't connects rtmp(e) but ffplay can
Reported by: | nicol | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | rtmp |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: ffplay and rtmpdump can connects rtmpe but ffmpeg can't.
Similar ticket #6363
page url
https://vod.ouj.ac.jp/view/ouj/#/navi/player?co=6978&ct=V&ca=826
How to reproduce:
% ffmpeg -i "rtmpe://vod-st.ouj.ac.jp:80/classtream" -rtmp_app "classtream?authTicket=94a2b8d0caf9b89d5e946a7378dc1d11b347a5a05de3542ef1b10643924c20a739cf9849f22e469b0a0e9135ee4d2c40737701c175b1fe23129e03ad222e378eb93cefbfa81e083935ed7b5bcbbbf55d" -rtmp_playpath "mp4:1/6978.mp4" -rtmp_swfurl "https://vod.ouj.ac.jp/classtream-player/v1.2/js/video-js/5.12.6/video-js.swf" -c copy out.flv ffmpeg version N-92712-g011c9112a0 built on ... zeranoe ffmpeg ffmpeg version N-92712-g011c9112a0 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 8.2.1 (GCC) 20181201 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 24.101 / 56. 24.101 libavcodec 58. 42.102 / 58. 42.102 libavformat 58. 24.101 / 58. 24.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 46.101 / 7. 46.101 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100 Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'. Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '1'. Reading option '-i' ... matched as input url with argument 'rtmpe://vod-st.ouj.ac.jp:80/classtream'. Reading option '-rtmp_app' ... matched as AVOption 'rtmp_app' with argument 'classtream?authTicket=94a2b8d0caf9b89d5e946a7378dc1d11b347a5a05de3542ef1b10643924c20a739cf9849f22e469b0a0e9135ee4d2c40737701c175b1fe23129e03ad222e378eb93cefbfa81e083935ed7b5bcbbbf55d'. Reading option '-rtmp_playpath' ... matched as AVOption 'rtmp_playpath' with argument 'mp4:1/6978.mp4'. Reading option '-rtmp_swfurl' ... matched as AVOption 'rtmp_swfurl' with argument 'https://vod.ouj.ac.jp/classtream-player/v1.2/js/video-js/5.12.6/video-js.swf'. Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'. Reading option 'a.flv' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument 9. Successfully parsed a group of options. Parsing a group of options: input url rtmpe://vod-st.ouj.ac.jp:80/classtream. Applying option t (record or transcode "duration" seconds of audio/video) with argument 1. Successfully parsed a group of options. Opening an input file: rtmpe://vod-st.ouj.ac.jp:80/classtream. [NULL @ 00000000004d3ac0] Opening 'rtmpe://vod-st.ouj.ac.jp:80/classtream' for reading [rtmpe @ 00000000004d5280] No default whitelist set [ffrtmpcrypt @ 00000000004d5780] No default whitelist set [tcp @ 00000000004d5b00] No default whitelist set [tcp @ 00000000004d5b00] Original list of addresses: [tcp @ 00000000004d5b00] Address 153.156.202.95 port 80 [tcp @ 00000000004d5b00] Address 202.124.221.59 port 80 [tcp @ 00000000004d5b00] Interleaved list of addresses: [tcp @ 00000000004d5b00] Address 153.156.202.95 port 80 [tcp @ 00000000004d5b00] Address 202.124.221.59 port 80 [tcp @ 00000000004d5b00] Starting connection attempt to 153.156.202.95 port 80 [tcp @ 00000000004d5b00] Successfully connected to 153.156.202.95 port 80 [rtmpe @ 00000000004d5280] Handshaking... [rtmpe @ 00000000004d5280] Type answer 6 [rtmpe @ 00000000004d5280] Server version 5.0.8.1 [rtmpe @ 00000000004d5280] Proto = rtmpe, path = /classtream, app = classtream, fname = [rtmpe @ 00000000004d5280] Window acknowledgement size = 2500000 [rtmpe @ 00000000004d5280] Max sent, unacked = 2500000 [rtmpe @ 00000000004d5280] New incoming chunk size = 4096 [rtmpe @ 00000000004d5280] Unknown connect error (unsupported authentication method?) [rtmpe @ 00000000004d5280] Server error: Connection failed. rtmpe://vod-st.ouj.ac.jp:80/classtream: Unknown error occurred
rtmpdump https://github.com/K-S-V/Scripts/releases
rtmpdump -r "rtmpe://vod-st.ouj.ac.jp:80/classtream" -a "classtream?authTicket=94a2b8d0caf9b89d5e946a7378dc1d11b347a5a05de3542ef1b10643924c20a739cf9849f22e469b0a0e9135ee4d2c40737701c175b1fe23129e03ad222e378eb93cefbfa81e083935ed7b5bcbbbf55d" -W "https://vod.ouj.ac.jp/classtream-player/v1.2/js/video-js/5.12.6/video-js.swf" -y "mp4:1/6978.mp4" -o "out.flv"
Note:
See TracTickets
for help on using tickets.
(Quitting manually)