Questions tagged [mpeg-dash]

For questions about the MPEG-DASH standard for adaptive streaming over HTTP. For the applications dashboard in Unix operating systems use [tag:dash]. For the dash command-line shell use [tag:dash-shell].

Dynamic Adaptive Streaming over HTTP (DASH), also known as MPEG-DASH, is an adaptive bitrate streaming technique that enables high quality streaming of media content over the internet delivered from conventional HTTP web servers.Wikipedia

19 questions
30
votes
2 answers

Download all .m4s files of a mpeg dash stream

When I open this page I can see in Firefox Web Developer Tools / "Network" tab that the page loads files with .mpd extension. And then every few seconds it loads a file/stream with .m4s extension named like 000000.m4s 000001.m4s How can I download…
16851556
  • 672
  • 2
  • 8
  • 19
10
votes
1 answer

What is the format of the mpeg-dash (.m4s generally) segment?

I'm new to the multimedia programming, I'm trying to produce live mpeg-dash content from a transport stream buffer by parsing the packets individually. I want to create .m4s segments but i'm confused about their structure. In other words, if we…
2
votes
0 answers

What is the difference between .m4s and .ts media files?

From my understanding they can both contain media segments and are meant to be reconstructed at the client but what is the difference between the two? Edit: This is in the context of HLS
Owen
  • 119
2
votes
0 answers

Understanding DASH and mpd files – where is a list of m4s files?

I am using website https://bitmovin.com/demos/drm to test and learn. The site requests 11331.mpd file and gets back information about 5 different resolution video streams and 1 audio. All with the same KID eb676abb-cb34-5e96-bbcf-616630f1a3da. It…
miran80
  • 281
2
votes
0 answers

Convert m3u8 (HLS) to mpd (MPEG-DASH)

I have Live stream of HLS and I want to convert it to MPEG-DASH. What is the best practice? The stream is already h264 aac therefore I understand I do not need to reencode and I just need to transmux. What should I use? ffmpeg? mp4box? Notes: I used…
Almog
  • 21
2
votes
0 answers

MPEG-DASH stream never choosing representation with lowest bandwidth

I've converted an mp4 file into four mp4s using ffmpeg: three video-only files of low, medium and high quality, and one with only audio. I then converted these into an MPEG-DASH using MP4Box and hosted it…
1
vote
0 answers

How to Minimize Startup Latency in DASH Livestream (~1.5 seconds)?

I'm working on a low-latency DASH livestream setup where I aim to achieve startup latency close to 1.5 seconds. Here's the current configuration: Streaming Tool: FFmpeg Serving Requests: Nginx UI Player: DASH.js Below is my FFmpeg command: ffmpeg…
1
vote
0 answers

Out-of-order frames when using FFmpeg to download DASH stream

I'm trying to use ffmpeg to download a DASH stream. It works OK but it seems like in the output file there are some frames that are out-of-order (e.g. for some frames the pts value is lower than the frame that came before it) and this manifests in…
Danj
  • 11
1
vote
0 answers

FFMpeg command line to create specific MPEG-DASH manifest

I have tried to get an FFMpeg command to yield the below manifest. Right below is the FFmpeg command that I have tried to make but it has not created the same manifest file as what I am trying to replicate a stream from a third party system to add…
Seth Haberman
  • 21
  • 1
  • 3
1
vote
0 answers

ffmpeg & ffprobe fail to parse dash/vp9 file while mediainfo can

(I attached the file, only 808b, as a base64). This is supposed to be a valid file, but ffmpeg/ffprobe fail. I'm using a recent build of ffmpeg, but I also tried with older version. I'd like to understand if it's a ffmpeg bug. ffprobe version…
paul
  • 11
1
vote
1 answer

Stream camera video with ffmpeg in Firefox via dash.js

I am trying to stream live video from a camera using ffmpeg to a browser. I have found several questions about this on StackOverflow and here, but they all pertain to creating a video file from a camera. Fortunately, I am able to make a video file…
1
vote
1 answer

Convert text-based subtitles to individual bitmaps with ffmpeg

We have a text-based subtitle stream, and we need to convert each distinct subtitle in that subtitle stream to an individual .bmp file, with 24 Bits per pixel. How can we do that with ffmpeg?
Advika
  • 111
0
votes
0 answers

Convert MKV video file to HLS and DASH format with dual audio track and subtitle

I am trying to convert MKV video file to HLS and DASH format with dual audio track and add subtitle, which sometimes is integrated and sometimes not. Using this code ffmpeg -re -i INPUT -c:v libx264 -c:a aac -preset ultrafast -tune zerolatency -f…
islam
  • 21
0
votes
1 answer

Issues Playing TTS/PS Stream Over RTP in FFmpeg

I'm trying to play a TTS/PS RTP stream using FFmpeg, but I keep encountering the following error: [rtp @ 0x55bae8fad5c0] Unable to receive RTP payload type 103 without an SDP file describing it rtp://:?buffer-size=1000000:…
0
votes
0 answers

Pipe raw video to ffmpeg, output dash, play on web using dash.js

I am trying to live stream a sequence of images generated at real time to a web page. I am using ffmpeg with the pipe: input and streaming raw bitmaps as follows: ffmpeg -f rawvideo -pix_fmt argb -s 1280x720 -use_wallclock_as_timestamps 1 -i pipe:…
Aviad P.
  • 163
1
2