treason 11 Posted September 27, 2018 Share Posted September 27, 2018 (edited) I'm trying to start a mp4 / h264 web stream, so I looked at swagger and crafted this psuedo-url https://myserver:port/emby/Videos/c3508f1aa2880e8462e23ce5ec186506/live.m3u8?Container=mp4&api_key=123456 The webserver returns: Error starting ffmpeg Log sample: 2018-09-27 19:13:49.266 Info HttpServer: HTTP Response 204 to 192.168.1.1. Time: 31ms. https://myserver/emby/System/Configuration 2018-09-27 19:13:57.039 Info HttpServer: HTTP GET https://myserver/emby/Videos/c3508f1aa2880e8462e23ce5ec186506/live.m3u8?Container=mp4&DeviceId=12433. Host=myserver, User-Agent=curl/7.54.0, Accept=*/* 2018-09-27 19:13:57.040 Info App: C:\Users\treason\AppData\Roaming\MediaBrowser-Server\system\ffmpeg.exe -f matroska,webm -i file:"B:\Movies\Kids\someMovie.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:3 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -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:gte(t,n_forced*3)" -flags -global_header -vsync -1 -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 -segment_list_entry_prefix "hls/98c3218fdc11b60b2a70fa73c094fcdd/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\treason\AppData\Roaming\MediaBrowser-Server\transcoding-temp\98c3218fdc11b60b2a70fa73c094fcdd.m3u8" -y "C:\Users\treason\AppData\Roaming\MediaBrowser-Server\transcoding-temp\98c3218fdc11b60b2a70fa73c094fcdd%d.ts" 2018-09-27 19:13:57.262 Error HttpServer: Error processing request *** Error Report *** Version: 3.5.3.0 Command line: C:\Users\treason\AppData\Roaming\MediaBrowser-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: C:\Users\treason\AppData\Roaming\MediaBrowser-Server Application directory: C:\Users\treason\AppData\Roaming\MediaBrowser-Server\system System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, EncodingOptions encodingOptions, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest(StreamRequest request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) System.Exception at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, EncodingOptions encodingOptions, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest(StreamRequest request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) Am I crafting my URL wrong, or is this some kind of bug? Thanks! Edited September 27, 2018 by treason Link to comment Share on other sites More sharing options...
Luke 37144 Posted September 28, 2018 Share Posted September 28, 2018 Hi, have you checked out our api wiki? https://github.com/MediaBrowser/Emby/wiki/Http-Live-Streaming 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