Jump to content

'There was an error playing the video' on blu-ray titles


Chorca

Recommended Posts

Hey everyone. Just updated to the latest (3.0.5781.0) and I'm having an issue playing back certain blu-ray folder-structure video files on the web-client. This is via HTTPS, and Chrome 46.

 

Upon playback, the video attempts to start, transcoding commences, but the video stream never begins playback.

 

I extracted the app command that fires up transcoding from the debug log and executed it outside of Emby to make sure it would run, and it dutifully will transcode for a long period of time, generating the proper files. It seems that there is an issue in serving and playing the files to the browser. Only certain titles are affected though, so it seems that it is more playback.

 

Looking at the server file, it appears that it begins transcoding properly, and then receives a 'Stop' command from the player, which it obeys, killing off the transcode and deleting the files.

 

Looking at the browser during this issue:

all.js?v=3.0.5781.0:358 Requesting url without automatic networking: https://chorca.com:9001/emby/Playback/BitrateTest?Size=1000000
all.js?v=3.0.5781.0:358 Requesting url without automatic networking: https://chorca.com:9001/emby/Playback/BitrateTest?Size=2400000
all.js?v=3.0.5781.0:358 Max bitrate auto detected to 9056604
all.js?v=3.0.5781.0:358 event.trigger settingupdated
all.js?v=3.0.5781.0:358 Requesting url without automatic networking: https://chorca.com:9001/emby/Items/595dd1f31d88ba9e68ce36d53e56a07c/PlaybackInfo?UserId=03fe888f24ce44b9969d88c4bf0b27c2&StartTimeTicks=0
all.js?v=3.0.5781.0:358 event.trigger beforeplaybackstart
all.js?v=3.0.5781.0:358 Setting new text track index to: -1
all.js?v=3.0.5781.0:358 Media element error code: 4
all.js?v=3.0.5781.0:358 playback stopped
all.js?v=3.0.5781.0:358 event.trigger playbackstop
all.js?v=3.0.5781.0:358 Requesting url without automatic networking: https://chorca.com:9001/emby/Sessions/Playing/Stopped
all.js?v=3.0.5781.0:358 nowplaying event: playbackstop
all.js?v=3.0.5781.0:358 event.trigger websocketmessage
vulcanize-out.html?v=3.0.5781.0:9388 paper-dialog:  not found!
all.js?v=3.0.5781.0:358 event.trigger websocketmessage

It appears that the browser player experiences a playback error and halts playback.

 

Quick post of the m3u8 file that gets sent:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:3.003000,
d83613eecc876e1b0b59bd82cc5784790.ts
#EXTINF:3.003000,
d83613eecc876e1b0b59bd82cc5784791.ts
#EXTINF:1.209544,
d83613eecc876e1b0b59bd82cc5784792.ts
#EXT-X-ENDLIST

Is it picking an improper list? It seems to transcode for a long time when running the app outside Emby, many minutes pass and many files are generated.

 

Attached are the server and transcode files showing a server start, the playback being initiated, and the playback erroring out.

 

server-63582082395.txt

transcode-26528689-1c86-4cd4-a7af-6ee4be352384.txt

Link to comment
Share on other sites

The answer is that when trying to transcode bluray folder rips (or dvd), we consider this capability experimental at best. It is not going to work with every title.

Link to comment
Share on other sites

Mine are not DVD they are MP4 with AC3 2.0 or 5.1

 

Right, what i'm saying is, you came into this thread and said "me too", without even really looking at it. This is completely different from what you are talking about :)

Link to comment
Share on other sites

SHSPVR
Luke, on 02 Nov 2015 - 8:06 PM, said:Luke, on 02 Nov 2015 - 8:06 PM, said:Luke, on 02 Nov 2015 - 8:06 PM, said:

Right, what i'm saying is, you came into this thread and said "me too", without even really looking at it. This is completely different from what you are talking about :)

I can't del the posted here and put where it need go which was goof up.

It would be nice if the forum had any option to del are own post luke.

Del my post

Edited by SHSPVR
Link to comment
Share on other sites

Did a bit more digging.

 

It seems the stream analyzer is incorrectly analyzing the audio streams, and is calling ffmpeg with an invalid stream mapping. This is leaving the output .ts files with no audio stream, which it seems viblast player chokes on and kills the streaming.

 

Excerpt from the generated ffmpeg command:

-map 0:0 -map 0:9 -map -0:s

However, the audio streams ffmpeg report do not correspond to that mapping:

Duration: 02:18:02.24, start: 11.650667, bitrate: 46172 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 6.1, fltp
    Stream #0:2[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:4[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:5[0x1104]: Audio: dts (DTS) ([130][0][0][0] / 0x0082), 48000 Hz, 5.1(side), fltp, 768 kb/s
    Stream #0:6[0x1105]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:7[0x1106]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:8[0x1107]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 224 kb/s
    Stream #0:9[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
    Stream #0:10[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080

Selecting a different audio stream will enable the file to function correctly, but the stream numbering appears to be shifted. The dropdown in the audio shows stream 0:1 selected, when actually it appears that a different stream is playing. This may be another symptom of the incorrect mapping.

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...