Jump to content

screenplay for WebOS 2.0 and higher TVs


kwilcox

Recommended Posts

alexakos89

hello and happy new year!

i have a problem with screenplay and srt subtitles.

I load a movie with an srt subtitle.

lets say movie.mkv and srt movie.gre.srt or movie.ell.srt .

or movie.mkv with srt movie.gre.forced.srt or movie.ell.forced.srt.

tha subs does not show up.

i tried at user profile settings with all the modes.default ,forced,smart and always show.

none of them work.

subs are encoded as utf-8 bom.

 

am i missing something?

 

another problem i have is when i play a movie from dlna i have arc lipsync problems.

when i play the movie from screenplay or emby app everything is fine.

 

lg43uj620v with yamaha rx-v475 1.4hdmi

Link to comment
Share on other sites

robawarner

Great!

 

What I would like is a 'next episode' option for series I am watching. Like it is with the Emby Theater app for PC/Android. 

 

This is a feature I too would really like, I always use this to continue playing shows, having to find the show, season and episode manually is tedious :P

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...

Approved just in time for the holidays!  Screenplay v1.1.4 is available in all regions for WebOS2 and greater.  v1.1.6 is a bugfix and will be submitted for QA today sometime...

 

Enjoy!   I feel a bit like Santa Claus lol...

 

Time for me to start in on the next set of enhancements:

  • subtitle and alternate audio support
  • Sort home screen recently added categories. 
  • add music and photo players

 

The bad news here is that emby server v3.1.0 doesn't have swagger API support which is a web site that it hosts that allows you to see/test the various api features.  Luke said they mistakenly left that out and will restore soon.  That was my primary goto for API testing.  I think I have an old 3.0.x emby server vm saved off which should get me something to work with.

Swagger params are finally back and better then ever:

 

https://emby.media/community/index.php?/topic/60520-34127-swagger-params/

 

Enjoy.

Link to comment
Share on other sites

  • 1 month later...
LuckyLukeX
I used "Screenplay" from the first versions without problems, I think they are more than 3 years ago now.
 
Now with Emby Server version 3.6.0.x (beta channel), Screenplay no longer plays any movie when I push the PLAY button (white triangle in the green button) or the RESUME button, simply it returns to the library screen where all the movies' posters are listed.

With Emby Server version 3.5.0.2 it works, but if downgrading Emby Server you will quite sure corrupts the db.
Anyway when 3.6.0.x will become stable ... downgrading will be a no option.
 
Note that the Emby app works without problems and also the SmartShare app via DLNA protocol is ok, but I was very comfortable with Screenplay because it is simpler to use for my kids!
 
Are there others who find this anomaly?

Any suggestions in the Emby Server 3.6.0.x settings or any different kind of solutions?
 
Thanks
Edited by LuckyLukeX
Link to comment
Share on other sites

  • 2 weeks later...

@kwilcox - any plans for update ? I really enjoy the screenplay app so it would be awesome when it could be used with the server version 3.6 and higher

  • Like 2
Link to comment
Share on other sites

  • 2 months later...
kwilcox

Interesting.  I'm running on v3.5.5 myself so hadn't noticed the problem.  I wonder what might have changed in v3.6 that broke screenplay? I'll see if I can take a look at it.

Edited by kwilcox
Link to comment
Share on other sites

@kwilcox - any plans for update ? I really enjoy the screenplay app so it would be awesome when it could be used with the server version 3.6 and higher

 

Can you please describe the problem and attach an emby server log? thanks.

Link to comment
Share on other sites

kwilcox

@@Luke

 

Verified, definitely happening on v3.6.  Both direct play and transcoding affected.  Here are logs, samples taken from old server and new right after I hit the play button (which sends a /videos request).  What is weird is that the new server log never even registers the fact that a /videos request was received.  Screenplay immediately returns to the movies screen which does the shown /user and /items

 

 

old server:
 
