Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create fragmented mp4 files for Mediathek downloads #12154

Closed
madduck opened this issue Feb 16, 2017 · 6 comments
Closed

Create fragmented mp4 files for Mediathek downloads #12154

madduck opened this issue Feb 16, 2017 · 6 comments

Comments

@madduck
Copy link

@madduck madduck commented Feb 16, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.02.16

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

If youtube-dl downloads a file from the Mediathek (extractor/ard.py), it creates a so-called non-fragmented mp4 file, which cannot be played unless it is fully downloaded.

it'd be better if youtube-dl could repack the file creating fragmented mp4. Please see https://stackoverflow.com/questions/8616855/how-to-output-fragmented-mp4-with-ffmpeg for information on how this can be achieved using ffmpeg.

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 16, 2017

Coud you give an example video URL?

@madduck
Copy link
Author

@madduck madduck commented Feb 16, 2017

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 16, 2017

which cannot be played unless it is fully downloaded

Try this:

youtube-dl -v "http://www.ardmediathek.de/tv/Tatort/Hinter-dem-Spiegel/Das-Erste/Video?bcastId=602916&documentId=40609022" --hls-use-mpegts
@madduck
Copy link
Author

@madduck madduck commented Feb 16, 2017

This seems to work, indeed. Is there a way to make this default for a site?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 16, 2017

Site-specific options is still on its way: #8901. --hls-use-mpegts brings no harm unless you're using quite old video players. You may want to just put it in global configuration files.

Closing as the request feature is already implemented.

@yan12125 yan12125 closed this Feb 16, 2017
@madduck
Copy link
Author

@madduck madduck commented Feb 16, 2017

Thanks, already done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.