Jump to content

Position in Video not saving


djotaku
Go to solution Solved by djotaku,

Recommended Posts

CentOS 7

Emby server: Version 3.0.8500.0

Kodi with latest plugins

 

Unlike this issue I have having before https://emby.media/community/index.php?/topic/28353-progress-in-one-show-not-saving/ it knows that it is not completed - it gives you the option to start where you left off, but it will just start again from the beginning. It only affects newly added movies and TV shows. I've checked and movies and tv shows added a while ago work fine. The new ones don't.

 

I tried refreshing and that didn't seem to do anything. Also, interestingly, two of the affected videos have .nfo files and the third doesn't - but the info has to be there SOMEWHERE because if you look in Emby theatre it has all the actors, plot description, etc.

 

Thanks,

Link to comment
Share on other sites

Does the app display a known runtime? That could be one reason for this happening. Other than that be aware that by default once you cross 90 percent of the video then we just consider it fully watched.

Link to comment
Share on other sites

Ok, I would try refreshing one of the titles from the detail screen and see if that brings a runtime. If that resolves it for that title then we can help you that for whatever entire folders are missing runtimes. thanks.

Link to comment
Share on other sites

I hope to get to you with the actual logs momentarily. Just took a quick look to compare.nfo files and one of the ones that's not resuming does not have a <streamdetails> section. Both the mkvs that work and the mkvs  that don't are owned by root (as opposed to nobody or emby). The folders are owned by nobody with chmod 777 on them. I checked another TV show before hitting post and it's the same issue on that one. Same with the movie from which its missing.

 

How much of the log do you want? Just a log while I'm running a refresh?

Link to comment
Share on other sites

As I posted before on this forum, Emby-sever is always crashing for me so I've just amended the systemd to auto-restart when it crashes. So what you're looking for may or may not be in here.

 

If it's not in there, let me know what you'd like me to do - say do a refresh and then I can attach the current log. Also, let me know if I need to do a full refresh or just a "look for missing info" refresh.

 

Finally, looking back through TV shows, it seems to have happened since I updated to the latest Emby from an older version. So if something changed about file permissions or something, maybe that's what's going on. Is the "Sync user watch data to nfo's for:" relatively new?

 

I wrote all above, then tried to upload

 

Log is too big to upload.

Edited by djotaku
Link to comment
Share on other sites

OK. I think I found it. 

 

I tried a refresh while tail -f the log and got this:

2016-11-21 16:47:47.8538 Info MediaEncoder: Killing ffmpeg process 
2016-11-21 16:47:47.8545 Error App: Error in ffprobe
       *** Error Report ***
       Version: 3.0.8500.0
       Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
       Operating system: Unix 3.10.0.327
       Processor count: 1
       64-Bit OS: True
       64-Bit Process: True
       Program data path: /var/lib/emby-server
       Mono: 4.6.1 (Stable 4.6.1.5/ef43c15 Fri Oct 28 20:28:43 UTC 2016)
       Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
       Object reference not set to an instance of an object
       System.NullReferenceException
         at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>c__async2.MoveNext () [0x0021f] in <dd69af2c1c24424f8ffe3499205b95d3>:0  
       --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>c__async1.MoveNext () [0x00113] in <258623b9532143bcbd5f5b4639d5eb9a>:0  
       --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>c__async0`1[T].MoveNext () [0x00321] in <258623b9532143bcbd5f5b4639d5eb9a>:0  
       --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>c__async7[TItemType,TIdType].MoveNext () [0x000db] in <258623b9532143bcbd5f5b4639d5eb9a>:0  

2016-11-21 16:47:47.9073 Info MediaEncoder: Killing ffmpeg process
2016-11-21 16:47:47.9079 Error App: Error in ffprobe
       *** Error Report ***
       Version: 3.0.8500.0
       Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
       Operating system: Unix 3.10.0.327
       Processor count: 1
       64-Bit OS: True
       64-Bit Process: True
       Program data path: /var/lib/emby-server
       Mono: 4.6.1 (Stable 4.6.1.5/ef43c15 Fri Oct 28 20:28:43 UTC 2016)
       Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
       Object reference not set to an instance of an object
       System.NullReferenceException
         at MediaBrowser.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>c__async2.MoveNext () [0x0021f] in <dd69af2c1c24424f8ffe3499205b95d3>:0  
       --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<GetMediaInfo>c__async1.MoveNext () [0x00113] in <258623b9532143bcbd5f5b4639d5eb9a>:0  
       --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>c__async0`1[T].MoveNext () [0x00321] in <258623b9532143bcbd5f5b4639d5eb9a>:0  
       --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0  
         at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>c__async7[TItemType,TIdType].MoveNext () [0x000db] in <258623b9532143bcbd5f5b4639d5eb9a>:0 
