-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Hi !
How can I setup quality ? Compared to VLC QtAV looks really not god.
I tried several render backends (widget, glwindget2 etc) and all of them sjow the same quality.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Metadata
Metadata
Assignees
Labels
Projects
Relationships
Development
Select code repository
Activity
thefastman commentedon Aug 19, 2016
Ok, It's not a bug.
HLS stream contains more than one video track with different bitrate/resolution/quality
So, question now is: how I can choose/switch program/video track for playback ?
Thanks
wang-bin commentedon Aug 30, 2016
what about ffplay?
thefastman commentedon Aug 31, 2016
With ffplay is possible to set programm ID/stream number
For example:
ffplay -vst p:0 -i http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8
alijafari97 commentedon Nov 7, 2020
assume that hls link is http://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/.m3u8
before using this link in player, send a get request to it.
in answer you will see something like this:
#EXTM3U
#EXT-X-VERSION:1
## Created with Unified Streaming Platform (version=1.10.28-22736)
# variants
#EXT-X-STREAM-INF:BANDWIDTH=493000,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=224x100,FRAME-RATE=24
tears-of-steel-audio_eng=64008-video_eng=401000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=932000,CODECS="mp4a.40.2,avc1.66.30",RESOLUTION=448x200,FRAME-RATE=24
tears-of-steel-audio_eng=128002-video_eng=751000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1197000,CODECS="mp4a.40.2,avc1.77.31",RESOLUTION=784x350,FRAME-RATE=24
tears-of-steel-audio_eng=128002-video_eng=1001000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1727000,CODECS="mp4a.40.2,avc1.100.40",RESOLUTION=1680x750,FRAME-RATE=24,VIDEO-RANGE=SDR
tears-of-steel-audio_eng=128002-video_eng=1501000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2468000,CODECS="mp4a.40.2,avc1.100.40",RESOLUTION=1680x750,FRAME-RATE=24,VIDEO-RANGE=SDR
tears-of-steel-audio_eng=128002-video_eng=2200000.m3u8
# variants
#EXT-X-STREAM-INF:BANDWIDTH=68000,CODECS="mp4a.40.2"
tears-of-steel-audio_eng=64008.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=136000,CODECS="mp4a.40.2"
tears-of-steel-audio_eng=128002.m3u8
now you can select each quality you want. next line after "#EXT-X-STREAM-I ..." is its link that should replace with last part of main link.
for example, for 784p just use:
play("http://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/tears-of-steel-audio_eng=128002-video_eng=1001000.m3u8")
if you add a
setBufferValue(200)
you can fix the freezing problem too.