Jump to content

Unable to play flac files on alexa


Boredcat
Go to solution Solved by Angelblue05,

Recommended Posts

Boredcat

When I try to play flac files there is no sound.

 

Alexa says its playing <name of song>, album art is displayed. And then silence .. no error's..  

 

No problem with mp3's.

 

 

Any idea's other then creating mp3 of the flac's..

 

Tried it on a Echo Show 2, Echo Spot and the Alexa app on Ipad.

Link to comment
Share on other sites

Boredcat

As requested : (removed server info)

2019-03-02 17:25:38.039
Application version: 4.0.2.0

https://XXXXXXX:8920/emby/audio/22202/stream?DeviceId=f0eb32ccbd307253340bc3439a5232eb&MediaSourceId=e6e027c4a338073d5f6f9d1b2a77d98b&PlaySessionId=c2ad8a3f936f40f4bf39d381eb4d19f9&api_key=5d4e2a859a7d448aabdda50569d264c2&TranscodeReasons=ContainerNotSupported

{"Protocol":"File","Id":"e6e027c4a338073d5f6f9d1b2a77d98b","Path":"\\\\gangkast\\playmusic\\Bruce Springsteen\\Greatest Hits\\03 - Badlands.flac","Type":"Default","Container":"flac","Size":0,"Name":"03 - Badlands","IsRemote":false,"RunTimeTicks":2428669952,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"flac","TimeBase":"1/44100","CodecTimeBase":"1/44100","DisplayTitle":"FLAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitDepth":16,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"mjpeg","Comment":"Cover (front)","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1500,"Width":1500,"RealFrameRate":90000,"Type":"EmbeddedImage","AspectRatio":"1:1","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":false}],"Formats":[],"Bitrate":932222,"RequiredHttpHeaders":{}}

User policy for Jacko: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True



C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\system\ffmpeg.exe -i file:"\\gangkast\playmusic\Bruce Springsteen\Greatest Hits\03 - Badlands.flac" -threads 0 -vn -ac 2 -ar 44100 -id3v2_version 3 -write_id3v1 1 -y "z:\Emby\Transcode\transcoding-temp\560b51349eeb42ab1cafb472f42e7574"

ffmpeg version 4.0.2-emby_2018_12_09-g5abbb1430d+238 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (Rev1, Built by MSYS2 project) 20181207
  configuration:  --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --disable-debug --enable-ffnvcodec --enable-nvdec --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-version3 --enable-libzvbi --enable-gnutls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, flac, from 'file:\\gangkast\playmusic\Bruce Springsteen\Greatest Hits\03 - Badlands.flac':
  Metadata:
    ALBUM           : Greatest Hits
    ARTIST          : Bruce Springsteen
    DATE            : 1995
    TITLE           : Badlands
    TOTALTRACKS     : 18
    track           : 03
    album_artist    : Bruce Springsteen
  Duration: 00:04:02.87, start: 0.000000, bitrate: 932 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1500x1500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
[NULL @ 0000009dcda11e00] Unable to find a suitable output format for 'z:\Emby\Transcode\transcoding-temp\560b51349eeb42ab1cafb472f42e7574'
z:\Emby\Transcode\transcoding-temp\560b51349eeb42ab1cafb472f42e7574: Invalid argument

  • Like 1
Link to comment
Share on other sites

Boredcat

No luck yet.  Log now from other song same album 

2019-03-02 19:10:42.624
Application version: 4.0.2.0

https://xxxxxxxxt:8920/emby/Audio/22200/hls1/main/0.mp3?PlaySessionId=059b6ec49fc047d9a996b23c44c9a037&MaxStreamingBitrate=384000&MaxSampleRate=48000&EnableRedirection=True&TranscodingContainer=mp3&Container=mp3%2Caac&AudioCodec=aac&UserId=219b0d4945814e5ebfd1d99c72679e3e&TranscodingProtocol=hls&EnableRemoteMedia=True&DeviceId=f0eb32ccbd307253340bc3439a5232eb&api_key=5d4e2a859a7d448aabdda50569d264c2&SegmentContainer=mp3&AudioBitrate=384000&TranscodeReasons=ContainerNotSupported

{"Protocol":"File","Id":"8893870c88b2889d6b65d6ea22386155","Path":"\\\\gangkast\\playmusic\\Bruce Springsteen\\Greatest Hits\\01 - Born to Run.flac","Type":"Default","Container":"flac","Size":0,"Name":"01 - Born to Run","IsRemote":false,"RunTimeTicks":2709600000,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"flac","TimeBase":"1/44100","CodecTimeBase":"1/44100","DisplayTitle":"FLAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitDepth":16,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"mjpeg","Comment":"Cover (front)","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1500,"Width":1500,"RealFrameRate":90000,"Type":"EmbeddedImage","AspectRatio":"1:1","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":false}],"Formats":[],"Bitrate":965318,"RequiredHttpHeaders":{}}

User policy for Jacko: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True



C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\system\ffmpeg.exe -i file:"\\gangkast\playmusic\Bruce Springsteen\Greatest Hits\01 - Born to Run.flac" -threads 0   -acodec aac -strict experimental -ab 384000 -ac 2 -vn -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mp3 -segment_list_type m3u8 -segment_start_number 0 -segment_list "z:\Emby\Transcode\transcoding-temp\b0b9cfc4d521829ddea07b501ccf52ed.m3u8" -y "z:\Emby\Transcode\transcoding-temp\b0b9cfc4d521829ddea07b501ccf52ed%d.mp3"

ffmpeg version 4.0.2-emby_2018_12_09-g5abbb1430d+238 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (Rev1, Built by MSYS2 project) 20181207
  configuration:  --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --disable-debug --enable-ffnvcodec --enable-nvdec --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-version3 --enable-libzvbi --enable-gnutls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, flac, from 'file:\\gangkast\playmusic\Bruce Springsteen\Greatest Hits\01 - Born to Run.flac':
  Metadata:
    ALBUM           : Greatest Hits
    ARTIST          : Bruce Springsteen
    DATE            : 1995
    TITLE           : Born to Run
    TOTALTRACKS     : 18
    track           : 01
    album_artist    : Bruce Springsteen
  Duration: 00:04:30.96, start: 0.000000, bitrate: 965 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1500x1500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> aac (native))
Press [q] to stop, [?] for help
[segment @ 0000000d172e4880] Opening 'z:\Emby\Transcode\transcoding-temp\b0b9cfc4d521829ddea07b501ccf52ed0.mp3' for writing
[mp3 @ 0000000d177e8ec0] Invalid audio stream. Exactly one MP3 audio stream is required.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 -- 
[aac @ 0000000d172df8c0] Qavg: nan
Conversion failed!

  • Like 1
Link to comment
Share on other sites

Boredcat

Yeeees it is working. Thnx for help.  Your beer is on the way, enjoy cheers.

  • Like 1
Link to comment
Share on other sites

Angelblue05

Yeeees it is working. Thnx for help. Your beer is on the way, enjoy cheers.

Thank you for letting me know it works now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...