Video streaming 在线视频流的网络分析

Video streaming 在线视频流的网络分析,video-streaming,wireshark,mpeg-dash,Video Streaming,Wireshark,Mpeg Dash,我想通过网络浏览器播放视频流,并通过Wireshark或其他工具捕获网络。 如何找到视频的视频分辨率和其他视频信息 一旦加载了视频流的元数据,就可以获得视频高度和宽度 var myVideo=document.getElementById(“myVideoID”); myVideo.addEventListener(“loadedmetadata”,函数(e){ var vidWidth=this.videoWidth, VIDEHEIGH=此.videoHeight; //在这里使用您想要的信

我想通过网络浏览器播放视频流,并通过Wireshark或其他工具捕获网络。
如何找到视频的视频分辨率和其他视频信息

一旦加载了视频流的元数据,就可以获得视频高度和宽度

var myVideo=document.getElementById(“myVideoID”);
myVideo.addEventListener(“loadedmetadata”,函数(e){
var vidWidth=this.videoWidth,
VIDEHEIGH=此.videoHeight;
//在这里使用您想要的信息
},假);

您可以使用浏览器的工具。在Chrome中,转到
chrome://media-internals/
在新选项卡中。您将看到各种统计数据:

render_id: 1323
player_id: 30
origin_url: https://example.com
frame_url: https://example.com
frame_title: Example
url: blob:https://example.com
info: Selected GpuVideoDecoder for video decoding, config: codec: h264 format: 1 profile: h264 main coded size: [848,480] visible rect: [0,0,848,480] natural size: [848,480] has extra data? false encrypted? false rotation: 0°
pipeline_state: kSuspended
found_audio_stream: true
audio_codec_name: aac
found_video_stream: true
video_codec_name: h264
audio_dds: false
audio_decoder: FFmpegAudioDecoder
video_dds: false
video_decoder: GpuVideoDecoder
audio_buffering_state: BUFFERING_HAVE_ENOUGH
video_buffering_state: BUFFERING_HAVE_ENOUGH
height: 480
width: 848
pipeline_buffering_state: BUFFERING_HAVE_ENOUGH
duration: 39.50686

您有HTTP或HTTPS连接吗?谢谢您的回复。http脚本可以简单地添加到页面中。再看看你的问题,我想也许布拉德的答案会给你所有你需要的。谢谢。如何自动获取此日志?