jmacul2 0 Posted February 25, 2020 Share Posted February 25, 2020 This appears not to work with the built in emby ffmpeg (/opt/emby-server/bin/ffmpeg) because libxml2 is not enabled (--enable-libxml2). I have access to a local Dash streaming server that is serving up h246 channels. It points to a m3u playlist but emby cant play this format. I know ffmpeg 4.2+ will transcode or remux mpeg dash as long as libxml2 is enabled. ---------------------------- 2020-02-25 12:51:56.140Emby Server version: 4.3.1.0App: Emby Web 4.3.1.50Chromehttp://129.123.41.174:8096/emby/videos/324177/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNzkuMC4zOTQ1LjExNyBTYWZhcmkvNTM3LjM2fDE1Nzg1NDc2NTk2OTE1&MediaSourceId=3280cf79bcc536cc2115fbb65063e0e3&PlaySessionId=28bca04cc2a844dba45b8252d98fe919&api_key=e4f8a9c109894b07a8234265dbc02e2e&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3280cf79bcc536cc2115fbb65063e0e3&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=7808001&AudioBitrate=192000&AudioStreamIndex=-1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=ContainerBitrateExceedsLimit,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false{"Protocol":"Http","Id":"3280cf79bcc536cc2115fbb65063e0e3","Path":"http://172.17.175.235/out/u/ESPN.mpd","Type":"Default","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3280cf79bcc536cc2115fbb65063e0e3","RequiresLooping":true,"SupportsProbing":false,"MediaStreams":[{"VideoRange":"SDR","IsInterlaced":true,"BitRate":20000000,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"}],"Formats":[],"Bitrate":20000000,"RequiredHttpHeaders":{"User-Agent":"VLC/3.0.1"},"ReadAtNativeFramerate":false}User policy for jmacul2: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: TrueAffected codecs:>>>>>> libx264 Software EncoderColor Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10, YUV422P10, YUV444P10, NV20Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: AutomaticInfo FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)Info Encoder supports input streamInfo FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'/opt/emby-server/bin/ffmpeg -loglevel +timing -analyzeduration 3000000 -user_agent "VLC/3.0.1" -stream_loop -1 -multiple_requests 1 -reconnect_streamed 1 -reconnect_delay_max 2 -i "http://172.17.175.235/out/u/ESPN.mpd"-map_metadata -1 -map_chapters -1 -threads 0 -sn -c:v:0 libx264 -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -maxrate 7808001 -bufsize 15616002 -preset superfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_entry_prefix "hls/351e78d4bf18c00c7f2ee9da1bf26677/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby/transcoding-temp/351e78d4bf18c00c7f2ee9da1bf26677.m3u8" -y "/var/lib/emby/transcoding-temp/351e78d4bf18c00c7f2ee9da1bf26677%d.ts" 12:51:56.232 ffmpeg version 4.3.0-emby_2019_11_09 Copyright © 2000-2019 the FFmpeg developers and softworkz for Emby LLC12:51:56.232 built with gcc 8.3.0 (crosstool-NG 1.24.0)12:51:56.232 Execution Date: 2020-02-25 12:51:5612:51:56.250 http://172.17.175.235/out/u/ESPN.mpd:Invalid data found when processing input 12:51:56.251 Link to comment Share on other sites More sharing options...
Luke 37095 Posted February 25, 2020 Share Posted February 25, 2020 Hi there, thanks for reporting. I can add this to our internal backlog to add this into our ffmpeg build. Link to comment Share on other sites More sharing options...
tigrao 18 Posted September 8, 2022 Share Posted September 8, 2022 Any chance of getting --enable-libxml2 included in the Emby ffmpeg build? I would also really like to use MPEG dash mpd files. Link to comment Share on other sites More sharing options...
Luke 37095 Posted September 8, 2022 Share Posted September 8, 2022 Hi, yes it's possible for future updates. Thanks. 2 Link to comment Share on other sites More sharing options...
jathe 9 Posted July 20, 2023 Share Posted July 20, 2023 They have more than 3 years trying to add headers to strm files.... i cant imagine how long will take add dash support to libraries Link to comment Share on other sites More sharing options...
Nostradamus1973 18 Posted February 4 Share Posted February 4 Good morning everyone, I just came across this thread and saw this from July, does 4.8.0.80 support *.mpd files? Thank you and have a nice day. Link to comment Share on other sites More sharing options...
Luke 37095 Posted February 4 Share Posted February 4 6 hours ago, Nostradamus1973 said: Good morning everyone, I just came across this thread and saw this from July, does 4.8.0.80 support *.mpd files? Thank you and have a nice day. Hi, if you mean mpd files in the library file system, no. Link to comment Share on other sites More sharing options...
EasyCodex 1 Posted March 10 Share Posted March 10 On 2/4/2024 at 2:35 PM, Luke said: Hi, if you mean mpd files in the library file system, no. Como puedo meter un MPD que tenga llaves o como seria la URL para que reconozca ya que me sale como formato no compatible. Example: https://example.com/index.mpd?key=jksadsjakda:sakhduisad Oh como seria en esta ocasión. Link to comment Share on other sites More sharing options...
Luke 37095 Posted March 12 Share Posted March 12 On 3/10/2024 at 2:06 PM, EasyCodex said: Como puedo meter un MPD que tenga llaves o como seria la URL para que reconozca ya que me sale como formato no compatible. Example: https://example.com/index.mpd?key=jksadsjakda:sakhduisad Oh como seria en esta ocasión. Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. 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