1

This is the m3u8 playlist file I'm trying to play.

#EXTM3U
#EXT-X-VERSION:03
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1981290
#EXT-X-KEY:METHOD=AES-128,URI="encrypted-file://KEY_1541348762",IV=0x9848CDEDC78632BF30C31FA1EEA14665
#EXTINF:10,
20181104_172820.ts
#EXT-X-KEY:METHOD=AES-128,URI="encrypted-file://KEY_1541348762",IV=0x7C74757AF2D9B914BDBD2F56552B9320
#EXTINF:9,
20181104_172830.ts
#EXT-X-KEY:METHOD=AES-128,URI="encrypted-file://KEY_1541348762",IV=0x7BC0525837631EA921FAB999B337E760
#EXTINF:10,
20181104_172840.ts
#EXT-X-KEY:METHOD=AES-128,URI="encrypted-file://KEY_1541348762",IV=0x9D7B29375F01F3F0E8F0D6321198CDF7
#EXTINF:10,
20181104_172850.ts
#EXT-X-KEY:METHOD=AES-128,URI="encrypted-file://KEY_1541348762",IV=0xB0E0FD9595A0C7105D76ACF562ECF1E6
#EXTINF:10,
20181104_172900.ts

I have the key available and I want ffplay to ignore URI from the playlist. For the start ffplay will be OK. I can build mobile app later. This playlist file was downloaded from the link with stream. When I try to play it locally it fails because obviously .ts files are not available.
The reason why my playback fails is the ecryption key - I have it available, but this file cannot be found by ffplay.
My questions are:
1.) where does ffplay search for keys in my paricular case? - on my local machine, or on some path relative to this playlist location on the server?
2.) Can I force ffplay to ignore URI from playlist file and provide my local path?

closed as unclear what you're asking by thrig, Jeff Schaller, darnir, G-Man, RalfFriedl Nov 7 '18 at 6:53

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to Unix & Linux! :-) Can you edit your question and elaborate what you're trying to achieve? what command should ultimately play the file? ffplay example.m3u8? (E.g: are you looking for a search and replace inside the file?) – Fabby Nov 6 '18 at 22:08