GithubHelp home page GithubHelp logo

dlnow's Introduction

DISCLAIMER: For educational purposes only!

DLNOW

TVNOW Downloader in Python (only supports free content without DRM protection).

Requirements

  • Python 3.x with requests
  • ffmpeg in the same folder as the script

Usage

No instructions required, it's self-explanatory

Credits

Inspired by https://github.com/Pati/plugin.video.tvnow.de

dlnow's People

Contributors

philippus229 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

kwaaak

dlnow's Issues

Invalid data found when processing input

Hi!
First of all, thanks alot for this great tool!

I was able to get it to run and download and merge the video/audio segments of an episode, but the ffmpeg copy step in the merge_clean function doesn't seem to work.
Could it be because the content is DRM encrypted?

I get the following error message:

$ python DLNOW.py 
[...]
0: dash
1: dashhd (audio issues)
Dash type > 0
Quality options not implemented yet, defaulting to highest...
Downloading video segment 1 of 1783...
Downloading video segment 2 of 1783...
Downloading video segment 3 of 1783...
[...]
Downloading video segment 1783 of 1783...
Quality options not implemented yet, defaulting to highest...
Downloading audio segment 1 of 1783...
[...]
Downloading audio segment 1783 of 1783...
Merging audio segments...
Merging video segments...
Merging audio and video...
ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.3.0 (Arch Linux 9.3.0-1)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  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
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dd339b32c0] could not find corresponding track id 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dd339b32c0] could not find corresponding trex (id 1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dd339b32c0] could not find corresponding track id 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dd339b32c0] trun track id unknown, no tfhd was found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dd339b32c0] error reading header
video.m4v: Invalid data found when processing input
Done!

Running the ffmpeg command manually also retuns the same error message:

$ ffmpeg -i video.m4v -i audio.m4a -c:v copy -c:a copy test.mp4
 ffmpeg -i video.m4v -i audio.m4a -c:v copy -c:a copy test.mp4
ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.3.0 (Arch Linux 9.3.0-1)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  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
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561ca14db2c0] could not find corresponding track id 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561ca14db2c0] could not find corresponding trex (id 1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561ca14db2c0] could not find corresponding track id 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561ca14db2c0] trun track id unknown, no tfhd was found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561ca14db2c0] error reading header
video.m4v: Invalid data found when processing input

Do you know what I could do to make it work?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.