FAQ  •  Register  •  Login

Serviio crashes on library scan.

<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Sun Sep 30, 2012 4:19 pm

Serviio crashes on library scan.

Hi,

Running the latest version on a headless ubuntu server. When I added a directory with media files nothing happened. After checking the logs I see the DAO fails.. When I force a library update after the initial one no more errors come up in the log but there is no media added neither. I'm guessing it marked the whole folder as checked the first time or something?

Here is my log:
http://paste.ubuntu.com/1252095/

Thanks
<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Mon Oct 01, 2012 9:10 am

Re: Serviio crashes on library scan.

No one knows? I'd like to test it all out before my evaluation period ends..
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Oct 01, 2012 10:01 am

Re: Serviio crashes on library scan.

Could you check your ffmpeg version ?
You have to use this version http://www.serviio.org/download
or latest ffmpeg build (take care of config library)
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Mon Oct 01, 2012 10:09 am

Re: Serviio crashes on library scan.

Hi,

I build it myself using this guide: http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
Instead of getting the latest ( only for ffmpeg itself ) from git I downloaded and used the source you linked.

When I tried checking the version I does fail with:
  Code:
ffmpeg: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory


So something must be wrong. It compiled and built perfectly.. strange. I tried removing it and installing the .deb I build over again but same result. I don't mind using the version from the ubuntu repo but then I would miss features right? ( Like the mediabrowser because of the rtmp missing? ) Any ideas?

dzan
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 01, 2012 4:05 pm

Re: Serviio crashes on library scan.

The DAO exception is weird and I've seen similar when the system shuts down. You shoud be able to force refresh though, the folder is not marked, it's the files that are marked.
<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Mon Oct 01, 2012 4:10 pm

Re: Serviio crashes on library scan.

Hi,

I fixed that one by manually copying the lib file that was built ( following the wiki ) to the /lib folder. After that everything "worked" but the video ( using both an android phone and the mediabrowser ) was terrible even on "medium". Purple spots & very blocky. The audio had these high frequency squeeks.

I figured something must have been wrong with the ffmpeg library and finally tried the one from the repository hoping that it would fix it. Now I can't even play video anymore... Uninstalled that one again and installed my custom build ffmpeg lib... still broke ( also tried restarting serviio ).

Basically I broke it good now. Is there something I should do when un(in)stalling ffmpeg to get it working again except from restarting?

Thx
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 01, 2012 4:19 pm

Re: Serviio crashes on library scan.

can you execute ffmpeg from command line? What is the output?
<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Mon Oct 01, 2012 4:22 pm

Re: Serviio crashes on library scan.

Sure;

ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 30 2012 17:25:32 with gcc 4.5.2
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Hyper fast Audio and Video encoder
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 01, 2012 11:03 pm

Re: Serviio crashes on library scan.

it looks good. The pixelated output you have is in MediaBrowser or on a DLNA device? If MB it might be down to Flash plugin - try to access it from a different (Windows?) PC.
<<

skshimer

Serviio newbie

Posts: 2

Joined: Thu Oct 04, 2012 2:18 pm

Post Thu Oct 04, 2012 2:41 pm

Re: Serviio crashes on library scan.

I have been trying to build FFmpeg on Ubuntu 10.04. My build also results in the error message
error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory.

This happens checking the version of rtmpdump or ffmpeg. Using find, I have located this library in three locations (all /usr/local/*) and added them to my $PATH. Still get the same error message.

I am am using the installation directions posted in the wiki (http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux) using the libRTMP, libmp3lame and FFmpeg source codes supplied on http://www.serviio.org/download. I am not sure of the recommended installation order since the other than adding a warning to http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux regarding the proper files to use the wiki has not been updated. I have tried to complete the installation by following the instructions through "Build and install libvpx" followed by installing the libRTMP source code, libmp3lame and finally FFmpeg.

I am assuming that the problem is occurring during the installation of librtmp since rtmpdump cannot find the librtmp.so.0.

Any help is greatly appreciated.

Thanks
<<

skshimer

Serviio newbie

Posts: 2

Joined: Thu Oct 04, 2012 2:18 pm

Post Thu Oct 04, 2012 9:31 pm

Re: Serviio crashes on library scan.

Nevermind!!

I finally got this all up and working today. I used the instructions outlined above but used the downloaded FFmpeg, lame and rtmpdump. One thing I noticed is that I needed to append my $PATH to include /usr/local/lib and used ldconfig after every step. I installed lame with default .configure, make and install from the downloaded source first, x264,libvpx as in the wiki instructions, rtmpdump from the download all the wiki instructions, and finally installed the downloaded ffmpeg source with the settings contained in the wiki. It works! I hope this helps anyone else having problems.

Best
<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Fri Oct 05, 2012 6:31 pm

Re: Serviio crashes on library scan.

Image

This is an example of what I get in the mediabrowser, on any system I tried so it can't be the flashplayer or something on the renderer. Any ideas? The sound is terrible too! When I use the original quality all is fine.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Oct 06, 2012 10:50 am

Re: Serviio crashes on library scan.

<<

dzan

Serviio newbie

Posts: 7

Joined: Sun Sep 30, 2012 4:08 pm

Post Sat Oct 06, 2012 11:25 am

Re: Serviio crashes on library scan.

zip wrote:maybe it's similar to this? viewtopic.php?f=5&t=7150&hilit=blue+flash&start=10#p52148


The serviio log does indeed say:
"Process ffmpeg has a return code of 137! This is a possible error."

But I tried uninstalling libvdpau and that didn't fix it. Also it's not a flash issue because the same happens streaming to my phone & such.
I'll best open a topic on the ubuntu forum too I think?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 07, 2012 12:36 pm

Re: Serviio crashes on library scan.

There shoulf be a .stf file in serviio temp directory created by the transcoder. Wait for ffmpeg to finish, then rename the file to .flv and try to play it in VLC - same result?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 37 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.