Skip to content

Instantly share code, notes, and snippets.

@wjt
Last active December 5, 2025 10:13
Show Gist options
  • Select an option

  • Save wjt/e6a7bf87d4dd22bb3e8b772efee7fe28 to your computer and use it in GitHub Desktop.

Select an option

Save wjt/e6a7bf87d4dd22bb3e8b772efee7fe28 to your computer and use it in GitHub Desktop.
{"Protocol":0,"Id":"539e63778261a8d644de4977c35008a2","Path":"/media/Music/Rolo Tomassi/In the Echo of All Dreams/Rolo Tomassi - In the Echo of All Dreams - 01 Woodburn.flac","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"flac","Size":37871254,"Name":"Rolo Tomassi - In the Echo of All Dreams - 01 Woodburn","IsRemote":false,"ETag":"16be8aef6b61229f0274530ec5d969a6","RunTimeTicks":1968730420,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"flac","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"FLAC - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":1538910,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"mjpeg","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt470bg","ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":"Cover (front)","TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"Hdr10PlusPresentFlag":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":null,"NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":700,"Width":700,"AverageFrameRate":null,"RealFrameRate":90000,"ReferenceFrameRate":90000,"Profile":"Baseline","Type":3,"AspectRatio":"1:1","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuvj444p","Level":-99,"IsAnamorphic":false}],"MediaAttachments":[],"Formats":[],"Bitrate":1538910,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -i file:"/media/Music/Rolo Tomassi/In the Echo of All Dreams/Rolo Tomassi - In the Echo of All Dreams - 01 Woodburn.flac" -threads 0 -vn -ab 256000 -ac 2 -acodec libfdk_aac -id3v2_version 3 -write_id3v1 1 -y "/cache/transcodes/0db0e04a04f8317fbbe015ecb439e81a.mp3"
ffmpeg version 7.1.2-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers
built with gcc 14 (Debian 14.2.0-19)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.101 / 61. 19.101
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
Input #0, flac, from 'file:/media/Music/Rolo Tomassi/In the Echo of All Dreams/Rolo Tomassi - In the Echo of All Dreams - 01 Woodburn.flac':
Metadata:
TITLE : Woodburn
ARTIST : Rolo Tomassi
DATE : 2025
COMMENT : Visit https://rolotomassi.bandcamp.com
ALBUM : In the Echo of All Dreams
track : 1
album_artist : Rolo Tomassi
ISRC : US5ED2507016
UNSYNCEDLYRICS : Never stray
: It could fade
: A comfort I could turn to
:
: It’s a gift
: To let go
: Nothing to return to
Duration: 00:03:16.87, start: 0.000000, bitrate: 1538 kb/s
Stream #0:0: Audio: flac, 48000 Hz, stereo, s32 (24 bit)
Stream #0:1: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 700x700 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn (attached pic)
Metadata:
comment : Cover (front)
Stream mapping:
Stream #0:0 -> #0:0 (flac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mp3 @ 0x7f0a2e8af280] Invalid audio stream. Exactly one MP3 audio stream is required.
[out#0/mp3 @ 0x7f0a2e880f80] Could not write header (incorrect codec parameters ?): Invalid argument
[af#0:0 @ 0x7f0a2e881280] Error sending frames to consumers: Invalid argument
[af#0:0 @ 0x7f0a2e881280] Task finished with error code: -22 (Invalid argument)
[af#0:0 @ 0x7f0a2e881280] Terminating thread with return code -22 (Invalid argument)
[libfdk_aac @ 0x7f0a2e8ca180] Trying to remove 1024 samples, but the queue is empty
Last message repeated 1 times
[out#0/mp3 @ 0x7f0a2e880f80] Nothing was written into output file, because at least one of its streams received no packets.
size= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
[2025-12-05 09:44:47.413 +00:00] [INF] [88] Jellyfin.Api.Controllers.UniversalAudioController: GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, MaxStreamingBitrate: 8000000, MaxStaticBitrate: 8000000, MusicStreamingTranscodingBitrate: 128000, MaxStaticMusicBitrate: 8000000, DirectPlayProfiles: [DirectPlayProfile { Container: "flac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "mp3", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "aac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "ogg", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "wav", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "opus", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "webma", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webma", AudioCodec: null, VideoCodec: null, Type: Audio }], TranscodingProfiles: [TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: "", AudioCodec: "mp3", Protocol: http, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [], EnableAudioVbrEncoding: True }], ContainerProfiles: [], CodecProfiles: [], SubtitleProfiles: [] }
[2025-12-05 09:44:47.547 +00:00] [INF] [88] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "wjt". EnableAudioPlaybackTranscoding: True
[2025-12-05 09:44:47.548 +00:00] [INF] [88] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 1000000, RemoteIP: "5.83.193.182", IsInLocalNetwork: False
[2025-12-05 09:44:47.665 +00:00] [INF] [88] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -i file:\"/media/Music/Rolo Tomassi/In the Echo of All Dreams/Rolo Tomassi - In the Echo of All Dreams - 01 Woodburn.flac\" -threads 0 -vn -ab 256000 -ac 2 -acodec libfdk_aac -id3v2_version 3 -write_id3v1 1 -y \"/cache/transcodes/99cbd15703d9d97dbb37c1c402352606.mp3\""
[2025-12-05 09:44:50.911 +00:00] [ERR] [88] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment