Unable to get playable stream from Live CCTV camera (IPTV Plugin) #1862

Closed
opened 2026-02-06 21:25:58 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @qwerty300 on GitHub (Jul 12, 2020).

Media Info of the file
Media Info from ffmpeg command detailed below.
Metadata:
duration 0.00
width 1280.00
height 720.00
videodatarate 25.00
absRecordTime 1594522634307.00
Input #0, flv, from 'rtmp://camera-ip:1935/flash/1:credentails':
Metadata:
absRecordTime : 1594522634307
Duration: 00:00:00.00, start: -1.600000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 kb/s, 20 fps, 20 tbr, 1k tbn, 40 tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp3 (libmp3lame))

Logs

[2020-07-12 08:07:11.174 +05:30] [INF] [20] App: GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 120000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 192000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "mp4,m4v", AudioCodec: "mp3,aac,opus,flac,vorbis", VideoCodec: "h264,vp8,vp9", Type: Video }, DirectPlayProfile { Container: "mkv", AudioCodec: "mp3,aac,opus,flac,vorbis", VideoCodec: "h264,vp8,vp9", Type: Video }, DirectPlayProfile { Container: "mov", AudioCodec: "mp3,aac,opus,flac,vorbis", VideoCodec: "h264", Type: Video }, DirectPlayProfile { Container: "opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "mp3", AudioCodec: "mp3", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "aac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a,m4b", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "flac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "alac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a,m4b", AudioCodec: "alac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webma,webm", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "wav", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "ogg", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "vorbis,opus", VideoCodec: "VP8", Type: Video }, DirectPlayProfile { Container: "webm", AudioCodec: "vorbis,opus", VideoCodec: "VP9", Type: Video }], TranscodingProfiles: [TranscodingProfile { Container: "ts", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 2, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mkv", Type: Video, VideoCodec: "h264,vp8,vp9", AudioCodec: "mp3,aac,opus,flac,vorbis", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: True, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "ts", Type: Video, VideoCodec: "h264", AudioCodec: "mp3,aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 2, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "webm", Type: Video, VideoCodec: "vpx", AudioCodec: "vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp4", Type: Video, VideoCodec: "h264", AudioCodec: "mp3,aac,opus,flac,vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: "aac", Container: null }, CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: null, Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline|high 10", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }], ApplyConditions: [], Codec: "h264", Container: null }], ResponseProfiles: [ResponseProfile { Container: "m4v", AudioCodec: null, VideoCodec: null, Type: Video, OrgPn: null, MimeType: "video/mp4", Conditions: [] }], SubtitleProfiles: [SubtitleProfile { Format: "vtt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }] } [2020-07-12 08:07:11.176 +05:30] [INF] [20] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: "/usr/local/bin/ffprobe" "-i \"rtmp://camera-ip:1935/flash/1:credentials\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2020-07-12 08:07:13.566 +05:30] [INF] [20] App: User policy for "qwerty300". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2020-07-12 08:07:13.566 +05:30] [INF] [20] App: Profile: "Unknown Profile", Path: "rtmp://camera-ip:1935/flash/1:credentials", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2020-07-12 08:07:13.567 +05:30] [INF] [20] App: Profile: "Unknown Profile", No direct play profiles found for Path: "rtmp://camera-ip:1935/flash/1:credentials" [2020-07-12 08:07:13.567 +05:30] [INF] [20] App: Profile: "Unknown Profile", Path: "rtmp://camera-ip:1935/flash/1:credentials", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2020-07-12 08:07:13.567 +05:30] [INF] [20] App: Profile: "Unknown Profile", No direct play profiles found for Path: "rtmp://camera-ip:1935/flash/1:credentials" [2020-07-12 08:07:13.568 +05:30] [WRN] [20] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 200 to "::1". Time (slow): 0:00:02.3949222. "http://jellyfin-ip:8096/Items/9094594b168812123f584145cdd16568/PlaybackInfo?UserId=6ac76559cf1c464094a492fdd8c44ce0&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000" [2020-07-12 08:07:14.002 +05:30] [INF] [4] MediaBrowser.Api.Playback.Hls.VideoHlsService: /usr/local/bin/ffmpeg -i "rtmp://camera-ip:1935/flash/1:credentials" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 0 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/b5d486c4d83bb48879690d6906e1f71a/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/Users/qwerty300/.local/share/jellyfin/transcodes/b5d486c4d83bb48879690d6906e1f71a.m3u8" -y "/Users/qwerty300/.local/share/jellyfin/transcodes/b5d486c4d83bb48879690d6906e1f71a%d.ts" [2020-07-12 08:07:16.452 +05:30] [ERR] [10] MediaBrowser.Api.Playback.Hls.VideoHlsService: FFMpeg exited with code 1

FFmpeg Logs
None in the Logs directory, it is output-ed only when i enable transcoding.
When i run the FFMPEG command from above separately in terminal, the output is :

`ffmpeg -i "rtmp://camera-ip:1935/flash/1:credentials" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 0 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/d9be1467533e5019e392b1ac6f038f0c/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8" -y "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c%d.ts"

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.16)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Metadata:
duration 0.00
width 1280.00
height 720.00
videodatarate 25.00
absRecordTime 1594521623315.00
Input #0, flv, from 'rtmp://camera-ip:1935/flash/1:credentials':
Metadata:
absRecordTime : 1594521623315
Duration: 00:00:00.00, start: -1.620000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 kb/s, 20 fps, 20 tbr, 1k tbn, 40 tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
x264 [error]: high profile doesn't support lossless
[libx264 @ 0x7fa45d81c000] Error setting profile high.
[libx264 @ 0x7fa45d81c000] Possible profiles: baseline main high high10 high422 high444
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libmp3lame @ 0x7fa45d815a00] 2 frames left in the queue on closing
Conversion failed!`

Stats for Nerds Screenshots
When i run the same ffmpeg with the --profile option, there are no ffmpeg errors. It converts fine and writes the files with the m3u8 playlist continuously.

Output :

ffmpeg -i "rtmp://camera-ip:1935/flash/1:credentials" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 0 -maxrate 139808000 -bufsize 279616000 -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/d9be1467533e5019e392b1ac6f038f0c/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8" -y "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c%d.ts" ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.16) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Metadata: duration 0.00 width 1280.00 height 720.00 videodatarate 25.00 absRecordTime 1594522634307.00 Input #0, flv, from 'rtmp://camera-ip:1935/flash/1:credentials': Metadata: absRecordTime : 1594522634307 Duration: 00:00:00.00, start: -1.600000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 kb/s, 20 fps, 20 tbr, 1k tbn, 40 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [libx264 @ 0x7ffa65823a00] VBV is incompatible with constant QP, ignored. [libx264 @ 0x7ffa65823a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x7ffa65823a00] profile High 4:4:4 Predictive, level 4.1, 4:2:0 8-bit [segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c0.ts' for writing Output #0, segment, to '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c%d.ts': Metadata: encoder : Lavf58.29.100 Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 20 fps, 90k tbn, 20 tbc Metadata: encoder : Lavc58.54.100 libx264 Side data: cpb: bitrate max/min/avg: 139808000/0/0 buffer size: 279616000 vbv_delay: -1 Stream #0:1: Audio: mp3 (libmp3lame), 8000 Hz, stereo, s16p, 192 kb/s Metadata: encoder : Lavc58.54.100 libmp3lame frame= 85 fps= 67 q=0.0 size=N/A time=00:00:03.85 bitrate=N/A dup=32 drop=0 sp[segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8.tmp' for writing [segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c1.ts' for writing frame= 113 fps= 64 q=0.0 size=N/A time=00:00:05.25 bitrate=N/A dup=32 drop=0 spframe= 123 fps= 54 q=0.0 size=N/A time=00:00:05.75 bitrate=N/A dup=32 drop=0 spframe= 125 fps= 41 q=0.0 size=N/A time=00:00:05.85 bitrate=N/A dup=32 drop=0 spframe= 149 fps= 42 q=0.0 size=N/A time=00:00:07.05 bitrate=N/A dup=32 drop=0 sp[segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8.tmp' for writing [segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c2.ts' for writing frame= 159 fps= 39 q=0.0 size=N/A time=00:00:07.55 bitrate=N/A dup=32 drop=0 spframe= 165 fps= 33 q=0.0 size=N/A time=00:00:07.85 bitrate=N/A dup=32 drop=0 sp[segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8.tmp' for writing frame= 176 fps= 34 q=-1.0 Lsize=N/A time=00:00:08.75 bitrate=N/A dup=32 drop=0 speed=1.68x video:6686kB audio:58kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 0x7ffa65823a00] frame I:3 Avg QP: 0.00 size:677749 [libx264 @ 0x7ffa65823a00] frame P:173 Avg QP: 0.00 size: 27822 [libx264 @ 0x7ffa65823a00] mb I I16..4: 26.3% 0.0% 73.7% [libx264 @ 0x7ffa65823a00] mb P I16..4: 0.3% 0.0% 0.0% P16..4: 9.9% 0.0% 0.0% 0.0% 0.0% skip:89.8% [libx264 @ 0x7ffa65823a00] coded y,uvDC,uvAC intra: 93.3% 92.8% 92.3% inter: 6.1% 6.2% 6.1% [libx264 @ 0x7ffa65823a00] i16 v,h,dc,p: 37% 63% 0% 0% [libx264 @ 0x7ffa65823a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 42% 5% 3% 5% 4% 5% 4% 5% [libx264 @ 0x7ffa65823a00] i8c dc,h,v,p: 5% 56% 39% 0% [libx264 @ 0x7ffa65823a00] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7ffa65823a00] kb/s:6224.05

Server System:

  • OS: macOS (Swift Wrapper)
  • Jellyfin Version: 10.5.5
  • Hardware settings & device: None on Hardware acceleration
  • Reverse proxy: None
  • Other hardware notes: RTMP Live Stream from CCTV Camera & HLS Stream from a mac App

Client System:

  • Device: Jellyfin Web on Google Chrome
  • OS: macOS
  • Client: Web Browser
  • Browser (if Web client): Google Chrome
  • Client and Browser Version: 10.5.5 and 83.0

It is the same when i run with a HLS stream as well. it is unable to set the profile as 'high'. Is there anyway to not pass that argument when the Live feed is played from the IPTV source configured in the IPTV plugin?

Any help is appriciated.

Thank you

Originally created by @qwerty300 on GitHub (Jul 12, 2020). **Media Info of the file** Media Info from ffmpeg command detailed below. Metadata: duration 0.00 width 1280.00 height 720.00 videodatarate 25.00 absRecordTime 1594522634307.00 Input #0, flv, from 'rtmp://camera-ip:1935/flash/1:credentails': Metadata: absRecordTime : 1594522634307 Duration: 00:00:00.00, start: -1.600000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 kb/s, 20 fps, 20 tbr, 1k tbn, 40 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp3 (libmp3lame)) **Logs** `[2020-07-12 08:07:11.174 +05:30] [INF] [20] App: GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 120000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 192000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "mp4,m4v", AudioCodec: "mp3,aac,opus,flac,vorbis", VideoCodec: "h264,vp8,vp9", Type: Video }, DirectPlayProfile { Container: "mkv", AudioCodec: "mp3,aac,opus,flac,vorbis", VideoCodec: "h264,vp8,vp9", Type: Video }, DirectPlayProfile { Container: "mov", AudioCodec: "mp3,aac,opus,flac,vorbis", VideoCodec: "h264", Type: Video }, DirectPlayProfile { Container: "opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "mp3", AudioCodec: "mp3", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "aac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a,m4b", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "flac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "alac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a,m4b", AudioCodec: "alac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webma,webm", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "wav", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "ogg", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "vorbis,opus", VideoCodec: "VP8", Type: Video }, DirectPlayProfile { Container: "webm", AudioCodec: "vorbis,opus", VideoCodec: "VP9", Type: Video }], TranscodingProfiles: [TranscodingProfile { Container: "ts", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 2, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "opus", Type: Audio, VideoCodec: null, AudioCodec: "opus", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "wav", Type: Audio, VideoCodec: null, AudioCodec: "wav", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mkv", Type: Video, VideoCodec: "h264,vp8,vp9", AudioCodec: "mp3,aac,opus,flac,vorbis", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: True, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "ts", Type: Video, VideoCodec: "h264", AudioCodec: "mp3,aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 2, SegmentLength: 0, BreakOnNonKeyFrames: True }, TranscodingProfile { Container: "webm", Type: Video, VideoCodec: "vpx", AudioCodec: "vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "2", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp4", Type: Video, VideoCodec: "h264", AudioCodec: "mp3,aac,opus,flac,vorbis", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: "aac", Container: null }, CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: Equals, Property: IsSecondaryAudio, Value: "false", IsRequired: False }], ApplyConditions: [], Codec: null, Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline|high 10", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }], ApplyConditions: [], Codec: "h264", Container: null }], ResponseProfiles: [ResponseProfile { Container: "m4v", AudioCodec: null, VideoCodec: null, Type: Video, OrgPn: null, MimeType: "video/mp4", Conditions: [] }], SubtitleProfiles: [SubtitleProfile { Format: "vtt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }] } [2020-07-12 08:07:11.176 +05:30] [INF] [20] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: "/usr/local/bin/ffprobe" "-i \"rtmp://camera-ip:1935/flash/1:credentials\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2020-07-12 08:07:13.566 +05:30] [INF] [20] App: User policy for "qwerty300". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2020-07-12 08:07:13.566 +05:30] [INF] [20] App: Profile: "Unknown Profile", Path: "rtmp://camera-ip:1935/flash/1:credentials", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2020-07-12 08:07:13.567 +05:30] [INF] [20] App: Profile: "Unknown Profile", No direct play profiles found for Path: "rtmp://camera-ip:1935/flash/1:credentials" [2020-07-12 08:07:13.567 +05:30] [INF] [20] App: Profile: "Unknown Profile", Path: "rtmp://camera-ip:1935/flash/1:credentials", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2020-07-12 08:07:13.567 +05:30] [INF] [20] App: Profile: "Unknown Profile", No direct play profiles found for Path: "rtmp://camera-ip:1935/flash/1:credentials" [2020-07-12 08:07:13.568 +05:30] [WRN] [20] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 200 to "::1". Time (slow): 0:00:02.3949222. "http://jellyfin-ip:8096/Items/9094594b168812123f584145cdd16568/PlaybackInfo?UserId=6ac76559cf1c464094a492fdd8c44ce0&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000" [2020-07-12 08:07:14.002 +05:30] [INF] [4] MediaBrowser.Api.Playback.Hls.VideoHlsService: /usr/local/bin/ffmpeg -i "rtmp://camera-ip:1935/flash/1:credentials" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 0 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/b5d486c4d83bb48879690d6906e1f71a/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/Users/qwerty300/.local/share/jellyfin/transcodes/b5d486c4d83bb48879690d6906e1f71a.m3u8" -y "/Users/qwerty300/.local/share/jellyfin/transcodes/b5d486c4d83bb48879690d6906e1f71a%d.ts" [2020-07-12 08:07:16.452 +05:30] [ERR] [10] MediaBrowser.Api.Playback.Hls.VideoHlsService: FFMpeg exited with code 1` **FFmpeg Logs** None in the Logs directory, it is output-ed only when i enable transcoding. When i run the FFMPEG command from above separately in terminal, the output is : `ffmpeg -i "rtmp://camera-ip:1935/flash/1:credentials" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 0 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/d9be1467533e5019e392b1ac6f038f0c/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8" -y "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c%d.ts" ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.16) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Metadata: duration 0.00 width 1280.00 height 720.00 videodatarate 25.00 absRecordTime 1594521623315.00 Input #0, flv, from 'rtmp://camera-ip:1935/flash/1:credentials': Metadata: absRecordTime : 1594521623315 Duration: 00:00:00.00, start: -1.620000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 kb/s, 20 fps, 20 tbr, 1k tbn, 40 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help x264 [error]: high profile doesn't support lossless [libx264 @ 0x7fa45d81c000] Error setting profile high. [libx264 @ 0x7fa45d81c000] Possible profiles: baseline main high high10 high422 high444 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [libmp3lame @ 0x7fa45d815a00] 2 frames left in the queue on closing Conversion failed!` **Stats for Nerds Screenshots** When i run the same ffmpeg with the **--profile** option, there are no ffmpeg errors. It converts fine and writes the files with the m3u8 playlist continuously. Output : `ffmpeg -i "rtmp://camera-ip:1935/flash/1:credentials" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 0 -maxrate 139808000 -bufsize 279616000 -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/d9be1467533e5019e392b1ac6f038f0c/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8" -y "/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c%d.ts" ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.16) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.0.1.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Metadata: duration 0.00 width 1280.00 height 720.00 videodatarate 25.00 absRecordTime 1594522634307.00 Input #0, flv, from 'rtmp://camera-ip:1935/flash/1:credentials': Metadata: absRecordTime : 1594522634307 Duration: 00:00:00.00, start: -1.600000, bitrate: N/A Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 25 kb/s, 20 fps, 20 tbr, 1k tbn, 40 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [libx264 @ 0x7ffa65823a00] VBV is incompatible with constant QP, ignored. [libx264 @ 0x7ffa65823a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x7ffa65823a00] profile High 4:4:4 Predictive, level 4.1, 4:2:0 8-bit [segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c0.ts' for writing Output #0, segment, to '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c%d.ts': Metadata: encoder : Lavf58.29.100 Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 20 fps, 90k tbn, 20 tbc Metadata: encoder : Lavc58.54.100 libx264 Side data: cpb: bitrate max/min/avg: 139808000/0/0 buffer size: 279616000 vbv_delay: -1 Stream #0:1: Audio: mp3 (libmp3lame), 8000 Hz, stereo, s16p, 192 kb/s Metadata: encoder : Lavc58.54.100 libmp3lame frame= 85 fps= 67 q=0.0 size=N/A time=00:00:03.85 bitrate=N/A dup=32 drop=0 sp[segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8.tmp' for writing [segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c1.ts' for writing frame= 113 fps= 64 q=0.0 size=N/A time=00:00:05.25 bitrate=N/A dup=32 drop=0 spframe= 123 fps= 54 q=0.0 size=N/A time=00:00:05.75 bitrate=N/A dup=32 drop=0 spframe= 125 fps= 41 q=0.0 size=N/A time=00:00:05.85 bitrate=N/A dup=32 drop=0 spframe= 149 fps= 42 q=0.0 size=N/A time=00:00:07.05 bitrate=N/A dup=32 drop=0 sp[segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8.tmp' for writing [segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c2.ts' for writing frame= 159 fps= 39 q=0.0 size=N/A time=00:00:07.55 bitrate=N/A dup=32 drop=0 spframe= 165 fps= 33 q=0.0 size=N/A time=00:00:07.85 bitrate=N/A dup=32 drop=0 sp[segment @ 0x7ffa6581c000] Opening '/Users/qwerty300/.local/share/jellyfin/transcodes/d9be1467533e5019e392b1ac6f038f0c.m3u8.tmp' for writing frame= 176 fps= 34 q=-1.0 Lsize=N/A time=00:00:08.75 bitrate=N/A dup=32 drop=0 speed=1.68x video:6686kB audio:58kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 0x7ffa65823a00] frame I:3 Avg QP: 0.00 size:677749 [libx264 @ 0x7ffa65823a00] frame P:173 Avg QP: 0.00 size: 27822 [libx264 @ 0x7ffa65823a00] mb I I16..4: 26.3% 0.0% 73.7% [libx264 @ 0x7ffa65823a00] mb P I16..4: 0.3% 0.0% 0.0% P16..4: 9.9% 0.0% 0.0% 0.0% 0.0% skip:89.8% [libx264 @ 0x7ffa65823a00] coded y,uvDC,uvAC intra: 93.3% 92.8% 92.3% inter: 6.1% 6.2% 6.1% [libx264 @ 0x7ffa65823a00] i16 v,h,dc,p: 37% 63% 0% 0% [libx264 @ 0x7ffa65823a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 42% 5% 3% 5% 4% 5% 4% 5% [libx264 @ 0x7ffa65823a00] i8c dc,h,v,p: 5% 56% 39% 0% [libx264 @ 0x7ffa65823a00] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7ffa65823a00] kb/s:6224.05` **Server System:** - OS: macOS (Swift Wrapper) - Jellyfin Version: 10.5.5 - Hardware settings & device: None on Hardware acceleration - Reverse proxy: None - Other hardware notes: RTMP Live Stream from CCTV Camera & HLS Stream from a mac App **Client System:** - Device: Jellyfin Web on Google Chrome - OS: macOS - Client: Web Browser - Browser (if Web client): Google Chrome - Client and Browser Version: 10.5.5 and 83.0 It is the same when i run with a HLS stream as well. it is unable to set the profile as 'high'. Is there anyway to not pass that argument when the Live feed is played from the IPTV source configured in the IPTV plugin? Any help is appriciated. Thank you
Author
Owner

@qwerty300 commented on GitHub (Jul 13, 2020):

Changing the CRF value to 17 or above did fix the issue for me. Just putting this out for future reference

Admin Dashboard > Server > Playback > "H264 encoding CRF" to 17

@qwerty300 commented on GitHub (Jul 13, 2020): Changing the CRF value to 17 or above did fix the issue for me. Just putting this out for future reference Admin Dashboard > Server > Playback > "H264 encoding CRF" to 17
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1862