Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
yt-dlp ouputs 360 videos in a different format to youtube-dl
Post Flair (click to view more posts with a particular flair)
Post Body

I have recently switched from youtube-dl to yt-dlp due to throttling, and I'm having problems getting a link to the video in the right format.

As default, youtube sends all mp4 (h264) format 360-videos scrambled/cut up (equiangular) to be unusable in VR environments. This could be fixed (to equirectangular) in youtube-dl by adding --user-agent '' or --user-agent 'WEB'

yt-dlp seems to process the user agent differently, and changes the encoding to AV1 (useless to me) or sometimes sends the standard scrambled video (which, in the link, is marked with ANDROID instead of WEB; changing this in the link doesn't change the video output).

Forcing the h264-codec with -S vcodec:h264 just results in the lower-quality equiangular video.

Here some examples:

youtube-dl -f 'bestvideo[height<=1440][ext=mp4]' --user-agent 'WEB' --get-url https://youtu.be/m9EClKA1VeQ #Standard h264 mp4 video in a equirectangular format (but throttled; 1080p)

yt-dlp -f 'bestvideo[height<=1440][ext=mp4]' --user-agent 'WEB' --get-url https://youtu.be/m9EClKA1VeQ #AV1 mp4 video (unusable encoding; 1440p)

yt-dlp -f 'bestvideo[height<=1080][ext=mp4]' --user-agent 'WEB' --get-url https://youtu.be/m9EClKA1VeQ #equiangular h264 mp4 video (unusable for me; 1080p)

Does anyone have a solution how to force an equirectangular format while retaining the h264 encoding?

Author
Account Strength
50%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
15
Link Karma
14
Comment Karma
1
Profile updated: 1 day ago
Posts updated: 6 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago