Jump to content

Latest Version Fails To Play Back Video


gcoupe

Recommended Posts

Version 3.0.0.151 fails when playing back some TV recordings, e.g:
 
Sequence: 339
Date/time: 2014-11-10T21:20:17.3770802+00:00
Level: ERROR
Thread: 3
Logger: PlaybackService
------------------------
S01E01 - Tutankhamun - the Truth Uncovered : Media Failed Error: Windows.UI.Xaml.ExceptionRoutedEventArgs
------------------------
Session: {"PackageArchitecture":"Neutral","PackageFullName":"436337Illusions.com.MediaBrowser_3.0.0.151_neutral__77hd5e1v1hqs4","PackagePublisher":"CN=CA9FBA89-9B8C-4501-9177-37B89E41D3FF","PackagePublisherId":"77hd5e1v1hqs4","PackageResourceId":"","PackageVersion":"3.0.0.151","InstallationId":"9b5e869a-c7e1-4a80-a98d-867c1668186e"}
 

I get a message "The video failed to play" on the screen. This is on my Desktop PC.
 
Some recordings play back OK. They all play OK when using the Web client on the Desktop PC.

 

They also play back OK using the App on a Windows Tablet (ThinkPad 10).

This is with server version 3.0.5424.1

Edited by gcoupe
Link to comment
Share on other sites

Yes, same version on both... On the tablet, if I swipe up while the video is playing, I see the following info displayed:

unknown h264 stereo mp2  and Playback: Direct.

Link to comment
Share on other sites

7illusions

Do you have any codec-packs installed on the desktop machine?

Can you get me a serverlog of the playback commands for them both? (I just need the play-command, to see if they have the same argument)

Also, do you have the same streaming settrings in both apps?

Link to comment
Share on other sites

I have MBT installed on the desktop machine - so if that has codec packs included, then that is a difference between the two. Also, the desktop machine has the Windows Media Pack for Windows 8.1 Pro installed in order to give me WMC. The tablet does not have this.

 

I've included a serverlog covering the time when I played back the same video to both machines (at around 09:42 today, 11/11): http://paste2.org/dZ2VC9UD I've included the whole thing, because I couldn't distinguish the Play commands from the mass of data, sorry...

 

Same streaming settings in both apps: Max.

Link to comment
Share on other sites

BTW, I've just noticed that I've got an error in the DLNA profile for my Network Audio device. I think it's because the parser is case-sensitive: I had <Identification>...</identification>. I've changed the case so that both strings now match...

Link to comment
Share on other sites

  • 2 weeks later...
techywarrior

So, finally have the new server version working, and hence the Win8 app working again, and I ran into an issue where one of my videos won't play. The file plays fine in Scott's WP app as an FYI. When it fails it both displays the spinning indicator as well as the "this video failed to play" so that is a separate bug to check out.

 

Here is the transcode log where it failed (not even sure why the AVI is requiring transcoding)

/mnt/appdisk/mb3server/ProgramData-Server/ffmpeg/20140716/ffmpeg -fflags +genpts -i file:"/mnt/user/Adult/Discipline/Discipline - Ep4.avi" -map_metadata -1 -threads 2 -sn -codec:v:0 libx264 -preset superfast -crf 23 -maxrate 7180000 -bufsize 14360000 -vsync vfr -profile:v Baseline -force_key_frames expr:gte(t,n_forced*6) -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 8 -ab 320000 -af "adelay=1,aresample=async=1" -hls_time 6 -start_number 0 -hls_list_size 1440 -hls_base_url "hls/096d2df18ee7f2f2f98a96b289929cf5/" -y "/mnt/appdisk/mb3server/ProgramData-Server/transcoding-temp/096d2df18ee7f2f2f98a96b289929cf5.m3u8"


ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 31 2014 05:16:04 with gcc 4.6 (Debian 4.6.3-1)
  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 66.101 / 55. 66.101
  libavformat    55. 43.100 / 55. 43.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  8.100 /  4.  8.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'file:/mnt/user/Adult/Discipline/Discipline - Ep4.avi':
  Duration: 00:27:46.96, start: 0.000000, bitrate: 1083 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 896 kb/s, 23.97 fps, 23.97 tbr, 23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 22050 Hz, 2 channels, s16, 176 kb/s
[libx264 @ 0x9c11f00] using SAR=1/1
[libx264 @ 0x9c11f00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x9c11f00] profile Constrained Baseline, level 3.2
[aac @ 0x9c28ca0] Unsupported number of channels: 8
Output #0, hls, to '/mnt/appdisk/mb3server/ProgramData-Server/transcoding-temp/096d2df18ee7f2f2f98a96b289929cf5.m3u8':
    Stream #0:0: Video: h264 (libx264), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, max. 7180 kb/s, 23.97 fps, 90k tbn, 23.97 tbc
    Metadata:
      encoder         : Lavc55.66.101 libx264
    Stream #0:1: Audio: aac, 0 channels, 128 kb/s
    Metadata:
      encoder         : Lavc55.66.101 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (adpcm_ms (native) -> aac (aac))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

And here is a successful transcode log from playing in in the WP app

