CBers 6771 Posted June 26, 2017 Share Posted June 26, 2017 (edited) As per the title, using the Emby ATV app on my Shield TV, the audio in my IPTV streams are being detected as AAC stereo, whereas my Samsung TV with the SMART IPTV app installed, is detecting it, and playing it, as AC3 (DD). This is the ffmpeg directstream log: http://192.168.1.150:8096/emby/videos/427f9e28cf039fd72b2a0d2166d9f3eb/live.m3u8?DeviceId=8651bed2b2287880&MediaSourceId=93e4b55e977c489e8a41191fbdac6dc1_4f34e117ad0a56778ce134631ddce88a&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,dts,dca,dtshd,aac,mp3&AudioStreamIndex=1&VideoBitrate=109850000&AudioBitrate=150000&MaxAudioChannels=8&PlaySessionId=86cc741351fa4ec8b864ea512728853d&api_key=d081cd204de64430a9397db5bd8e647e&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_93e4b55e977c489e8a41191fbdac6dc1_4f34e117ad0a56778ce134631ddce88a&CopyTimestamps=true&EnableSubtitlesInManifest=false&RequireAvc=false&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported {"Protocol":"Http","Id":"93e4b55e977c489e8a41191fbdac6dc1_4f34e117ad0a56778ce134631ddce88a","Path":"http://IPTVPROVIDER/51.ts","Type":"Default","Container":"mpegts","IsRemote":true,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_93e4b55e977c489e8a41191fbdac6dc1_4f34e117ad0a56778ce134631ddce88a","RequiresLooping":false,"MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1/50","NalLengthSize":"0","IsInterlaced":false,"BitRate":8000000,"BitDepth":8,"RefFrames":4,"IsDefault":false,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false},{"Codec":"aac","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":150000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":8150000,"RequiredHttpHeaders":{},"AnalyzeDurationMs":2000,"DefaultAudioStreamIndex":1} C:\Users\Media\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -analyzeduration 2000000 -f mpegts -i "http://IPTVPROVIDER/51.ts" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -flags -global_header -vsync cfr -codec:a:0 copy -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/fb87f9e271d9b262475cb1fba22f5da7/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Media\AppData\Roaming\Emby-Server\transcoding-temp\fb87f9e271d9b262475cb1fba22f5da7.m3u8" -y "C:\Users\Media\AppData\Roaming\Emby-Server\transcoding-temp\fb87f9e271d9b262475cb1fba22f5da7%d.ts" ffmpeg version N-79277-g0c90b2e Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 20.100 / 55. 20.100 libavcodec 57. 34.100 / 57. 34.100 libavformat 57. 32.100 / 57. 32.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 41.100 / 6. 41.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, mpegts, from 'http://IPTVPROVIDER/51.ts': Duration: N/A, start: 1670.880000, bitrate: N/A Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 136 kb/s Stream #0:2[0x102](und): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Output #0, segment, to 'C:\Users\Media\AppData\Roaming\Emby-Server\transcoding-temp\fb87f9e271d9b262475cb1fba22f5da7%d.ts': Metadata: encoder : Lavf57.32.100 Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 25 tbc Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 136 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 621 fps=0.0 q=-1.0 size=N/A time=00:00:24.83 bitrate=N/A speed=27.7x frame= 651 fps=343 q=-1.0 size=N/A time=00:00:26.03 bitrate=N/A speed=13.7x frame= 681 fps=235 q=-1.0 size=N/A time=00:00:27.23 bitrate=N/A speed=9.39x frame= 711 fps=182 q=-1.0 size=N/A time=00:00:28.43 bitrate=N/A speed=7.29x frame= 737 fps=150 q=-1.0 size=N/A time=00:00:29.47 bitrate=N/A speed=6.01x frame= 767 fps=130 q=-1.0 size=N/A time=00:00:30.67 bitrate=N/A speed= 5.2x frame= 794 fps=115 q=-1.0 Lsize=N/A time=00:00:31.75 bitrate=N/A speed=4.59x Normal playback of AC3 videos play fine through the Emby ATV app, it's just Live IPTV that is the issue. Thanks. Edited June 26, 2017 by CBers Link to comment Share on other sites More sharing options...
ebr 14918 Posted June 26, 2017 Share Posted June 26, 2017 According to ffmpeg, that stream only has an AAC audio track. Can I see the ffmpeg log from playing back the exact same stream in the other app? Is it possible your TV is converting it...? Link to comment Share on other sites More sharing options...
CBers 6771 Posted June 26, 2017 Author Share Posted June 26, 2017 (edited) The other app is a Smart TV app, not an Emby app. Just tried it in the Emby for Samsung Smart TV (Orsay) and it is transcoding/copying both audio and video: Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuvj420p, 1280x720, q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 130 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)Isn't AAC stereo though? Not sure if my TV automatically upmixs to DD, but there are definitely no options in the TV menu to manage it. @@FrostByte - do you know? . Edited June 26, 2017 by CBers Link to comment Share on other sites More sharing options...
FrostByte 5051 Posted June 26, 2017 Share Posted June 26, 2017 I don't use LiveTV. However, AAC and AC3 both Direct Play using the Emby Orsay app for streaming video and neither are converting for me. My HTS supports both those codecs and is hooked up via ARC so no need to convert. Does your soundbar support AAC? If it only supports AC3 I would assume something is converting it if Emby server itself isn't AAC doesn't have to be stereo, the XB1 ET app converts AC3 5.1 to AAC 5.1 Link to comment Share on other sites More sharing options...
CBers 6771 Posted June 26, 2017 Author Share Posted June 26, 2017 Yes, my soundbar plays back AAC without converting. I've just installed the same Smart IPTV that I have directly on the TV and is is also outputting stereo, so perhaps it's a Shield/HDMI issue. Link to comment Share on other sites More sharing options...
Luke 37091 Posted June 26, 2017 Share Posted June 26, 2017 Your TV could be converting to AC3, also the provider could be customizing the stream based on the user agent of who is connecting. That is unlikely, but possible. Link to comment Share on other sites More sharing options...
ebr 14918 Posted June 27, 2017 Share Posted June 27, 2017 I bet the TV is converting it. The above info out of ffmpeg clearly shows the source as stereo (at least the one we're getting). Link to comment Share on other sites More sharing options...
SamES 891 Posted June 27, 2017 Share Posted June 27, 2017 @@Luke, Orsay app needs to add mp2 audio for direct play as per recent update for Tizen, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now