[Gettr] Wrong default format
See original GitHub issueChecklist
- Iβm reporting a broken site
- Iβve verified that Iβm running yt-dlp version 2022.01.21. (update instructions)
- Iβve checked that all provided URLs are alive and playable in a browser
- Iβve checked that all URLs and arguments with special characters are properly quoted or escaped
- Iβve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- Iβve read the guidelines for opening an issue
- Iβve read about sharing account credentials and Iβm willing to share it if required
Region
No response
Description
I guess this falls more in the βmisfunctioningβ category as opposed to βbroken.β At the risk of confusion (this usually doesnβt end well), I see two separate issues here. First, without a format type, yt-dlp retrieves a lower quality video (1,627,575 bytes with a video bit rate of 178 kb/s and an audio bitrate of 160 kb/s) than the best available. Second, when I specify the best quality video (hls-1936), I donβt get anything near the filesize or bitrate indicated (3,734,051 bytes with a video bitrate of 793 kb/s).
Verbose log
$ yt-dlp-2022.01.21 -F 'https://gettr.com/post/ppbjz4da87'
[Gettr] ppbjz4da87: Downloading webpage
[Gettr] ppbjz4da87: Downloading JSON metadata
[Gettr] ppbjz4da87: Downloading m3u8 information
[info] Available formats for ppbjz4da87:
ID EXT RESOLUTION β FILESIZE TBR PROTO β VCODEC VBR ACODEC MORE INFO
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
hls-group_audio-audio_0 mp4 audio only β m3u8_n β audio only unknown [ZH] audio_0
hls-616 mp4 480x222 β ~2.83MiB 616k m3u8_n β avc1.4d401e 616k video only
hls-1056 mp4 640x296 β ~4.85MiB 1056k m3u8_n β avc1.4d401f 1056k video only
hls-1936 mp4 960x444 β ~8.89MiB 1936k m3u8_n β avc1.4d401f 1936k video only
ovid mp4 960x444 β https β unknown unknown
$ yt-dlp -v 'https://gettr.com/post/ppbjz4da87'
[debug] Command-line config: ['-v', 'https://gettr.com/post/ppbjz4da87']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.01.21 [f20d607b0] (zip)
[debug] Python version 3.9.9 (CPython 64bit) - Linux-5.15.11-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1
[debug] Optional libraries: Crypto
[debug] Proxy map: {}
[debug] [Gettr] Extracting URL: https://gettr.com/post/ppbjz4da87
[Gettr] ppbjz4da87: Downloading webpage
[Gettr] ppbjz4da87: Downloading JSON metadata
[Gettr] ppbjz4da87: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] ppbjz4da87: Downloading 1 format(s): ovid
[debug] Invoking downloader on "https://media.gettr.com/group21/origin/2022/01/19/14/0f15706b-40b8-cb7a-6bf4-34e0a77b3198/out.mp4"
[download] Destination: Daniel Lemire - Must-watch video. This is what is happening in Quebec. Help! [ppbjz4da87].mp4
[download] 100% of 1.55MiB in 00:08
$ yt-dlp -v -f hls-1936 'https://gettr.com/post/ppbjz4da87'
[debug] Command-line config: ['-v', '-f', 'hls-1936', 'https://gettr.com/post/ppbjz4da87']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.01.21 [f20d607b0] (zip)
[debug] Python version 3.9.9 (CPython 64bit) - Linux-5.15.11-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1
[debug] Optional libraries: Crypto
[debug] Proxy map: {}
[debug] [Gettr] Extracting URL: https://gettr.com/post/ppbjz4da87
[Gettr] ppbjz4da87: Downloading webpage
[Gettr] ppbjz4da87: Downloading JSON metadata
[Gettr] ppbjz4da87: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] ppbjz4da87: Downloading 1 format(s): hls-1936
[debug] Invoking downloader on "https://media.gettr.com/group21/origin/2022/01/19/14/0f15706b-40b8-cb7a-6bf4-34e0a77b3198/720p_v.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 5
[download] Destination: Daniel Lemire - Must-watch video. This is what is happening in Quebec. Help! [ppbjz4da87].mp4
[download] 100% of 3.76MiB in 00:45
[debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json 'file:Daniel Lemire - Must-watch video. This is what is happening in Quebec. Help! [ppbjz4da87].mp4'
[FixupM3u8] Fixing MPEG-TS in MP4 container of "Daniel Lemire - Must-watch video. This is what is happening in Quebec. Help! [ppbjz4da87].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Daniel Lemire - Must-watch video. This is what is happening in Quebec. Help! [ppbjz4da87].mp4' -map 0 -dn -ignore_unknown -c copy -f mp4 -bsf:a aac_adtstoasc -movflags +faststart 'file:Daniel Lemire - Must-watch video. This is what is happening in Quebec. Help! [ppbjz4da87].temp.mp4'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
trouble formatting double in my getter method - Stack Overflow
Solution: either have the getter return the double value as it is. Or change its return type to string.
Read more >TypeError: setting getter-only property "x" - JavaScript | MDN
The JavaScript strict mode-only exception "setting getter-only property" occurs when there is an attempt to set a new value to a property for...
Read more >@Getter and @Setter - Project Lombok
A default getter simply returns the field, and is named getFoo if the field is called foo (or isFoo if the field's type...
Read more >Best Practices for Java Getter and Setter - DZone
In this post, we take a closer look at getter and setter methods in Java, common mistakes, and best practices for combating these...
Read more >Guide to @JsonFormat in Jackson | Baeldung
Using the Default Format. We'll start by demonstrating the concepts of using the @JsonFormat annotation with a class representing a user.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for checking
Yes
Could you also check if there is a way to extract the bitrate of this format? Without that, the inverse of this situation may occur in the future (ie, ovid is actually better, but hls is selected)