parnexcodes / widevine-L3-WEB-DL-Script

This is a batch script created to WEB-DL.
GNU General Public License v3.0
343 stars 155 forks source link

how to merge audio and video ts files to one mp4 file? it failed to me , " trun track id unknown, no tfhd was found" #23

Closed joostshao closed 3 years ago

joostshao commented 3 years ago

question: audio and video download by N_m3u8DL-CLI_v2.9.7_with_ffmpeg_and_SimpleG , please help me , i have no idea

PS E:\ffmpeg-n4.4-79-gde1132a891-win64-gpl-4.4\bin\N_m3u8DL-CLI_v2.9.7_with_ffmpeg_and_SimpleG> .\ffmpeg.exe -i '.\stream.mpd_20210809205722(Audio).ts'  -i .\stream.mpd_20210809205722.ts -codec copy Output.mp4
ffmpeg version 2021-08-08-git-ac0408522a-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.3.0 (Rev5, 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-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --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-libglslang --enable-vulkan --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.  3.100 / 57.  3.100
  libavcodec     59.  4.101 / 59.  4.101
  libavformat    59.  4.101 / 59.  4.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  1.103 /  8.  1.103
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000029cc5bfe0c0] could not find corresponding trex (id 2)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000029cc5bfe0c0] could not find corresponding track id 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000029cc5bfe0c0] trun track id unknown, no tfhd was found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000029cc5bfe0c0] error reading header
.\stream.mpd_20210809205722(Audio).ts: Invalid data found when processing input

audio and video download by N_m3u8DL-CLI_v2.9.7_with_ffmpeg_and_SimpleG , please help me , i have no idea

parnexcodes commented 3 years ago

Better to ask on N_m3u8DL-CLI repo.