Link to comment
Share on other sites

Just for giggles, I ran ffprobe manualy and got this:

ffprobe Finding\ Dory\ \(2016\)\ -\ 1080p.mkv  
ffprobe version 2.6.8 Copyright (c) 2007-2016 the FFmpeg developers
 built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
 configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fsta
ck-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-non
free --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --e
nable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable
-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
 libavutil      54. 20.100 / 54. 20.100
 libavcodec     56. 26.100 / 56. 26.100
 libavformat    56. 25.101 / 56. 25.101
 libavdevice    56.  4.100 / 56.  4.100
 libavfilter     5. 11.102 /  5. 11.102
 libavresample   2.  1.  0 /  2.  1.  0
 libswscale      3.  1.101 /  3.  1.101
 libswresample   1.  1.100 /  1.  1.100
 libpostproc    53.  3.100 / 53.  3.100
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 19 (Subtitle: hdmv_pgs_subtitle): unspecified size 
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 20 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 21 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 22 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 23 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 24 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 25 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
[matroska,webm @ 0x1b05b80] Could not find codec parameters for stream 26 (Subtitle: hdmv_pgs_subtitle): unspecified size                                                                                                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options                                                                                                                                                               
Input #0, matroska,webm, from 'Finding Dory (2016) - 1080p.mkv':                                                                                                                                                                              
 Metadata:
   title           : Finding Dory
   CREATION_TIME   : 2016-11-15T22:39:59Z
   DATE_RELEASED   : 2016
   ENCODER         : Lavf56.1.0
 Duration: 01:37:03.69, start: 0.000000, bitrate: 7195 kb/s
   Chapter #0:0: start 0.000000, end 156.073000
   Metadata:
     title           : Prologue
   Chapter #0:1: start 156.073000, end 410.160000
   Metadata:
     title           : Lost At Sea
   Chapter #0:2: start 410.160000, end 653.153000
   Metadata:
     title           : Life with Dory
   Chapter #0:3: start 653.153000, end 813.021000
   Metadata:
     title           : Losing Dory
   Chapter #0:4: start 813.021000, end 925.133000
   Metadata:
     title           : Dory Leads
   Chapter #0:5: start 925.133000, end 1023.314000
   Metadata:
     title           : Totally Sick
   Chapter #0:6: start 1023.314000, end 1175.466000
   Metadata:
     title           : Shipping Lanes
   Chapter #0:7: start 1175.466000, end 1295.294000
   Metadata:
     title           : Marine Life Institute
   Chapter #0:8: start 1295.294000, end 1498.706000
   Metadata:
     title           : Under Quarantine
   Chapter #0:9: start 1498.706000, end 1628.544000
   Metadata:
     title           : Getting In
   Chapter #0:10: start 1628.544000, end 1833.248000
   Metadata:
     title           : No Pipes
   Chapter #0:11: start 1833.248000, end 2100.098000
   Metadata:
     title           : Manifest Destiny
   Chapter #0:12: start 2100.098000, end 2272.020000
   Metadata:
     title           : Operation Becky
   Chapter #0:13: start 2272.020000, end 2417.999000
   Metadata:
     title           : Stroller Crossing
   Chapter #0:14: start 2417.999000, end 2466.673000
   Metadata:
     title           : Stuck
   Chapter #0:15: start 2466.673000, end 2550.423000
   Metadata:
     title           : Argument
   Chapter #0:16: start 2550.423000, end 2763.469000
   Metadata:
     title           : Touch Pool
   Chapter #0:17: start 2763.469000, end 2921.752000
   Metadata:
     title           : Confession
   Chapter #0:18: start 2921.752000, end 3027.900000
   Metadata:
     title           : Tag
   Chapter #0:19: start 3027.900000, end 3306.720000
   Metadata:
     title           : Childhood Home
   Chapter #0:20: start 3306.720000, end 3425.881000
   Metadata:
     title           : Pipe Travel
   Chapter #0:21: start 3425.881000, end 3641.388000
   Metadata:
     title           : Meeting Marlin
   Chapter #0:22: start 3641.388000, end 3872.744000
   Metadata:
     title           : Off to Cleveland
   Chapter #0:23: start 3872.744000, end 4236.816000
   Metadata:
     title           : All Alone
   Chapter #0:24: start 4236.816000, end 4348.344000
   Metadata:
     title           : Game Plan
   Chapter #0:25: start 4348.344000, end 4449.904000
   Metadata:
     title           : Stop That Truck
   Chapter #0:26: start 4449.904000, end 4706.535000
   Metadata:
     title           : Time To Go
   Chapter #0:27: start 4706.535000, end 5209.496000
   Metadata:
     title           : Big Finish
   Chapter #0:28: start 5209.496000, end 5823.610000
   Metadata:
     title           : Epilogue
   Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
   Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
   Metadata:
     title           : Surround
   Stream #0:2(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:3(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:4(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:5(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
   Metadata:
     title           : Stereo
   Stream #0:6(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
   Metadata:
     title           : Stereo
   Stream #0:7(fre): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:8(spa): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:9(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
   Metadata:
     title           : Stereo
   Stream #0:10(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:11(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:12(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:13(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:14(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
   Metadata:
     title           : Stereo
   Stream #0:15(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
   Metadata:
     title           : Stereo
   Stream #0:16(fre): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:17(spa): Audio: aac (LC), 48000 Hz, 5.1, fltp
   Metadata:
     title           : Surround
   Stream #0:18(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
   Metadata:
     title           : Stereo
   Stream #0:19(eng): Subtitle: hdmv_pgs_subtitle
   Stream #0:20(eng): Subtitle: hdmv_pgs_subtitle
   Stream #0:21(fre): Subtitle: hdmv_pgs_subtitle
   Stream #0:22(spa): Subtitle: hdmv_pgs_subtitle
   Stream #0:23(eng): Subtitle: hdmv_pgs_subtitle
   Stream #0:24(eng): Subtitle: hdmv_pgs_subtitle
   Stream #0:25(fre): Subtitle: hdmv_pgs_subtitle
   Stream #0:26(spa): Subtitle: hdmv_pgs_subtitle

