2024-07-23, 12:55 AM
(This post was last modified: 2024-07-23, 01:24 PM by Alliyance. Edited 1 time in total.)
(2024-07-21, 09:23 PM)TheDreadPirate Wrote: You CAN use vanilla ffmpeg. We just strongly discourage that. Jellyfin-ffmpeg isn't a simple fork. Gnattu and Nyanmisaka made A LOT of changes specific to transcoding on Jellyfin.
Remuxing is, essentially, direct playing. It is just changing the container, but the audio and video and unmodified. A potato can remux on-the-fly.
Yeah it's only a remuxing which doesn't take any cpu but it's really bugging me that even Chromecast does the same. Weird cause the same Chromecast on a different tv play direct. It's definitly a bug because it wasn't like that before.
Code:
in/ffmpeg -analyzeduration 200M -probesize 1G -fflags +genpts -f matroska -i file:"/home/alliyance/files/Movies/The.Garfield.Movie.2024.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/dev/shm/1011/jellyfin/transcodes/d13363f0ce77123e9d9f75a8aabbdf09%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/dev/shm/1011/jellyfin/transcodes/d13363f0ce77123e9d9f75a8aabbdf09.m3u8"