Skip to content

Releases: matthias1232/N_m3u8DL-RE

1.9

12 Sep 11:43
11bac78
Compare
Choose a tag to compare

Full Changelog: 1.8...1.9

1.8

11 Sep 17:49
2b365ea
Compare
Choose a tag to compare
1.8

Full Changelog: 1.6...1.8

i made a new Version of N_m3u8DL-RE. This should fix the issues with livestreams. I disabled the ffmpeg -re feature, so pipe will send out the first segments directly to the clients, and then stream as usual when new segments are downloaded.
i also added ffmpeg options: -rtbufsize 1G -y -max_interleave_delta 100M -fflags +fastseek+ignidx+discardcorrupt+shortest+genpts

https://github.com/matthias1232/N_m3u8DL-RE/releases/tag/1.8

Im not sure if my version breaks other features, but my purpose is livestreams with TVHeadend, and this works well now.

A working script for tvheadend could look like this:

#!/bin/sh
rm /var/www/html/temp/1 -rf
rm /var/www/html/save/1 -rf
mkdir /var/www/html/temp/1 -p
mkdir /var/www/html/save/1 -p
export RE_LIVE_PIPE_OPTIONS="-dn -drop_pkts_on_overflow 1 -attempt_recovery 1 -recover_any_error 1 -map_metadata:g 1:g -loglevel quiet -mpegts_service_type advanced_codec_digital_hdtv -protocol_whitelist pipe,file,http,https,tcp,tls,crypto -f mpegts -protocol_whitelist pipe,file,http,https,tcp,tls,crypto -movflags +delay_moov+default_base_moof+cmaf+frag_every_frame+separate_moof+rtphint+omit_tfhd_offset -rtpflags +h264_mode0 pipe:1"
/opt/N_m3u8DL-RE_Beta_linux-arm64/N_m3u8DL-RE /opt/N_m3u8DL-RE_Beta_linux-arm64/N_m3u8DL-RE --header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" --key xxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxx --key xxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxx https://orf1-247.mdn.ors.at/orf/orf1/drmqxa-247/manifest.mpd --save-dir /var/www/html/save/1 --save-name temp --tmp-dir /var/www/html/temp/1 --auto-subtitle-fix true --live-fix-vtt-by-audio true --mp4-real-time-decryption true --use-ffmpeg-concat-demuxer true --no-date-info --download-retry-count 0 --check-segments-count true --live-real-time-merge false --live-keep-segments false --auto-select --live-take-count 3 --force-ansi-console false --del-after-done false --no-log --log-level OFF --live-pipe-mux true

chmod +x /var/www/html/stream-10.sh

Tvheadend mux:

pipe:///var/www/html/stream-10.sh

1.6

10 Sep 13:29
022afe1
Compare
Choose a tag to compare
1.6

Full Changelog: 1.5...1.6

Release 1.0

25 Aug 12:59
d84b265
Compare
Choose a tag to compare
Update SimpleLiveRecordManager2.cs