Search code examples
video-streamingwiresharkmpeg-dash

Network Analysing of Online Video Stream


I want play a video stream by web browser and capture the network by Wireshark or other tools. How can I found the video resolution of video and other information of video?


Solution

  • You can use the browser's tools. In Chrome, go to chrome://media-internals/ in a new tab. You'll see all sorts of stats:

    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