国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

ZLMediakit-method ANNOUNCE failed: 401 Unauthorized

這篇具有很好參考價值的文章主要介紹了ZLMediakit-method ANNOUNCE failed: 401 Unauthorized。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

使用ffmpeg推流:

nohup ffmpeg -stream_loop -1 -re -i "/usr/local/mp4/test.mp4" -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp://10.55.134.12/live/test &
[root@localhost ~]# ffmpeg -stream_loop -1 -re -i "/usr/local/mp4/test.mp4" -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp://10.55.134.12/live/test
ffmpeg version 4.2.4 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.3.1 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=aarch64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/local/mp4/test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.41.100
  Duration: 00:02:59.84, start: 0.000000, bitrate: 2566 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 2430 kb/s, 50 fps, 50 tbr, 90k tbn, 100 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0xaaaaf8de7fb0] using SAR=1/1
[libx264 @ 0xaaaaf8de7fb0] using cpu capabilities: ARMv8 NEON
[libx264 @ 0xaaaaf8de7fb0] profile High, level 3.2, 4:2:0, 8-bit
[libx264 @ 0xaaaaf8de7fb0] 264 - core 157 r2980 34c06d1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[rtsp @ 0xaaaaf8e408c0] method ANNOUNCE failed: 401 Unauthorized
Could not write header for output file #0 (incorrect codec parameters ?): Server returned 401 Unauthorized (authorization failed)
Error initializing output stream 0:0 -- 
[aac @ 0xaaaaf8e495e0] Qavg: 43505.363
[aac @ 0xaaaaf8e495e0] 2 frames left in the queue on closing

ZLMediakit-method ANNOUNCE failed: 401 Unauthorized,網(wǎng)絡(luò),c++,c++

?解決方式

修改配置文件config.ini

[hook]
#是否啟用hook事件,啟用后,推拉流都將進(jìn)行鑒權(quán)
enable=0

ZLMediakit-method ANNOUNCE failed: 401 Unauthorized,網(wǎng)絡(luò),c++,c++

?文章來源地址http://www.zghlxwxcb.cn/news/detail-657749.html