2018-12-09 12:27:53.194 Info HttpServer: HTTP GET http://access2.tpg:8096/Videos/24e314d3e66d998474df3e2de3c96f20/24e314d3e66d998474df3e2de3c96f20/Subtitles/undefined/Stream.vtt. Host=access2.tpg:42787, Connection=keep-alive, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager, Origin=file://, Accept=*/*, Accept-Encoding=gzip,deflate, Accept-Language=en-us,en
2018-12-09 12:27:53.196 Error HttpServer: Error processing request
*** Error Report ***
Version: 3.5.3.0
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 16
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.FormatException: Input string was not in a correct format.
   at ServiceStack.Text.StringSegmentExtensions.ParseSignedInteger(StringSegment value, Int64 maxValue, Int64 minValue)
   at ServiceStack.Text.Common.DeserializeBuiltin`1.<>c.<GetParseStringSegmentFn>b__7_5(StringSegment value)
   at ServiceStack.Text.Common.JsReader`1.<>c__DisplayClass4_0`1.<GetCoreParseStringSegmentFn>b__4(StringSegment value)
   at ServiceStack.Text.Jsv.JsvReader.<>c__DisplayClass2_0.<GetParseFn>b__0(String v)
   at Emby.Server.Implementations.Services.StringMapTypeDeserializer.PopulateFromMap(Object instance, IDictionary`2 keyValuePairs)
   at Emby.Server.Implementations.Services.RestPath.CreateRequest(String pathInfo, Dictionary`2 queryStringAndFormData, Object fromInstance)
   at Emby.Server.Implementations.Services.ServiceHandler.CreateRequest(IRequest httpReq, RestPath restPath, Dictionary`2 requestParams, Object requestDto)
   at Emby.Server.Implementations.Services.ServiceHandler.CreateRequest(HttpListenerHost host, IRequest httpReq, RestPath restPath, ILogger logger)
   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.FormatException
   at ServiceStack.Text.StringSegmentExtensions.ParseSignedInteger(StringSegment value, Int64 maxValue, Int64 minValue)
   at ServiceStack.Text.Common.DeserializeBuiltin`1.<>c.<GetParseStringSegmentFn>b__7_5(StringSegment value)
   at ServiceStack.Text.Common.JsReader`1.<>c__DisplayClass4_0`1.<GetCoreParseStringSegmentFn>b__4(StringSegment value)
   at ServiceStack.Text.Jsv.JsvReader.<>c__DisplayClass2_0.<GetParseFn>b__0(String v)
   at Emby.Server.Implementations.Services.StringMapTypeDeserializer.PopulateFromMap(Object instance, IDictionary`2 keyValuePairs)
   at Emby.Server.Implementations.Services.RestPath.CreateRequest(String pathInfo, Dictionary`2 queryStringAndFormData, Object fromInstance)
   at Emby.Server.Implementations.Services.ServiceHandler.CreateRequest(IRequest httpReq, RestPath restPath, Dictionary`2 requestParams, Object requestDto)
   at Emby.Server.Implementations.Services.ServiceHandler.CreateRequest(HttpListenerHost host, IRequest httpReq, RestPath restPath, ILogger logger)
   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)
 
2018-12-09 12:27:53.196 Info HttpServer: HTTP Response 500 to 65.30.196.61. Time: 2ms. http://access2.tpg:8096/Videos/24e314d3e66d998474df3e2de3c96f20/24e314d3e66d998474df3e2de3c96f20/Subtitles/undefined/Stream.vtt 
2018-12-09 12:27:53.582 Info HttpServer: HTTP GET http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/master.m3u8?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high. Host=access2.tpg:42787, Accept-Encoding=gzip, deflate, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager, Connection=Keep-Alive
2018-12-09 12:27:53.584 Info HttpServer: HTTP Response 200 to 65.30.196.61. Time: 3ms. http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/master.m3u8?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high 
2018-12-09 12:27:53.646 Info HttpServer: HTTP GET http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/main.m3u8?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high. Host=access2.tpg:42787, Accept-Encoding=gzip, deflate, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager, Connection=Keep-Alive
2018-12-09 12:27:53.658 Info HttpServer: HTTP Response 200 to 65.30.196.61. Time: 12ms. http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/main.m3u8?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high 
2018-12-09 12:27:54.073 Info HttpServer: HTTP GET http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/hls1/main/0.ts?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high. Host=access2.tpg:42787, Connection=close, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 12:27:54.075 Info App: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -f matroska,webm -i file:"Y:\Mission Impossible Fallout (2018)\Mission.Impossible.Fallout.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(oh*a/2)*2:min(max(iw/dar\,ih)\,720)" -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 13008199 -bufsize 26016398 -profile:v high -level 4.1 -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))" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 5 -ab 128000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\4b939897e88dd8458f3523186e2e054f.m3u8" -y "C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\4b939897e88dd8458f3523186e2e054f%d.ts"
2018-12-09 12:27:54.657 Info App: ffmpeg successfully started
2018-12-09 12:27:54.657 Info App: returning C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\4b939897e88dd8458f3523186e2e054f0.ts
2018-12-09 12:27:55.646 Info HttpServer: HTTP Response 200 to 65.30.196.61. Time: 1573ms (slow). http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/hls1/main/0.ts?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high 
2018-12-09 12:27:55.725 Info HttpServer: HTTP GET http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/hls1/main/1.ts?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high. Host=access2.tpg:42787, Connection=close, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 12:27:56.813 Info HttpServer: HTTP Response 200 to 65.30.196.61. Time: 1088ms (slow). http://access2.tpg:8096/videos/24e314d3e66d998474df3e2de3c96f20/hls1/main/1.ts?static =false&deviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f&mediaSourceId=24e314d3e66d998474df3e2de3c96f20&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high 
2018-12-09 12:27:56.893 Info HttpServer: HTTP POST http://access2.tpg:8096/sessions/playing/stopped. UserAgent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 12:27:56.895 Info HttpServer: HTTP Response 204 to 65.30.196.61. Time: 2ms. http://access2.tpg:8096/sessions/playing/stopped 
2018-12-09 12:27:56.905 Info HttpServer: HTTP POST http://access2.tpg:8096/sessions/playing/progress. UserAgent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 12:27:56.907 Info HttpServer: HTTP Response 204 to 65.30.196.61. Time: 2ms. http://access2.tpg:8096/sessions/playing/progress 
2018-12-09 12:27:56.988 Info HttpServer: HTTP DELETE http://access2.tpg:8096/Videos/ActiveEncodings?DeviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f. Host=access2.tpg:42787, Connection=keep-alive, Accept=application/json, text/javascript, */*; q=0.01, X-MediaBrowser-Token=9109916b04af45909e7b6ed66d941abc, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager, Authorization=MediaBrowser Client="screenplay", Device="LG Smart TV", DeviceId="e551a41b-a145-d641-7e15-cd3bc5ecd60f", Version="v1.2.1", UserId="6c2baaac7f0a4cc1942dcbeca348108f", Origin=file://theparadigmgrid.screenplay, Content-Type=application/json, Accept-Encoding=gzip,deflate, Accept-Language=en-us,en
2018-12-09 12:27:56.988 Info App: Stopping ffmpeg process with q command for C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\4b939897e88dd8458f3523186e2e054f.m3u8
2018-12-09 12:27:57.080 Info App: FFMpeg exited with code 0
2018-12-09 12:27:57.080 Info App: Deleting partial stream file(s) C:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\4b939897e88dd8458f3523186e2e054f.m3u8
2018-12-09 12:27:57.081 Info HttpServer: HTTP Response 204 to 65.30.196.61. Time: 93ms. http://access2.tpg:8096/Videos/ActiveEncodings?DeviceId=e551a41b-a145-d641-7e15-cd3bc5ecd60f 
 
 
New Server
 