That's from a Bluray I own and used MakeMKV and Handbrake on.

Edited by djotaku
Link to comment
Share on other sites

Here's one of the TV Shows having the issue. 

 

[root@babyluigi Season 20]# ffprobe South.Park.S20E08.HDTV.x264-FLEET.mkv                                                                                                                                                                     

ffprobe version 2.6.8 Copyright (c) 2007-2016 the FFmpeg developers
 built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
 configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fsta
ck-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-non
free --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --e
nable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable
-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
 libavutil      54. 20.100 / 54. 20.100
 libavcodec     56. 26.100 / 56. 26.100
 libavformat    56. 25.101 / 56. 25.101
 libavdevice    56.  4.100 / 56.  4.100
 libavfilter     5. 11.102 /  5. 11.102
 libavresample   2.  1.  0 /  2.  1.  0
 libswscale      3.  1.101 /  3.  1.101
 libswresample   1.  1.100 /  1.  1.100
 libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from 'South.Park.S20E08.HDTV.x264-FLEET.mkv':
 Metadata:
   encoder         : mkv2rls x264-tv version built on 2016.10.12
 Duration: 00:21:45.10, start: 0.000000, bitrate: 603 kb/s
   Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709/unknown/unknown), 720x404 [SAR 1:1 DAR 180:101], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
   Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)

