VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 6 of 6
  1. Hi there,

    I had downloaded the fragments from

    Code:
    https://bcovlive-a.akamaihd.net/664b4abdb2634e14b39426e5f836747b/ap-northeast-1/6160987587001/playlist_wv.m3u8
    it is an ended mpeg-dash stream, and I found the wv keys is

    Code:
    b35ba32acf43e2865cb0771219af08d5:989d4b0938b6902471a10d77c0db753b
    So, what I had done is merged the fragments with the init file in CMD by
    Code:
    copy /B init.mp4+4900.m4s+4901.m4s+4902.m4s enc.mp4
    and then I used mp4decrypt to decrypt the merged fragments
    Code:
    mp4decrypt --key b35ba32acf43e2865cb0771219af08d5:989d4b0938b6902471a10d77c0db753b enc.mp4 dec.mp4
    the MPC player is able to open the video file, however, it cannot start to play, there is black and no audio.

    Does anyone know what I have missed?

    Thanks.
    Quote Quote  
  2. How did you get the keys? Is the keys correct?
    Quote Quote  
  3. Originally Posted by ROYTFZ View Post
    How did you get the keys? Is the keys correct?
    the key get from getwvkeys, I've tried decrypt with shaka packager is success and playable, but the audio track and video track is spearated
    Quote Quote  
  4. join manually with ffmpeg
    Code:
    ffmpeg -i video.mp4 -i audio.m4a -c copy final_video.mp4
    Quote Quote  
  5. Originally Posted by hkghtk View Post
    Originally Posted by ROYTFZ View Post
    How did you get the keys? Is the keys correct?
    the key get from getwvkeys, I've tried decrypt with shaka packager is success and playable, but the audio track and video track is spearated
    I have the same problem on this site with today’s stream. May I know how to decrypt by shaka packager? Thanks.
    Quote Quote  
  6. Originally Posted by lomero View Post
    join manually with ffmpeg
    edit: I see your command after I submit this reply, thanks I am able to merge it now

    ------

    do you mean concatenate the media fragments (m4s)? can you teach me the command?

    i wrote the list.txt

    Code:
    file 'c:\test\0000.mp4' 
    file 'c:\test\738.m4s' 
    file 'c:\test\739.m4s'
    file 'c:\test\740.m4s'
    and run with command:
    Code:
    ffmpeg -f concat -safe 0 -i list.txt target.mp4
    ffmpeg returns error
    Code:
    ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
      configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
      libavutil      57. 17.100 / 57. 17.100
      libavcodec     59. 18.100 / 59. 18.100
      libavformat    59. 16.100 / 59. 16.100
      libavdevice    59.  4.100 / 59.  4.100
      libavfilter     8. 24.100 /  8. 24.100
      libswscale      6.  4.100 /  6.  4.100
      libswresample   4.  3.100 /  4.  3.100
      libpostproc    56.  3.100 / 56.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f07753e340] Could not find codec parameters for stream 1 (Video: h264 (avc1 / 0x31637661), none, 1920x1080): unspecified pixel format
    Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f07753e340] Auto-inserting h264_mp4toannexb bitstream filter
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f07753e340] could not find corresponding trex (id 2)
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f07753e340] could not find corresponding track id 0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f07753e340] trun track id unknown, no tfhd was found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f07753e340] error reading header
    [concat @ 000001f0775216c0] Impossible to open 'c:\test\739.m4s'
    [concat @ 000001f0775216c0] Could not find codec parameters for stream 1 (Video: h264 (avc1 / 0x31637661), none, 1920x1080): unspecified pixel format
    Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
    Input #0, concat, from 'list.txt':
      Duration: N/A, bitrate: 189 kb/s
      Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s
        Metadata:
          handler_name    : Brightcove m4f generator
          vendor_id       : [0][0][0][0]
      Stream #0:1(und): Video: h264 (avc1 / 0x31637661), none, 1920x1080, SAR 1:1 DAR 16:9, 90k tbr, 90k tbn
        Metadata:
          handler_name    : Brightcove m4f generator
          vendor_id       : [0][0][0][0]
        Side data:
          unknown side data type 24 (169 bytes)
    Stream mapping:
      Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
      Stream #0:0 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    concate.txt: I/O error
    Cannot determine format of input stream 0:1 after EOF
    Error marking filters as finished
    Conversion failed!
    the files is not the same with the stream I provided at top but is download from same stream provider and ffmpeg returns similar error message
    Last edited by hkghtk; 29th Jun 2022 at 12:10.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!