talentless 2 Posted December 29, 2021 Posted December 29, 2021 Files with DTS audio tracks are doing DirectStream instead of DirectPlay and I get no sound out of them on an iphone 13 with iOS 15. First, on the issue of DirectPlay vs DirectStream, Emby dashboard tells me it is because of an incompatible container: Quote The media is compatible with the device regarding resolution and media type (H.264, AC3, etc.), but is in an incompatible file container (.mkv, .avi, .wmv, etc.). The video will be re-packaged on the fly before streaming it to the device. But the container is MKV and other MKV files DirectPlay just fine. Then, on the ffmpeg logs: http://10.8.1.80:8096/emby/videos/9067/hls1/main/829.ts?DeviceId=6871564C-6014-4679-960E-812E870FABF2&MediaSourceId=26c3fa3b17e91c9ff95483ef4e440afd&PlaySessionId=b4784d4d8bad4949bc877c016a0b901b&api_key=ca3f49e2f07d49719be631fde201f45d&VideoCodec=h264,hevc,mpeg2video&AudioCodec=ac3,mp3,aac&VideoBitrate=139232000&AudioBitrate=768000&AudioStreamIndex=1&TranscodingMaxAudioChannels=6&SegmentContainer=ts&SegmentLength=3&MinSegments=1&BreakOnNonKeyFrames=True&hevc-profile=Main,Main10&TranscodeReasons=AudioCodecNotSupported ... 14:08:03.981 Input #0, matroska,webm, from '...': 14:08:03.982 Metadata: 14:08:03.982 encoder : libebml v1.3.4 + libmatroska v1.4.5 14:08:03.982 creation_time : 2016-09-24T11:45:33.000000Z 14:08:03.982 Duration: 01:55:00.92, start: 0.000000, bitrate: 12241 kb/s 14:08:03.983 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1040 [SAR 1:1 DAR 24:13], Level 41, 24 fps, 24 tbr, 1k tbn, 48 tbc (default) 14:08:03.984 Metadata: 14:08:03.984 BPS : 10729694 14:08:03.984 BPS-eng : 10729694 14:08:03.984 DURATION : 01:55:00.917000000 14:08:03.985 DURATION-eng : 01:55:00.917000000 14:08:03.985 NUMBER_OF_FRAMES: 165622 14:08:03.985 NUMBER_OF_FRAMES-eng: 165622 14:08:03.985 NUMBER_OF_BYTES : 9255590991 14:08:03.985 NUMBER_OF_BYTES-eng: 9255590991 14:08:03.986 Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default) 14:08:03.986 Metadata: 14:08:03.987 BPS : 1508999 14:08:03.987 BPS-eng : 1508999 14:08:03.987 DURATION : 01:55:00.918000000 14:08:03.987 DURATION-eng : 01:55:00.918000000 14:08:03.987 NUMBER_OF_FRAMES: 646961 14:08:03.987 NUMBER_OF_FRAMES-eng: 646961 14:08:03.988 NUMBER_OF_BYTES : 1301685532 14:08:03.988 NUMBER_OF_BYTES-eng: 1301685532 14:08:03.988 Stream #0:2(eng): Subtitle: subrip, Start-Time 0.001s (default) 14:08:03.989 Metadata: 14:08:03.989 BPS : 23 14:08:03.989 BPS-eng : 23 14:08:03.989 DURATION : 01:50:04.792000000 14:08:03.990 DURATION-eng : 01:50:04.792000000 14:08:03.990 NUMBER_OF_FRAMES: 703 14:08:03.990 NUMBER_OF_FRAMES-eng: 703 14:08:03.990 NUMBER_OF_BYTES : 19559 14:08:03.990 NUMBER_OF_BYTES-eng: 19559 14:08:03.992 Output #0, segment, to '/config/transcoding-temp/FF4EA8_%d.ts': 14:08:03.992 Metadata: 14:08:03.992 encoder : Lavf58.35.100 14:08:03.992 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1040 [SAR 1:1 DAR 24:13], q=2-31, Level 41, 24 fps, 24 tbr, 90k tbn, 24 tbc (default) 14:08:03.992 Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default) 14:08:03.992 Stream mapping: 14:08:03.992 Stream #0:0 -> #0:0 (copy) 14:08:03.992 Stream #0:1 -> #0:1 (copy) There I see TranscodeReasons=AudioCodecNotSupported, is this accurate? And why is then the audio stream copied and not transcoded? Basically I want to know how can I determine the reason this is DirectStream and not DirectPlay. Aside form this, then I hear no audio on the iPhone. Any ideas?
Luke 42077 Posted December 29, 2021 Posted December 29, 2021 Hi there, please attach the complete ffmpeg log example. thanks.
talentless 2 Posted December 29, 2021 Author Posted December 29, 2021 Attached. Thanks for taking a look. ffmpeg-directstream-73434911-b9fc-4b38-a654-e42e97ec4102_1.txt
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