[FFmpeg-user] How to transcode to HLS and DASH with mp4 and webm all at once
Robin van der Linden
linden at venom.one
Wed Oct 12 15:03:22 EEST 2022
did you received the mail I directly send you?
Am 2022-10-12 14:00, schrieb Stefan Oltmanns:
> Hi Alvaro,
>> you should be able to generate the mpd file for DASH
> Yes, but how? ffmpeg proved an easy way to generate
> but I cannot figure out how to use it to include the MPEG segments.
> And MPEG-DASH manifest creation afterwards I couldn't figure out at
> only with at least remuxing the files.
> Best regards
> Am 12.10.22 um 10:47 schrieb Alvaro Jimenez:
>> DASH is codec agnostic, so if you already have or generate the ts
>> segments for HLS, you should be able to generate the mpd file for DASH
>> to play back the same segments you would use for HLS. I have used the
>> m4s segments, and I have seen a common instance of lip sync issues
>> that I have never see using mpeg.ts segments. In my opinion, CMAF
>> using mp4 segments is over-rated, and heavily promoted by commercial
>> encoding and streaming engines like Wowza.
>> Alvaro Jiménez
>> On Tuesday 11 October 2022 10:06:36 AM (-07:00), Stefan Oltmanns
>>> Hi Clay,
>>> for me storage is not a major concern (the total number of videos
>>> not be that high), but device compatibility is (including older
>>> devices). Apple does not seem to support CMAF on older devices, only
>>> MPEG-TS, therefore I'll stick to MPEG-TS. There are also some
>>> like mux.js that are intended to remux the stream as needed in the
>>> browser, but I rather stick to MP4/MPEG2-TS.
>>> I have not played with ffmpeg-python yet, but good to know. I started
>>> writing a PHP script that generates a ffmpeg command-line for
>>> transcoding a specific video (in fact multiple, because ffmpeg got
>>> killed when I tried to transcode to all formats at once: my system
>>> out of it's 64 GB memory...).
>>> I still couldn't figure out how generate a single DASH manifest for
>>> and mp4 files. That should be possible, because dash.js added support
>>> for that in 4.0 and shaka seems to have always supported that.
>>> Best regards
>>> Am 11.10.22 um 17:00 schrieb Clay via ffmpeg-user:
>>>> Hi Steve
>>>> Have you looked into CMAF for this solution?Â I am also working on
>>>> complex transcoding and packaging actions for HLS ABR delivery.Â I
>>>> looking into using CMAF to reduce the overall storage footprint
>>>> threads still cost a lot more than storage).Â Also, I am
>>>> with ffmpeg-python (https://github.com/kkroening/ffmpeg-python),
>>>> you (or anyone reading this) played around with it?
>>>> *I apologize to the forum for the accidental prior message
>>>> click :-P)
>>>> Liberty & Regard,
>>>> ffmpeg-user mailing list
>>>> ffmpeg-user at ffmpeg.org
>>>> To unsubscribe, visit link above, or email
>>>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> To unsubscribe, visit link above, or email
>>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
Grüße / Kind regards,
Robin van der Linden
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1753 bytes
Desc: not available
More information about the ffmpeg-user