dkanada / gelli

Native Music Player for Jellyfin
GNU General Public License v3.0
527 stars 41 forks source link

FLAC errors #131

Open rightsaidfred99 opened 3 years ago

rightsaidfred99 commented 3 years ago

It seems that ever since I upgraded Jellyfin to 1.7.0, there seems to be issues with my FLAC library.

On the road on a 4g connection, Gelli will login in and I can browse the library. However when I play a song 80% of the time it'll load the the song in now playong but it stays on 0:00 and total track length is 0:00.

There is usually an error message about it not being able to play the song.

No matter what I do, restart phone or app, it won't play. Like a few hours later or the next day, it'll work and plays everything just fine.

I'm unable to find a repeating pattern to why this occurs.

I'm sorry its not technical I don't know what else to post but am willing to follow instructions to get this working

seniorm0ment commented 3 years ago

Is it a FLAC issue? My entire library is flac, and it works, however I do have issues with 24bit files, and I think that's a Jellyfin issue (haven't tested on 10.7.0)

tdehaeze commented 3 years ago

I had the same problem. I un-installed and re-installed Gelli and now it is working properly.

rightsaidfred99 commented 3 years ago

It's not a flac issue. It happens randomly. Perhaps something to do with bluetooth? I found it usually stops transcoding most often in the car.

`/Audio/69d8d2df50621ae75019797ed1b76ee4/hls1/main/0.ts

{"Protocol":0,"Id":"69d8d2df50621ae75019797ed1b76ee4","Path":"/music/Mr. Bungle/Mr. Bungle/Mr. Bungle - The Girls of Porn.flac","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"flac","Size":42989932,"Name":"Mr. Bungle - The Girls of Porn","IsRemote":false,"ETag":"fb566913081818abfdcb8d9342df4644","RunTimeTicks":4024666624,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":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,"Comment":null,"TimeBase":"1/44100","CodecTimeBase":"1/44100","Title":null,"VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"FLAC - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":854529,"BitDepth":16,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":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,"Comment":"Cover (front)","TimeBase":"1/90000","CodecTimeBase":"0/1","Title":null,"VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":null,"NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":595,"Width":594,"AverageFrameRate":null,"RealFrameRate":90000,"Profile":"Baseline","Type":3,"AspectRatio":"594:595","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":854529,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -i file:"/music/Mr. Bungle/Mr. Bungle/Mr. Bungle - The Girls of Porn.flac" -map_metadata -1 -map_chapters -1 -threads 0 -acodec aac -ab 320000 -ac 2 -ar 44100 -vn -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/b9f24a3779d7e2ff6135ca0e22abf75a%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/b9f24a3779d7e2ff6135ca0e22abf75a.m3u8"

ffmpeg version 4.3.1-Jellyfin Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-libfontconfig --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 [mjpeg @ 0x5568116591c0] unable to decode APP fields: Invalid data found when processing input Input #0, flac, from 'file:/music/Mr. Bungle/Mr. Bungle/Mr. Bungle - The Girls of Porn.flac': Metadata: ARTIST : Mr. Bungle TITLE : The Girls of Porn ALBUM : Mr. Bungle DATE : 1991 track : 08 GENRE : Experimental disc : 1 TOTALDISCS : 1 TOTALTRACKS : 10 Duration: 00:06:42.47, start: 0.000000, bitrate: 854 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 594x595 [SAR 600:600 DAR 594:595], 90k tbr, 90k tbn, 90k tbc (attached pic) Metadata: comment : Cover (front) title : cover art Stream mapping: Stream #0:0 -> #0:0 (flac (native) -> aac (native)) Press [q] to stop, [?] for help [mpegts @ 0x55681170e1c0] frame size not set Output #0, hls, to '/config/transcodes/b9f24a3779d7e2ff6135ca0e22abf75a.m3u8': Metadata: encoder : Lavf58.45.100 Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp (16 bit), 320 kb/s Metadata: encoder : Lavc58.91.100 aac`

Please excuse song title haha but th

rightsaidfred99 commented 3 years ago

[mjpeg @ 0x5568116591c0] unable to decode APP fields: Invalid data found when processing input

is the key line I've seen between the states when Gelli plays and when it can't play songs. Again though to stress, it's random as the song will one day play and another day it won't so I'd be confident to rule out a problem with the files themselves, rather something to do with a transcribing codec crashing??

Extarys commented 3 years ago

Similar error message than @rightsaidfred99 here without using Gelli (Using web ui). I didn't notice if it was mp3 or flac though.