Playback options with ffplay - m3u8

I don't know the following method in ffplay. If you know them, let me know.
I want to add header information to the m3u8 file.
Additional information is required in the header to get the AES. How can I add this?
How to play video and audio simultaneously when they are separate.
Video stream: https://aaa.com/video.m3u8
Audio stream: https://aaa.com/audio.m3u8
Bests,

I want to add header information to the m3u8 file. Additional information is required in the header to get the AES. How can I add
this?
ffplay is a media player and not a content authoring tool. So it does not support editing content.
How to play video and audio simultaneously when they are separate.
Video stream: https://aaa.com/video.m3u8 Audio stream:
https://aaa.com/audio.m3u8
You need to create an HLS master playlist that contains the video playlist as a variant stream and the audio playlist as a rendition, like so:
#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="English",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en",URI="https://aaa.com/audio.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=7680000,CODECS="...",AUDIO="audio"
https://aaa.com/video.m3u8

Related

How to extract video data from video tag?

Hey folks I'm trying to save video from a video tag.
This is part of a scraping exercise on Tiktok and I cannot use the url directly to save the video, either in the browser or server.
I also cannot use canvases as I'm getting a tainted canvas error.
What would be the best way to save the video data?
// Example code
let video = document.querySelector('video');
let src = video.src;
// Do something with the el or the source??

how to marge multiple video clips in cloud storage into one m3u8 file?

I have a library with multiple cloud video files. I would like to create a list m3u8 after firing in the player I will be able to change the video files. Is possible ??
https:The link to one video file plays without any problem. How to merge multiple files into one link containing a list of all files?

Why mp3 file cannot be autoplayed in Qualtrics?

I inserted an mp3 file into Qualtrics from my library following the instruction here: https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/rich-content-editor/insert-media/
I would have several pages and one mp3 per page, so I tried to make the mp3 file automatically played, and people don't need to click "play" on every page. I followed the instruction here: https://www.kent.ac.uk/psychology/downloads/Qualtrics-MP3-FAQ.pdf
As you can see in the image attached, I have set "autostart = true", however, when I check in the preview mode, the mp3 file is still not automatically played.
Do you have any ideas about which step could go wrong? Or is there any alternative way to make the mp3 file autoplayed in Qualtrics? Thanks in advance!

Can't stream AAC file with HTML5 on iOS Safari

I'm trying to embed this stream in to an HTML5 audio tag to be targeted at iOS mobile safari users: http://cjzn.streamon.fm/listen.m3u
After searching around I discovered that you can't embed M3U files directly with an HTML5 audio tag. So I saved that M3U file and opened it up, and it's only contents were:
http://cjzn.streamon.fm:8000/CJZN-48k.aac?starttime=1372879409
My next logical step was to try and embed that AAC file in to the audio tag, like so:
<audio src="http://cjzn.streamon.fm:8000/CJZN-48k.aac", autoplay="true"></audio>
But I still can't seem to get it working. Can anyone help me out?
As well, taking a step back to the M3U file - would it be smarter to try and use an M3U parser and convert the file in to a playlist that an audio player like jPlayer could play? What's the best option for me here? All I want to do is embed this stream in to my mobile Safari app.
At the moment AAC+ giving headache when it comes to Flash and HTML5. But actually you can link your M3U file from your Safari web app.
Steps -
Just create M3U file and upload it to your web server.
Then put a HTML link to that M3U file.
Example : <a href="playlist.m3u'>Play Stream</a>
All Apple devices will play that stream. I checked mine with Ipad, Iphone and Ipod touch.
I hope this will help you. Good luck !

playing .SWF file in ASP.NET page

I am able to convert video files in .flv format but I am not able to play the file in .aspx page.
Do I also need the relevant .swf file in order to run the .FLV file or only .flv is sufficient?
In either case, please provide with the solution.
Thanks in advance!
Adding a flv movie to an ASP.NET page is in no way different from adding one to a html page. Check play flv in html to get an idea.
You do not need the swf.
Alternatively, of course, you can use YouTube: http://www.youtube.com/youtubeonyoursite

Resources