Jump to content

iOS app and Safari cannot play video


oldschool

Recommended Posts

oldschool

I'm getting the following in my server logs:

 

2014-05-15 09:05:44.5960 Info - App: C:\Users\myserver\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140304\ffmpeg.exe -fflags genpts -i file:"\\myserver-FILESERVE\public\Video\TV Shows\Baby Daddy\Season 3\Baby Daddy - S03E17 - Flirty Dancing.mkv" -map 0:0 -map 0:1 -map -0:s -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=min(iw\,1280):trunc(ow/a/2)*2" -preset ultrafast -crf 23 -maxrate 1372000 -bufsize 2744000 -r 23.97602 -vsync vfr -map_metadata -1 -threads 2 -acodec aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1,volume=2" -f mp4 -movflags frag_keyframe+empty_moov "C:\Users\myserver\AppData\Roaming\MediaBrowser-Server\transcoding-temp\5c41d6da-f2a9-387d-25e4-113076d706ba.mp4"
2014-05-15 09:05:47.0311 Error - App: Error streaming media
    The specified network name is no longer available
    System.Net.HttpListenerException
       at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)
       at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult)
       at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext()
    
2014-05-15 09:05:48.0382 Info - App: Killing ffmpeg process for C:\Users\myserver\AppData\Roaming\MediaBrowser-Server\transcoding-temp\5c41d6da-f2a9-387d-25e4-113076d706ba.mp4
2014-05-15 09:05:48.0542 Info - App: FFMpeg exited with code -1
2014-05-15 09:05:48.0542 Info - App: Deleting partial stream file(s) C:\Users\myserver\AppData\Roaming\MediaBrowser-Server\transcoding-temp\5c41d6da-f2a9-387d-25e4-113076d706ba.mp4

 

 

What I see on my iphone is that MB3 attempts to play the file for about 30 seconds, and then it seems to timeout and give the error:  The operation could not be completed.

 

Also, when I use Safari, when you enter the episode page and hit the play button, the loading icon continues to spin, and it doesn't stop. To deal with it, you push the play button in the big window, and it takes you to the native player, but that's what's causing the error you see above.

Edited by oldschool
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...