2018-12-09 10:22:19.891 Info HttpServer: HTTP GET http://10.0.0.46:8096/users/e611c6f0cdc541d286948f35b892219a/views. UserAgent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 10:22:19.891 Info HttpServer: HTTP Response 200 to 10.0.0.31. Time: 0ms. http://10.0.0.46:8096/users/e611c6f0cdc541d286948f35b892219a/views
2018-12-09 10:22:19.922 Info HttpServer: HTTP GET http://10.0.0.46:8096/users/e611c6f0cdc541d286948f35b892219a/items?sortBy=dateplayed&sortOrder=descending&filters=IsResumable&recursive=true&includeItemTypes=movie,episode&limit=20&fields=sortname&imageTypeLimit=1&enableImageTypes=primary,thumb,backdrop&locationTypes=filesystem. UserAgent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 10:22:19.938 Info HttpServer: HTTP Response 200 to 10.0.0.31. Time: 16ms. http://10.0.0.46:8096/users/e611c6f0cdc541d286948f35b892219a/items?sortBy=dateplayed&sortOrder=descending&filters=IsResumable&recursive=true&includeItemTypes=movie,episode&limit=20&fields=sortname&imageTypeLimit=1&enableImageTypes=primary,thumb,backdrop&locationTypes=filesystem
2018-12-09 10:22:19.938 Info HttpServer: HTTP GET http://10.0.0.46:8096/users/e611c6f0cdc541d286948f35b892219a/items/latest?&limit=5&fields=sortname&parentId=f137a2dd21bbc1b99aa5c0f6bf02a805&imageTypeLimit=1&enableImageTypes=primary,thumb,backdrop&AddPlayedIndicator=true. UserAgent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 10:22:19.938 Info HttpServer: HTTP Response 200 to 10.0.0.31. Time: 0ms. http://10.0.0.46:8096/users/e611c6f0cdc541d286948f35b892219a/items/latest?&limit=5&fields=sortname&parentId=f137a2dd21bbc1b99aa5c0f6bf02a805&imageTypeLimit=1&enableImageTypes=primary,thumb,backdrop&AddPlayedIndicator=true
2018-12-09 10:22:19.984 Info HttpServer: HTTP GET http://10.0.0.46:8096/items/390/images/Backdrop?height=1080&width=&tag=bf311a09225d1b99293f1d494e470592&enableImageEnhancers=true&quality=90&percentPlayed=&addPlayedIndicator=false. UserAgent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-09 10:22:19.984 Info HttpServer: HTTP Response 200 to 10.0.0.31. Time: 0ms. http://10.0.0.46:8096/items/390/images/Backdrop?height=1080&width=&tag=bf311a09225d1b99293f1d494e470592&enableImageEnhancers=true&quality=90&percentPlayed=&addPlayedIndicator=false
Edited by kwilcox
Link to comment
Share on other sites

