Encoding : HLS - filter_complex

58 views
Skip to first unread message

Yannis Marti

unread,
May 6, 2021, 4:49:19 AM5/6/21
to Opencast Users
Hi All,
Sorry, it's me again... .I'm trying to figure out how HLS encoding as been implemented in multiencode / process-smil. There is some part of information in the documentation, but nothing very relevant.
As i'm trying to encode a .ts with multiple audio in a mp4/fmp4 - in the spirit of fast-HLS workflow: the generated -filter_complex map is an issue for me.
Is there a way to manually set it up? Did i miss some specific documentation?
Again, thanks all for your time on this great project,
Yannis

Yannis Marti

unread,
May 6, 2021, 9:49:57 AM5/6/21
to Opencast Users, Yannis Marti
I found some answers on this module : https://github.com/opencast/opencast/blob/develop/modules/composer-ffmpeg/src/main/java/org/opencastproject/composer/impl/EncoderEngine.java
From what i can understand, ... i'm not in a good position :-D

Phoebe Miller

unread,
May 7, 2021, 2:18:47 PM5/7/21
to us...@opencast.org
Hi Yannis,

What is the problem with generated  filter_complex ?
Is it a problem with multiple audio? It is not something that we have to deal with. 
If you can send me a short clip of your .ts file (say 10 seconds) and the error messages. 
I can take a look.

Phoebe.

On May 6, 2021, at 4:49 AM, Yannis Marti <y...@oul.ch> wrote:

WARNING: Harvard cannot validate this message was sent from an authorized system. Please be careful when opening attachments, clicking links, or following instructions. For more information, visit the HUIT IT Portal and search for SPF.

--
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.

Yannis Marti

unread,
May 8, 2021, 1:35:37 AM5/8/21
to Opencast Users, pmi...@dce.harvard.edu
Hi Phoebe,

Thank you for answering me. We are working on a setup who live stream and rec a mpeg-ts who include 1 presenter, 8 different languages and 1 presentation. Live stream is working well on paella.
I would like to output this on S3/Cloudfront as HLS files to be streamable to paella.
I can make it work with a standard workflow, ingesting my .ts and outputting my .mp4 but if I try to setup this on specific HLS workflow, my map setup is broken by generated tee map used by opencast for multiencode / HLS-multiencode.
There is no real error message, files is not output as expected as I cannot create the maping below :

master.m3u8
|__1080_video_only.m3u8
  |__-map 0:0 /or/ -map 0:v:0
|__ 720_video_only.m3u8
  |__-map 0:0 /or/ -map 0:v:0
|__ 480_video_only.m3u8
  |__-map 0:0 /or/ -map 0:v:0
|__ 270_video_only.m3u8
  |__-map 0:0 /or/ -map 0:v:0
|__ mul_audio_only.m3u8
  |__-map 0:1 /or/ -map 0:a:0
|__ eng_audio_only.m3u8
  |__-map 0:2 /or/ -map 0:a:1
|__ fra_audio_only.m3u8
  |__-map 0:3 /or/ -map 0:a:2
|__ ara_audio_only.m3u8
  |__-map 0:4 /or/ -map 0:a:3
|__ zho_audio_only.m3u8
  |__-map 0:5 /or/ -map 0:a:4
|__ rus_audio_only.m3u8
  |__-map 0:6 /or/ -map 0:a:5
|__ deu_audio_only.m3u8
  |__-map 0:7 /or/ -map 0:a:6

Any idea is welcome, i'm working this way from long time and maybe didn't think on this correctly.

Best regards,
Yannis
Reply all
Reply to author
Forward
0 new messages