mpeg-dash

ffmpeg, dash manifest cannot be created due to unspecified pixel format

社会主义新天地 提交于 2021-02-18 17:37:13
问题 I am using ffmpeg 2.8 on OSX. I try to convert a short mp4 video to webm for adaptive streaming like suggested here http://wiki.webmproject.org/adaptive-streaming/instructions-to-playback-adaptive-webm-using-dash like this: VP9_DASH_PARAMS="-tile-columns 6 -frame-parallel 1" ffmpeg -i t2.mp4 -c:v libvpx-vp9 -s 160x90 -b:v 250k -keyint_min 150 -g 150 ${VP9_DASH_PARAMS} -an -f webm -dash 1 video_160x90_250k.webm ffmpeg -i t2.mp4 -c:a libvorbis -b:a 128k -vn -f webm -dash 1 audio_128k.webm

Adding multiple audio tracks and subtitles to dash manifest (mpd) with ffmpeg

≯℡__Kan透↙ 提交于 2021-01-29 09:01:30
问题 I'm trying to create a website to stream some videos. For each video, I extract video, audio and subtitles in 3 different folders. It happens that a video has multiple audio tracks and multiple subtitles. I did a lot of research and I don't know how to add all of them in the manifest. Right now, I use this command: ffmpeg -f webm_dash_manifest \ -i video1.mp4 -f webm_dash_manifest \ -i video2.mp4 -f webm_dash_manifest \ -i audio1.webm -f webm_dash_manifest \ -i audio2.webm -f webm_dash

Is it possible to encrypt mpeg-dash clear content in ffmpeg?

大城市里の小女人 提交于 2021-01-28 07:20:49
问题 Is it possible to encrypt mpeg-dash clear content in ffmpeg? or do we need to additional code to handle the encryption? From ffmpeg dashenc.c code it appears that dash code does not encrypt the content. Can we reuse the mp4 muxer for encrypting and dash for segmenting? 回答1: You can use ffmpeg and openssl to create an AES encrypted HLS stream if this meets your needs - the ffmpeg documentation (http://ffmpeg.org/ffmpeg-all.html#Options-34) includes this example script: #!/bin/sh BASE_URL=${1:-

Playing a mpeg dash stream without initialization segment

余生颓废 提交于 2021-01-05 08:47:48
问题 I am trying to generate a dash stream playable in dash player. I have a one mp4 video which I have chunked into multiple videos of approximately 10 secs each. Now I would like to play this videos in a dash player where each segment is self initializing. How could I possibly achieve this without creating a initialization segment. 回答1: According to the spec, it is possible. This is a quote from the MPEG-DASH ISO/IEC 23009 spec: A Representation consists of one or more Segments. Each

Can HTML5 Play a .mpd Manifest File Through Its Video Tag?

自古美人都是妖i 提交于 2020-12-29 05:57:46
问题 I have a Movie_Manifest.mpd file that is made up of 5 .webm video streams (consisting of different sizes and bps) and 1 audio file. The question I'm asking is: can it be played through a "simple" HTML5 video tag? I've tried this and it doesn't work: <video controls> <source src = "Movie_Manifest.mpd"/> </video> Well it works, but it chooses the lowest quality video stream and the output is laggy. I would like it to have adaptive bit streaming. You might think, "Do you think your bandwidth is

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

大城市里の小女人 提交于 2020-12-02 05:56:59
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

喜你入骨 提交于 2020-12-02 05:56:39
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

FFMPEG: Transmux mpegts to mp4 gives error: muxer does not support non seekable output

人盡茶涼 提交于 2020-12-02 05:55:59
问题 When piping mpegts to ffmpeg, which should convert it to mp4 and pipe to stdout, ffmpeg says: "muxer does not support non seekable output". After a lot of research I came to the conclusion that mp4 is a bad choice for doing those kinds of on-the-fly transcoding due to seeking. So in essence: MP4 cannot be piped through ffmpeg, which kind of makes sense. But I do not have a contiguous mpegts stream, I have chunks of 5 seconds. So it's really just like: Here is my 1 mb *.ts file Please read it

What is the reccomended way to use HLS and DASH + DRM in a player?

℡╲_俬逩灬. 提交于 2020-07-10 07:34:39
问题 I'm using the VideoJS player and have a CMAF video so I am using HLS and DASH. I'm also using all 3 types of DRM. Fairplay for hls, widevine and playready for dash. My question is should I include both hls and dash sources in the player and let the player decide which one to play? Or do I detect the browser and only insert the correct url based on that? Also DRM is the same. Can I just add all DRM to the player? Or should I only add the one that applies? 回答1: The use of HLS vs DASH is

MPEG-DASH video stream with just single mp4 file

瘦欲@ 提交于 2020-05-10 03:32:05
问题 I'm researching for a week to find a simple and platform independent method to stream a mp4 file to any browser. In case of browser incompatibility progressive stream(direct download) method will be used. My scenario is like this: single mp4 file (not segmented and multiplexed(Audio+Video) ) HTTP Byte-Range serving supported progressive stream (direct file download) supported in case of browser incompatibility After studying Apple HLS, Adobe Flash Stream, Microsoft Smooth, RTSP and MPEG-DASH