So clearly ffprobe can run fine on my system....why is it crashing with Emby?

 

Unlike Finding Dory I got this one from "friends"

Edited by djotaku
Link to comment
Share on other sites

While waiting for a reply I went to one of the files causing issues and chmod 777 and chown emby:nobody - just in case. Didn't help.

Link to comment
Share on other sites

When the server starts up it usually prints a list of available encoders and decoders, right around this point:

2016-11-22 18:36:14.2047 Info MediaEncoder: FFMpeg: /var/lib/emby-server/ffmpeg/20150717/ffmpeg
2016-11-22 18:36:14.2047 Info MediaEncoder: FFProbe: /var/lib/emby-server/ffmpeg/20150717/ffprobe
2016-11-22 18:36:14.2047 Info MediaEncoder: Validating media encoder at /var/lib/emby-server/ffmpeg/20150717/ffmpeg
2016-11-22 18:36:14.2084 Info MediaEncoder: Running /var/lib/emby-server/ffmpeg/20150717/ffmpeg -decoders

Since none are appearing in your log, you either have a bad copy of ffmpeg or the server is having trouble executing it. you'll need to make sure the ffmpeg and ffprobe executables have execute permissions.

Link to comment
Share on other sites

Bad copy? I showed above that it was able to read the file when called alone.

# ls -lh /bin/ff*
-rwxr-xr-x. 1 root root 208K Apr 27  2016 /bin/ffmpeg
-rwxr-xr-x. 1 root root 115K Apr 27  2016 /bin/ffplay
-rwxr-xr-x. 1 root root 130K Apr 27  2016 /bin/ffprobe
-rwxr-xr-x. 1 root root 132K Apr 27  2016 /bin/ffserver

and

# ls -lh /usr/bin/ff*
-rwxr-xr-x. 1 root root 208K Apr 27  2016 /usr/bin/ffmpeg
-rwxr-xr-x. 1 root root 115K Apr 27  2016 /usr/bin/ffplay
-rwxr-xr-x. 1 root root 130K Apr 27  2016 /usr/bin/ffprobe
-rwxr-xr-x. 1 root root 132K Apr 27  2016 /usr/bin/ffserver

 

 

and

# rpm -qa ffmpeg
ffmpeg-2.6.8-3.el7.nux.x86_64

and this just appeared today, but it's so new that the dashboard still says I have the latest version:

# yum check-update
Loaded plugins: fastestmirror
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00     
elrepo                                                                                                                                                                                                                | 2.9 kB  00:00:00     
epel/x86_64/metalink                                                                                                                                                                                                  |  12 kB  00:00:00     
extras                                                                                                                                                                                                                | 3.4 kB  00:00:00     
home_emby                                                                                                                                                                                                             | 1.2 kB  00:00:00     
nux-dextop                                                                                                                                                                                                            | 2.9 kB  00:00:00     
updates                                                                                                                                                                                                               | 3.4 kB  00:00:00     
(1/2): home_emby/primary                                                                                                                                                                                              |  41 kB  00:00:00     
(2/2): nux-dextop/x86_64/primary_db                                                                                                                                                                                   | 1.6 MB  00:00:01     
Loading mirror speeds from cached hostfile
 * base: mirror.vtti.vt.edu
 * elrepo: repos.ord.lax-noc.com
 * epel: mirror.us.leaseweb.net
 * extras: centos.chi.host-engine.com
 * nux-dextop: mirror.li.nux.ro
 * updates: chicago.gaminghost.co