到了這里,關(guān)于ZLMediakit-method ANNOUNCE failed: 401 Unauthorized的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • Error creating bean with name ‘xx‘: Invocation of init method failed; 無法創(chuàng)建 SqlSessionFactory !

    Error creating bean with name ‘xx‘: Invocation of init method failed; 無法創(chuàng)建 SqlSessionFactory !

    今天遇到了這個問題,新增了一個功能后springboot項目起不了了,報錯日志在下面,百度了很久都沒有解決,一直以為是不是有同事改了配置文件然后給提交了,后來發(fā)現(xiàn)原來是新增的sql沒有把“”進(jìn)行轉(zhuǎn)義,導(dǎo)致sql語句沒有正確結(jié)束,把“”改成“![CDATA[]]”能正常啟動了

    2024年02月06日
    瀏覽(14)
  • RabbitMQ Failed to convert message.No method found for class java.lang.String問題解決

    ????????org.springframework.amqp.rabbit.support.ListenerExecutionFailedException: Failed to convert message ????????Caused by: org.springframework.amqp.AmqpException: No method found for class java.lang.String 1、消息生產(chǎn)者發(fā)送的消息類型為String,消息消費者接收的消息類型為Message,導(dǎo)致接收的時候類型轉(zhuǎn)換不

    2024年02月16日
    瀏覽(21)
  • Win11中docker鏡像Failed to run image. Error invoking remote method ‘docker-run-container‘: Error: conne

    Win11中docker鏡像Failed to run image. Error invoking remote method ‘docker-run-container‘: Error: conne

    Failed to run image. Error invoking remote method \\\'docker-run-container\\\': Error: connect ENOENT \\\\.pipedockerDesktopEngine 使用管理員權(quán)限在cmd中執(zhí)行 : 啟動Docker容器: 使用管理員權(quán)限在cmd中執(zhí)行 : 重新啟動Docker就可以正常啟動鏡像了(如果不行的話,就重啟電腦試試)。 初步懷疑可能是未關(guān)閉容

    2024年02月11日
    瀏覽(56)
  • Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed;

    更新更高版本的SpringBoot依賴解決了 來自GitHub上面的GitHub - echisan/springboot-jwt-demo: 這是一個使用了springboot+springSecurity+jwt實現(xiàn)的基于token的權(quán)限管理的一個demo項目,本地啟動后報錯 完整報錯信息如下 提示信息里有 Hibernate 應(yīng)該和數(shù)據(jù)庫持久層框架有關(guān),項目用的是 jpa ,底層是

    2024年02月15日
    瀏覽(20)
  • ZLMediakit編譯(Win32)

    ZLMediakit編譯(Win32)

    ZLMediakit編譯流程,本文是編譯32位的ZLMediakit 直接下載binary就好了,地址:https://slproweb.com/download/Win32OpenSSL-1_1_1u.msi 也可以根據(jù)自己的需求下載其他版本,地址https://slproweb.com/products/Win32OpenSSL.html 下載libsrtp,地址:https://github.com/cisco/libsrtp/archive/refs/tags/v2.5.0.zip 解壓文件并進(jìn)

    2024年02月12日
    瀏覽(15)
  • ZLMediaKit關(guān)閉自動錄制

    使用wvp-pro和ZLMediaKit搭建GB28181視頻平臺在點播時會自動錄制成.mp4存儲在ZLMediaKit/release/linux/Debug/www/record文件夾下,時間一長磁盤空間就被完全占用。 編輯wvp-pro配置文件增加如下配置 重啟wvp-pro服務(wù)

    2024年02月11日
    瀏覽(71)
  • zlmediakit功能

    1、zlmediakit 編譯成功后,進(jìn)入release/linux/Debug/目錄,執(zhí)行Sudo ./MediaServer -c config.ini -d 2、可以通過ffmpeg 進(jìn)行拉流 和推流 ? ? ?ffmpeg -re -stream_loop -1 -i MV.mp4 -vcodec copy -acodec copy -f flv rtmp://localhost:1935/test/live -stream_loop : -1 表示循環(huán)推流 -0 表示單次推流,也是默認(rèn)值; -i :表示輸

    2024年02月01日
    瀏覽(14)
  • ZLMediaKit簡介

    本文屬于《ZLMediaKit源碼分析》連載系列博客的第一篇,簡要介紹了ZLMediaKit的功能定位、技術(shù)優(yōu)勢和源碼目錄結(jié)構(gòu)。 ZLMediaKit是一個采用現(xiàn)代C++標(biāo)準(zhǔn)編寫的開源項目,它既可以直接作為流媒體服務(wù)器使用,也可以作為音視頻、流媒體相關(guān)應(yīng)用(如:播放器、推流器、流媒體服務(wù)

    2024年02月10日
    瀏覽(15)
  • ZLMediaKit推流測試

    ZLMediaKit推流測試

    ZLMediaKit支持rtsp/rtmp/rtp推流,一般通常使用obs/ffmpeg推流測試,其中FFmpeg推流命令支持以下: 1、使用rtsp方式推流 2、使用rtmp方式推流 3、使用rtp方式推流 如果推流成功,會打印這種日志:? 日志中相關(guān)字符串分別代表:

    2024年02月12日
    瀏覽(15)
  • ZLMediaKit 重建docker包

    ZLMediaKit 重建docker包

    修改配置文件,配置項參考:ZLMediaKit 配置文件說明 上傳步驟2中導(dǎo)出來的media文件夾到/opt/nms/目錄下 加載鏡像 ?各種端口直接用配置文件中配置的,不需要映射

    2024年02月11日
    瀏覽(16)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包