Yesterday, 05:32 PM
(This post was last modified: Yesterday, 05:37 PM by TheDreadPirate. Edited 1 time in total.)
I just use a straight bash script.
Code:
#!/bin/bash
INPUTFILE=$1
NEWFILE=$(echo "$INPUTFILE" | sed 's/\.ts/\.mp4/g')
/usr/lib/jellyfin-ffmpeg/ffmpeg -y -fflags +genpts+igndts -i "$INPUTFILE" -map 0 -codec copy -max_muxing_queue_size 2048 -avoid_negative_ts make_zero -max_interleave_delta 0 "$NEWFILE"
rm -f "$INPUTFILE"