home_emby                                                                                                                                                                                                                              34/34

emby-server.x86_64                                                                                                  3.0.8500-89.1                                                                                                   home_emby

Please let me know what I need to do to make this work again.

Link to comment
Share on other sites

Oh, the thing you said should be happening is happening  - here's the logs from when I just restarted now after the update.

 

It starts with:


2016-11-23 20:58:57.3712 Info Main: Emby
        Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
        Operating system: Unix 3.10.0.327
        Processor count: 1
        64-Bit OS: True
        64-Bit Process: True
        Program data path: /var/lib/emby-server
        Mono: 4.6.1 (Stable 4.6.1.5/ef43c15 Fri Oct 28 20:28:43 UTC 2016)
        Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
2016-11-23 20:58:57.9800 Info App: Application version: 3.0.8500.0

then after a bunch of lines it has:

2016-11-23 20:59:05.0876 Info MediaEncoder: FFMpeg: /var/lib/emby-server/ffmpeg/20150717/ffmpeg
2016-11-23 20:59:05.0876 Info MediaEncoder: FFProbe: /var/lib/emby-server/ffmpeg/20150717/ffprobe
2016-11-23 20:59:05.0876 Info MediaEncoder: Validating media encoder at /var/lib/emby-server/ffmpeg/20150717/ffmpeg
2016-11-23 20:59:05.0912 Info MediaEncoder: Running /var/lib/emby-server/ffmpeg/20150717/ffmpeg -decoders
2016-11-23 20:59:05.1572 Info MediaEncoder: Running /var/lib/emby-server/ffmpeg/20150717/ffmpeg -encoders
2016-11-23 20:59:05.1879 Info MediaEncoder: Encoder validation complete

 

Link to comment
Share on other sites

Dunno if this means anything, but:


# /var/lib/emby-server/ffmpeg/20150717/ffprobe /media/xbmc/tv\ shows/Westworld\ \(2016\)/Season\ 1/Westworld.S01E08.720p.HDTV.x264-AVS.mkv
Segmentation fault
Link to comment
Share on other sites

It's happening but it should look more like this

2016-11-23 23:08:33.3654 Info MediaEncoder: FFMpeg: C:\dev\Emby.dev\ProgramData-Server\ffmpeg\20160410\ffmpeg.exe
2016-11-23 23:08:33.3654 Info MediaEncoder: FFProbe: C:\dev\Emby.dev\ProgramData-Server\ffmpeg\20160410\ffprobe.exe
2016-11-23 23:08:33.3654 Info MediaEncoder: Validating media encoder at C:\dev\Emby.dev\ProgramData-Server\ffmpeg\20160410\ffmpeg.exe
2016-11-23 23:08:33.3654 Info MediaEncoder: Running C:\dev\Emby.dev\ProgramData-Server\ffmpeg\20160410\ffmpeg.exe -decoders
2016-11-23 23:08:33.3959 Info MediaEncoder: Decoder available: h264_qsv
2016-11-23 23:08:33.3959 Info MediaEncoder: Decoder available: mpeg2_qsv
2016-11-23 23:08:33.3959 Info MediaEncoder: Decoder available: vc1_qsv
2016-11-23 23:08:33.3969 Info MediaEncoder: Running C:\dev\Emby.dev\ProgramData-Server\ffmpeg\20160410\ffmpeg.exe -encoders
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libx264
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libx265
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: mpeg4
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: msmpeg4
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libvpx
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libvpx-vp9
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: aac
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libmp3lame
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libopus
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: libvorbis
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: srt
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder available: h264_qsv
2016-11-23 23:08:33.4184 Info MediaEncoder: Encoder validation complete
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...