Opened 4 years ago

Closed 4 years ago

#8945 closed defect (invalid)

Choose download resolution in m3u8 list

Reported by: giuliano Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: m3u8 list
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,
I have a master.m3u8 list like this:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=201000,RESOLUTION=320x180,CODECS="avc1.66.30, mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_161_av-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=310000,RESOLUTION=480x270,CODECS="avc1.66.30, mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_270_av-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=608000,RESOLUTION=480x270,CODECS="avc1.66.30, mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_544_av-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=900000,RESOLUTION=640x360,CODECS="avc1.66.30, mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_804_av-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1228000,RESOLUTION=720x404,CODECS="avc1.66.30, mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_1100_av-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1800000,RESOLUTION=1280x720,CODECS="avc1.66.30, mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_1672_av-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=40000,CODECS="mp4a.40.2"
https://sbshdlu1-lh.akamaihd.net/i/sbshdl_21@443313/index_161_a-p.m3u8?sd=10&rebase=on&id=AgCwH4yBXHtNJFvwlV%2fkdmkwU4RSTOQrPHdffQRkUXmKSg6lc7Z4B8thq8sujIEze9eFsoR7iFyLgA%3d%3d&hdntl=exp=1603748315~acl=%2fi%2f*~data=hdntl~hmac=dc6b4d5cba0d69c9d46a711898bfeb5cfcde7ef843561ed2cbd8ad1e9dbcf1d9

I'm running an ffmpeg command like this:
ffmpeg -nostdin -re -i "https://.../master.m3u8" -c:v copy -c:a copy -bsf:a aac_adtstoasc -f flv rtmp://...

How can I force ffmpeg to select a specific resolution of my master.m3u8?

Best regards
Giuliano

Change History (1)

comment:1 by giuliano, 4 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.