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

Downloaded videos sometimes not compatible with Twitter #16135

Closed
TaktakTaktouk opened this issue Apr 9, 2018 · 0 comments
Closed

Downloaded videos sometimes not compatible with Twitter #16135

TaktakTaktouk opened this issue Apr 9, 2018 · 0 comments
Labels

Comments

@TaktakTaktouk
Copy link

@TaktakTaktouk TaktakTaktouk commented Apr 9, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.09. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

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

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

Many Time when I download a video with youtube-dl and I try to upload it to twitter I get an error "not valid video" I don't know what exactly the problem but when I change aspect ratio with FFmpeg
and the upload to Twitter work. ffmpeg -i input.mp4 -vf scale=480:854 -c:v h264

The majority of the videos that have this problem are downloaded from facebook.
here is how my youtube-dl commande:
youtube-dl -o 'output.%(ext)s' -f 'bestvideo[ext=mp4][width<=?1280][height<=?1024]+bestaudio[ext=m4a]/best[ext=mp4][width<=?1280][height<=?1024]/bestvideo[ext=webm]/best' URL

So is there a way to avoid this problem because it happens with more than 50% of videos. Here are some examples:
https://www.reddit.com/r/BeAmazed/comments/8ahgf9/how/
https://www.facebook.com/demotivateur/videos/10155981163584457/
https://www.reddit.com/r/aww/comments/8a8tlz/curious_baby_octopus/

@dstftw dstftw closed this Apr 9, 2018
@dstftw dstftw added the incomplete label Apr 9, 2018
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.