kwilcox

Ok, I see the error 500 return, but then screenplay tries the videos url again without the subtitles.  Does the new server not return the 500 error?  As can be seen, there isn't anything at all on the logs from the v3.6 server.

Link to comment
Share on other sites

Ok sorry i missed that log part was actually 3.5. i would need to see more logging from 3.6. thanks.

Link to comment
Share on other sites

kwilcox

Here's everything.  I shut down the server, cleared logs, restarted the server, connected with screenplay, then tried to play a movie.

embyserver.txt

Edited by kwilcox
Link to comment
Share on other sites

Ok,I think you will have to debug this from the app because i don't see any requests to indicate that playback was attempted. Please do that and I'll be here to help answer any questions. Thanks.

Link to comment
Share on other sites

kwilcox

I know, that's what's bugging me.  I'll trap the video request when it is sent to see if I'm still sending it.

 

edit: Its me.  I'm not sending the request to embyserver if its v3.6 for some reason.

Edited by kwilcox
Link to comment
Share on other sites

kwilcox

I was using the VideoType property = "VideoFile" and now VideoType appears to be undefined.  Your link is a bit ambiguous to me as to what I should be replacing this with also.  checking for all the listed properties (dvd, bluray, dvdiso, blurayiso, iso) also returns undefined

 

Edit:

 

Ok, looks like I have it sorted.  No longer checking the VideoFile property = 'VideoFile' before calling the api, and I also had to remove the parameter "MediaSourceID" from the /videos/ call (even though the swagger API says that MediaSourceID is a required parameter) because when it was there, Emby Server returned an error 500 "value cannot be null. Parameter name: mediaSource" .  Originally, I was setting MediaSourceID to the same value as the item ID so the value wasn't ever null.  I imagine this has something to do with the mediasource api which I'm not using.

 

It also looks like this version is compatible with emby server v3.5 as well so I can post the update immediately.  I've got more testing to do however...

Edited by kwilcox
Link to comment
Share on other sites

kwilcox

@Luke: Is transcoding working in this version?  I'm getting "error starting ffmpeg" when I try to initiate a transcoded stream.  ffmpeg.exe is where its supposed to be:

2018-12-09 17:26:24.584 Info HttpServer: HTTP GET http://10.0.0.46:8096/videos/306/live.m3u8?static =false&deviceId=f192e6b3-d95c-7684-4289-d4d2e36112d1&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high. Host=10.0.0.46:8096, Accept-Encoding=gzip, deflate, User-Agent=Mozilla/5.0 (Web0S; Linux i686) AppleWebKit/537.41 (KHTML, like Gecko) Large Screen WebAppManager Safari/537.41, Connection=Keep-Alive
2018-12-09 17:26:24.600 Info App: ProcessRun 'StreamTranscode 340f13' Execute: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -f matroska -i file:"Z:\Mission Impossible Fallout (2018)\Mission.Impossible.Fallout.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p  -maxrate 13008199 -bufsize 26016398 -preset veryfast -profile high -level 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:gte(t,n_forced*3)" -filter_complex "[0:0]scale=trunc(oh*a/2)*2:min(max(iw/dar\,ih)\,720)" -vsync -1 -codec:a:0 aac -strict experimental -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 5 -ab:a:0 128000  -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/0a4a4edb5924c9372f926b70d5d8117a/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\transcoding-temp\0a4a4edb5924c9372f926b70d5d8117a.m3u8" -y "C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata\transcoding-temp\0a4a4edb5924c9372f926b70d5d8117a%d.ts"
2018-12-09 17:26:24.606 Info App: ProcessRun 'StreamTranscode 340f13' Started.
2018-12-09 17:26:25.059 Info App: ProcessRun 'StreamTranscode 340f13' Process exited with code 1
2018-12-09 17:26:25.100 Error HttpServer: Error processing request
*** Error Report ***
Version: 3.6.0.76
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Exception: 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(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()
   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(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
 
2018-12-09 17:26:25.100 Info HttpServer: HTTP Response 500 to 10.0.0.31. Time: 517ms. http://10.0.0.46:8096/videos/306/live.m3u8?static =false&deviceId=f192e6b3-d95c-7684-4289-d4d2e36112d1&videoCodec=h264&audioCodec=aac&audioStreamIndex=1&videoBitrate=100000000&audioBitrate=128000&maxAudioChannels=5&maxHeight=720&level=41&clientTime=&profile=high
Edited by kwilcox
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...