grayfados 2 Posted February 22, 2018 Posted February 22, 2018 Hi There, I trying to see a episode and it has 2 audios (Portuguese ans Japanese). But when I select the Jap audio plays the Port audio. When e select the Port audio works fine. I've tested the file on my computer and is working just fine.Follows ffmpeg log: 2018-02-22 19:49:52.492Application version: 3.2.70.0http://localhost:8096/emby/videos/97985004044f6b7b1e64379f49f2fcd5/hls1/main/0.ts?DeviceId=49a53c9d3d53c06d4d24dcd0b853fd54c2f0de45&MediaSourceId=97985004044f6b7b1e64379f49f2fcd5&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=10710896&AudioBitrate=192000&PlaySessionId=d8d73ae8862d4254a9c38bda305abfb6&api_key=deb439cf07b942d088aeae5c1f3415cb&CopyTimestamps=false&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=ed1bea47923795f2460403fff27f648c&RequireAvc=true&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&TranscodeReasons=SecondaryAudioNotSupported&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&h264-deinterlace=true{"Protocol":"File","Id":"97985004044f6b7b1e64379f49f2fcd5","Path":"xxx/xxx/xxx/Fullmetal Alchemist Brotherhood 01.mkv","Type":"Default","Container":"mkv,webm","Name":"Fullmetal Alchemist Brotherhood 01.mkv","IsRemote":false,"ETag":"ed1bea47923795f2460403fff27f648c","RunTimeTicks":14693350400,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"104271/5000000","DisplayTitle":"720P H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":699331,"BitDepth":8,"RefFrames":16,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":50,"IsAnamorphic":false},{"Codec":"aac","Language":"por","TimeBase":"1/1000","CodecTimeBase":"1/44100","DisplayTitle":"Por AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"aac","Language":"jpn","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Jpn AAC stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"HE-AACv2","Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ass","Language":"por","TimeBase":"1/1000","CodecTimeBase":"1/1000","DisplayTitle":"Por Default","IsInterlaced":false,"IsDefault":true,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":699331,"RequiredHttpHeaders":{}}User policy for Grayfados: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True/usr/bin/ffmpeg -noaccurate_seek -f matroska,webm -i file:"/xxx/xxx/xxx/Fullmetal Alchemist Brotherhood 01.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 copy -copypriorss:a:0 0 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 6 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby-server/transcoding-temp/5f4a70a65118f31bb83318a18864883f.m3u8" -y "/var/lib/emby-server/transcoding-temp/5f4a70a65118f31bb83318a18864883f%d.ts"ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright © 2000-2017 the FFmpeg developersbuilt with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencvlibavutil 54. 31.100 / 54. 31.100libavcodec 56. 60.100 / 56. 60.100libavformat 56. 40.101 / 56. 40.101libavdevice 56. 4.100 / 56. 4.100libavfilter 5. 40.101 / 5. 40.101libavresample 2. 1. 0 / 2. 1. 0libswscale 3. 1.101 / 3. 1.101libswresample 1. 2.101 / 1. 2.101libpostproc 53. 3.100 / 53. 3.100Input #0, matroska,webm, from 'file:/xxx/xxx/xxx/Fullmetal Alchemist Brotherhood 01.mkv':Metadata:encoder : libebml v1.2.3 + libmatroska v1.3.0creation_time : 2017-03-06 21:11:33Duration: 00:24:29.34, start: 0.000000, bitrate: 699 kb/sStream #0:0: Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)Stream #0:1(por): Audio: aac (LC), 44100 Hz, stereo, fltpStream #0:2(jpn): Audio: aac (HE-AACv2), 48000 Hz, stereo, fltp (default)Stream #0:3(por): Subtitle: ass (default)Stream #0:4: Attachment: ttfMetadata:filename : bluecond.ttfmimetype : application/x-truetype-fontStream #0:5: Attachment: ttfMetadata:filename : Harrington.ttfmimetype : application/x-truetype-fontStream #0:6: Attachment: ttfMetadata:filename : impact.ttfmimetype : application/x-truetype-fontStream #0:7: Attachment: ttfMetadata:filename : Mistral.ttfmimetype : application/x-truetype-fontStream #0:8: Attachment: ttfMetadata:filename : TektonPro-BoldCond.otfmimetype : application/x-truetype-font[segment @ 0x153d060] Codec for stream 0 does not use global headers but container format requires global headers[segment @ 0x153d060] Codec for stream 1 does not use global headers but container format requires global headersOutput #0, segment, to '/var/lib/emby-server/transcoding-temp/5f4a70a65118f31bb83318a18864883f%d.ts':Metadata:encoder : Lavf56.40.101Stream #0:0: Video: h264, yuv420p, 1280x720 [sAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default)Stream #0:1: Audio: aac, 44100 Hz, stereoStream mapping:Stream #0:0 -> #0:0 (copy)Stream #0:1 -> #0:1 (copy)Press [q] to stop, [?] for helpframe=18776 fps=0.0 q=-1.0 size=N/A time=00:13:03.25 bitrate=N/Aframe=35212 fps=0.0 q=-1.0 Lsize=N/A time=00:24:29.33 bitrate=N/Avideo:92210kB audio:22722kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Luke 42089 Posted February 22, 2018 Posted February 22, 2018 Hi, in this log it looks like you've got the "por" track selected. Try using the in-video controls to pull up the audio menu and switch to the "jap" track. Please let us know if this helps. Thanks.
grayfados 2 Posted February 22, 2018 Author Posted February 22, 2018 That's the problem... the Jap track is selected...
grayfados 2 Posted February 22, 2018 Author Posted February 22, 2018 I've just figured something... When I change the quality to 360p the correct audio track plays...
grayfados 2 Posted February 22, 2018 Author Posted February 22, 2018 Chrome Version 64.0.3282.167 64 bits - Windows 10
Luke 42089 Posted February 23, 2018 Posted February 23, 2018 Ok please try again with the next release of Emby Server as there have been some adjustments to this, thanks. 1
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