/mnt/appdisk/mb3server/ProgramData-Server/ffmpeg/20140716/ffmpeg -fflags +genpts -i file:"/mnt/user/Adult/Discipline/Discipline - Ep4.avi" -sn -vcodec libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,720):trunc(ow/dar/2)*2" -preset superfast -crf 23 -maxrate 620000 -bufsize 1240000 -vsync vfr -profile:v baseline -level 3 -map_metadata -1 -threads 2 -acodec aac -strict experimental -ac 2 -ab 96000 -af "aresample=async=1" -f mp4 -movflags frag_keyframe+empty_moov -y "/mnt/appdisk/mb3server/ProgramData-Server/transcoding-temp/3c32a08f449db9241b60d21a64a590fa.mp4"


ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 31 2014 05:16:04 with gcc 4.6 (Debian 4.6.3-1)
  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 66.101 / 55. 66.101
  libavformat    55. 43.100 / 55. 43.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  8.100 /  4.  8.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'file:/mnt/user/Adult/Discipline/Discipline - Ep4.avi':
  Duration: 00:27:46.96, start: 0.000000, bitrate: 1083 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 896 kb/s, 23.97 fps, 23.97 tbr, 23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 22050 Hz, 2 channels, s16, 176 kb/s
[libx264 @ 0x9c27aa0] using SAR=1/1
[libx264 @ 0x9c27aa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x9c27aa0] profile Constrained Baseline, level 3.0
[libx264 @ 0x9c27aa0] 264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x1 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=2 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=620 vbv_bufsize=1240 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/mnt/appdisk/mb3server/ProgramData-Server/transcoding-temp/3c32a08f449db9241b60d21a64a590fa.mp4':
  Metadata:
    encoder         : Lavf55.43.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, max. 620 kb/s, 23.97 fps, 19176 tbn, 23.97 tbc
    Metadata:
      encoder         : Lavc55.66.101 libx264
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 22050 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc55.66.101 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (adpcm_ms (native) -> aac (aac))
Press [q] to stop, [?] for help
frame=  159 fps=0.0 q=28.0 size=     540kB time=00:00:07.15 bitrate= 618.6kbits/s    
frame=  351 fps=351 q=17.0 size=    1127kB time=00:00:15.13 bitrate= 609.6kbits/s    
frame=  548 fps=365 q=27.0 size=    1845kB time=00:00:23.35 bitrate= 647.0kbits/s    
frame=  732 fps=366 q=21.0 size=    2722kB time=00:00:31.06 bitrate= 717.7kbits/s    
frame=  930 fps=372 q=28.0 size=    3452kB time=00:00:39.28 bitrate= 719.7kbits/s    
frame= 1115 fps=371 q=24.0 size=    4024kB time=00:00:46.99 bitrate= 701.4kbits/s    
frame= 1292 fps=369 q=25.0 size=    4482kB time=00:00:54.42 bitrate= 674.6kbits/s    
frame= 1465 fps=366 q=29.0 size=    5352kB time=00:01:01.62 bitrate= 711.5kbits/s    
frame= 1649 fps=366 q=25.0 size=    5794kB time=00:01:09.24 bitrate= 685.5kbits/s    
frame= 1827 fps=365 q=25.0 size=    6665kB time=00:01:16.71 bitrate= 711.7kbits/s    
frame= 2002 fps=364 q=24.0 size=    7109kB time=00:01:24.00 bitrate= 693.2kbits/s    
frame= 2182 fps=363 q=26.0 size=    8004kB time=00:01:31.48 bitrate= 716.7kbits/s    
frame= 2376 fps=365 q=30.0 size=    8721kB time=00:01:39.61 bitrate= 717.2kbits/s    
frame= 2559 fps=365 q=29.0 size=    9313kB time=00:01:47.18 bitrate= 711.8kbits/s    
frame= 2778 fps=370 q=18.0 size=    9963kB time=00:01:56.37 bitrate= 701.3kbits/s    
frame= 3021 fps=377 q=15.0 size=   10456kB time=00:02:06.45 bitrate= 677.3kbits/s    
frame= 3196 fps=375 q=24.0 size=   10931kB time=00:02:13.74 bitrate= 669.5kbits/s    
frame= 3381 fps=375 q=17.0 size=   11789kB time=00:02:21.54 bitrate= 682.3kbits/s    
frame= 3571 fps=375 q=21.0 size=   12273kB time=00:02:29.39 bitrate= 673.0kbits/s    
frame= 3645 fps=376 q=-1.0 Lsize=   12872kB time=00:02:32.64 bitrate= 690.8kbits/s    
video:11038kB audio:1796kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.299305%
[libx264 @ 0x9c27aa0] frame I:54    Avg QP:18.65  size: 20646
[libx264 @ 0x9c27aa0] frame P:3591  Avg QP:21.42  size:  2837
[libx264 @ 0x9c27aa0] mb I  I16..4: 30.5%  0.0% 69.5%
[libx264 @ 0x9c27aa0] mb P  I16..4:  5.5%  0.0%  1.2%  P16..4: 39.7%  0.0%  0.0%  0.0%  0.0%    skip:53.6%
[libx264 @ 0x9c27aa0] coded y,uvDC,uvAC intra: 26.9% 49.1% 12.6% inter: 9.2% 11.4% 0.7%
[libx264 @ 0x9c27aa0] i16 v,h,dc,p: 56% 23% 17%  4%
[libx264 @ 0x9c27aa0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 19% 18%  7%  4%  4%  3%  5%  4%
[libx264 @ 0x9c27aa0] i8c dc,h,v,p: 40% 22% 29%  9%
[libx264 @ 0x9c27aa0] kb/s:594.59

Link to comment
Share on other sites

techywarrior

Thanks. I hope my server issues are sorted out so I don't have to start over again for the next update :) I'll test again with the next beta server and confirm if fixed. (or more likely I'll post here if it's not fixed. lol)

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