FAQ  •  Register  •  Login

Serviio server on WD My Book Live

<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Thu Dec 29, 2011 12:20 am

Re: Serviio server on WD My Book Live

Cerberus wrote:run

  Code:
apt-get install sun-java6-jdk




I'm getting stuck here on installing this on my MyBook Live, I had some public key issues when running the apt-get update that I got around. I'm still getting errors when running the first line:
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate


I tried to install the jre, got a different error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sun-java6-jre: Depends: sun-java6-bin (= 6-26-0lenny1) but it is not installable or
ia32-sun-java6-bin (= 6-26-0lenny1) but it is not installable
E: Broken packages


I've been playing with the sources file, using nano /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.us.debian.org/debian/ lenny main non-free contrib
deb http://mirrors.usc.edu/pub/linux/distributions/debian/ lenny main
deb-src http://mirrors.usc.edu/pub/linux/distributions/debian/ lenny main
deb http://security.debian.org lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://ftp.us.debian.org/debian/ squeeze main non-free contrib
#deb http://ftp.us.debian.org/debian/ sid main
#deb http://ftp.us.debian.org/debian/ experimental main


Any help would be appreciated.

Dan
<<

jc_slig

Serviio newbie

Posts: 9

Joined: Mon Dec 26, 2011 1:27 am

Post Thu Dec 29, 2011 6:32 pm

Re: Serviio server on WD My Book Live

I got the FFMpeg package installed after much learning!

Now I get the below error, any ideas what could be the issue.
I needed to mount a new /tmp directory to get FFMpeg installed so there is lots of space there.


2011-12-28 23:44:54,846 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 306c80f3-42e6-3623-a1a8-0ea1200a0acf from 192.168.1.162 (headers = [Host: 192.168.1.163:8895,Date: Thu, 29 Dec 2011 18:12:20 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40EX713";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40EX713"; mv="1.7";])
2011-12-28 23:44:54,849 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.162
2011-12-28 23:44:54,859 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [Host: 192.168.1.163:8895,Date: Thu, 29 Dec 2011 18:12:20 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40EX713";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40EX713"; mv="1.7";]
2011-12-28 23:44:54,881 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.162
2011-12-28 23:44:54,904 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Sony Bravia TV'
2011-12-28 23:44:54,944 DEBUG [WebServer] Incoming connection from /192.168.1.162:42165
2011-12-28 23:44:54,952 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ConnectionManager
2011-12-28 23:44:54,959 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-12-28 23:44:55,002 DEBUG [WebServer] Incoming connection from /192.168.1.162:42166
2011-12-28 23:44:55,010 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ContentDirectory
2011-12-28 23:44:55,018 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-12-28 23:44:55,092 DEBUG [WebServer] Incoming connection from /192.168.1.162:42167
2011-12-28 23:44:55,101 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from 192.168.1.162:
2011-12-28 23:44:55,103 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.162
2011-12-28 23:44:55,165 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-12-28 23:44:55,183 DEBUG [WebServer] Incoming connection from /192.168.1.162:42168
2011-12-28 23:44:55,192 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"' from 192.168.1.162:
2011-12-28 23:44:55,193 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.162
2011-12-28 23:44:55,235 DEBUG [ConnectionManager] Sending protocol info using profile 'Sony Bravia TV'
2011-12-28 23:44:55,773 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-12-28 23:44:57,285 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
2011-12-28 23:44:59,310 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2011-12-28 23:45:01,914 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:InternetGatewayDevice:1 from address /192.168.1.139:58737
2011-12-28 23:45:04,914 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:InternetGatewayDevice:1 from address /192.168.1.139:58737
^C


Output of FFMpeg below, any help would be appreciated.

MyBookLive:~# ffmpeg -i "/shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi" -y -threads 1 -vcodec mpeg2video -b 17000k -maxrate 17000k -bufsize 5097k -r 24000/1001 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-125-MPEG2TS.stf
ffmpeg version git-2011-12-28-7e5cbb3, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 28 2011 07:21:42 with gcc 4.4.5
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. 33.100 / 51. 33.100
libavcodec 53. 48.100 / 53. 48.100
libavformat 53. 28.100 / 53. 28.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 55.100 / 2. 55.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 5.100
libpostproc 51. 2.100 / 51. 2.100
Input #0, avi, from '/shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi':
Metadata:
encoder : transcode-1.0.4
Duration: 01:12:19.44, start: 0.000000, bitrate: 1353 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x1101cb20] w:624 h:352 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[mpeg2video @ 0x110331e0] impossible bitrate constraints, this will fail
[ac3 @ 0x110364c0] channel_layout not specified
[ac3 @ 0x110364c0] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[mpegts @ 0x11025190] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-125-MPEG2TS.stf':
Metadata:
encoder : Lavf53.28.100
Stream #0:0: Video: mpeg2video, yuv420p, 624x352 [SAR 1:1 DAR 39:22], q=2-31, 17000 kb/s, 90k tbn, 23.98 tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 -> mpeg2video)
Stream #0:1 -> #0:1 (mp3 -> ac3)
Press [q] to stop, [?] for help
Illegal instruction
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Fri Dec 30, 2011 7:50 am

Re: Serviio server on WD My Book Live

I haven't made it as far as you yet, but makeing progress finally.
Went with OpenJDK6 for java
Got the serviio installed and according the log it's running. Got it installed as a service. Checked log file and it's running.
According to my blueray player the server is up.

So now how do I manage it. Launching the console through SSH didn't work. I've downloaded the OSX console app to my 10.5.8 macbook pro, edited the contents of the info.plist to point it to the ip address of the server, and it gives an error that "Cannot connect to Serviio Server, it does not seem to be running. Exiting"

What should I do? Below is the start of that info.plist file.

  Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>remoteHost</key>
   <string>192.168.1.4</string>
   <key>CFBundleName</key>
   <string>Serviio-Console</string>
   <key>CFBundleShortVersionString</key>
   <string>0.6.0.1</string>
   <key>CFBundleGetInfoString</key>
   <string>0.6.0.1 (c) 2009 - 2011 Petr Nejedly</string>
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Dec 30, 2011 9:27 am

Re: Serviio server on WD My Book Live

Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

jc_slig

Serviio newbie

Posts: 9

Joined: Mon Dec 26, 2011 1:27 am

Post Fri Dec 30, 2011 2:14 pm

Re: Serviio server on WD My Book Live

Below is a more detailed output when running ffmpeg command.
Any ideas on this?

ffmpeg -i /shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi -y -threads 1 -vcodec mpeg2video -b 17000k -maxrate 7000k -bufsize 5097k -r 24000/1001 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /shares/transcoding-temp-77-MPEG2TS.stf -lglevel debug -report
ffmpeg started on 2011-12-29 at 19:44:11
Report written to "ffmpeg-20111229-194411.log"
ffmpeg version git-2011-12-28-7e5cbb3, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 28 2011 07:21:42 with gcc 4.4.5
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-lbvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 51. 33.100 / 51. 33.100
libavcodec 53. 48.100 / 53. 48.100
libavformat 53. 28.100 / 53. 28.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 55.100 / 2. 55.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 5.100
libpostproc 51. 2.100 / 51. 2.100
[avi @ 0x11015360] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x11015860] use odml:1
st:0 removing common factor 8 from timebase
st:1 removing common factor 384 from timebase
[mpeg4 @ 0x1101b5c0] err{or,}_recognition separate: 1; 1
[mpeg4 @ 0x1101b5c0] err{or,}_recognition combined: 1; 10001
[mp3 @ 0x1101c060] err{or,}_recognition separate: 1; 1
[mp3 @ 0x1101c060] err{or,}_recognition combined: 1; 10001
[avi @ 0x11015360] All info found
Input #0, avi, from '/shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi':
Metadata:
encoder : transcode-1.0.4
Duration: 01:12:19.44, start: 0.000000, bitrate: 1353 kb/s
Stream #0:0, 1, 125000/2997003: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 1001/24000, 23.9 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1, 1, 3/125: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x1101d2e0] w:624 h:352 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[mpeg2video @ 0x1102aa40] err{or,}_recognition separate: 1; 1
[mpeg2video @ 0x1102aa40] err{or,}_recognition combined: 1; 10001
[mpeg2video @ 0x1102aa40] impossible bitrate constraints, this will fail
[mpeg2video @ 0x1102aa40] intra_quant_bias = 96 inter_quant_bias = 0
[mpeg2video @ 0x1102aa40] Unsupported bit depth: 0
[ac3 @ 0x11012ae0] err{or,}_recognition separate: 1; 1
[ac3 @ 0x11012ae0] err{or,}_recognition combined: 1; 10001
[ac3 @ 0x11012ae0] channel_layout not specified
[ac3 @ 0x11012ae0] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[ac3 @ 0x11012ae0] Unsupported bit depth: 0
[mpeg4 @ 0x1101b5c0] err{or,}_recognition separate: 1; 10001
[mpeg4 @ 0x1101b5c0] err{or,}_recognition combined: 1; 10001
[mp3 @ 0x1101c060] err{or,}_recognition separate: 1; 10001
[mp3 @ 0x1101c060] err{or,}_recognition combined: 1; 10001
[mpegts @ 0x1102a370] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/shares/transcoding-temp-77-MPEG2TS.stf':
Metadata:
encoder : Lavf53.28.100
Stream #0:0, 0, 1/90000: Video: mpeg2video, yuv420p, 624x352 [SAR 1:1 DAR 39:22], 1001/24000, q=2-31, 17000 kb/s, 90k tbn, 23.98 tbc
Stream #0:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 -> mpeg2video)
Stream #0:1 -> #0:1 (mp3 -> ac3)
Press [q] to stop, [?] for help
[mpeg4 @ 0x1101b5c0] Unsupported bit depth: 0
Illegal instruction
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 30, 2011 2:57 pm

Re: Serviio server on WD My Book Live

how did you get the FFMpeg command? It seems maxrate is wrong (shoud be the same as -b)

try with this:

  Code:
ffmpeg -i /shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi -y -threads 1 -vcodec mpeg2video -b 17000k -maxrate 17000k -bufsize 5097k -r 24000/1001 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /shares/transcoding-temp-77-MPEG2TS.stf -lglevel debug -report
<<

jc_slig

Serviio newbie

Posts: 9

Joined: Mon Dec 26, 2011 1:27 am

Post Fri Dec 30, 2011 3:06 pm

Re: Serviio server on WD My Book Live

Thanks Zip, not sure why that was different may of been copy/paste error.
Below is the correct output,it is still failing.


ffmpeg -i /shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi -y -threads 1 -vcodec mpeg2video -b 17000k -maxrate 17000k -bufsize 5097k -r 24000/1001 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /shares/transcoding-temp-77-MPEG2TS.stf -loglevel debug -report
ffmpeg started on 2011-12-29 at 20:35:27
Report written to "ffmpeg-20111229-203527.log"
ffmpeg version git-2011-12-28-7e5cbb3, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 28 2011 07:21:42 with gcc 4.4.5
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. 33.100 / 51. 33.100
libavcodec 53. 48.100 / 53. 48.100
libavformat 53. 28.100 / 53. 28.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 55.100 / 2. 55.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 5.100
libpostproc 51. 2.100 / 51. 2.100
[avi @ 0x11015360] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x11015860] use odml:1
st:0 removing common factor 8 from timebase
st:1 removing common factor 384 from timebase
[mpeg4 @ 0x1101b5c0] err{or,}_recognition separate: 1; 1
[mpeg4 @ 0x1101b5c0] err{or,}_recognition combined: 1; 10001
[mp3 @ 0x1101c060] err{or,}_recognition separate: 1; 1
[mp3 @ 0x1101c060] err{or,}_recognition combined: 1; 10001
[avi @ 0x11015360] All info found
Input #0, avi, from '/shares/Public/Boardwalk.Empire.S01E01.Boardwalk.Empire.HDTV.XviD-FQM.avi':
Metadata:
encoder : transcode-1.0.4
Duration: 01:12:19.44, start: 0.000000, bitrate: 1353 kb/s
Stream #0:0, 1, 125000/2997003: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 1001/24000, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1, 1, 3/125: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x1101d2e0] w:624 h:352 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[mpeg2video @ 0x1102aa40] err{or,}_recognition separate: 1; 1
[mpeg2video @ 0x1102aa40] err{or,}_recognition combined: 1; 10001
[mpeg2video @ 0x1102aa40] impossible bitrate constraints, this will fail
[mpeg2video @ 0x1102aa40] intra_quant_bias = 96 inter_quant_bias = 0
[mpeg2video @ 0x1102aa40] Unsupported bit depth: 0
[ac3 @ 0x11012ae0] err{or,}_recognition separate: 1; 1
[ac3 @ 0x11012ae0] err{or,}_recognition combined: 1; 10001
[ac3 @ 0x11012ae0] channel_layout not specified
[ac3 @ 0x11012ae0] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[ac3 @ 0x11012ae0] Unsupported bit depth: 0
[mpeg4 @ 0x1101b5c0] err{or,}_recognition separate: 1; 10001
[mpeg4 @ 0x1101b5c0] err{or,}_recognition combined: 1; 10001
[mp3 @ 0x1101c060] err{or,}_recognition separate: 1; 10001
[mp3 @ 0x1101c060] err{or,}_recognition combined: 1; 10001
[mpegts @ 0x1102a370] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/shares/transcoding-temp-77-MPEG2TS.stf':
Metadata:
encoder : Lavf53.28.100
Stream #0:0, 0, 1/90000: Video: mpeg2video, yuv420p, 624x352 [SAR 1:1 DAR 39:22], 1001/24000, q=2-31, 17000 kb/s, 90k tbn, 23.98 tbc
Stream #0:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 -> mpeg2video)
Stream #0:1 -> #0:1 (mp3 -> ac3)
Press [q] to stop, [?] for help
[mpeg4 @ 0x1101b5c0] Unsupported bit depth: 0
Illegal instruction
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Fri Dec 30, 2011 3:43 pm

Re: Serviio server on WD My Book Live

Cerberus wrote:http://www.serviio.org/component/content/article/21#q2 look here jazzman :)


Thanks, was already there. But now I realize my mistake, left the serviio off of the parameter serviio.remoteHost. Added that to the client and I was up and running.

One question, with setting up the daemon to run, there were posts stating that you shouldn't use root as the username. What's the reason behind it?

Thanks.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Dec 30, 2011 3:57 pm

Re: Serviio server on WD My Book Live

thejazzman wrote:
Cerberus wrote:http://www.serviio.org/component/content/article/21#q2 look here jazzman :)


Thanks, was already there. But now I realize my mistake, left the serviio off of the parameter serviio.remoteHost. Added that to the client and I was up and running.

One question, with setting up the daemon to run, there were posts stating that you shouldn't use root as the username. What's the reason behind it?

Thanks.


1. Common sense you dont run anything as root

2. Can cause crashing and conflicts, i forget the exact issues.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

jc_slig

Serviio newbie

Posts: 9

Joined: Mon Dec 26, 2011 1:27 am

Post Fri Dec 30, 2011 8:44 pm

Re: Serviio server on WD My Book Live

Hi Guys,

I tried removing and re-installing x264 and FFMpeg but I still get the Illegal instruction error.
I also tried the following command and get the same issue.

ffmpeg -i file.avi -f mpgets output.stf



Is there something else I can try, where would this error be coming from?

Thanks
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Dec 30, 2011 8:46 pm

Re: Serviio server on WD My Book Live

maybe jazzman once I has it all working can do a how to for us to help others out and I will polish it and add to wiki
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Tue Jan 03, 2012 1:58 am

Re: Serviio server on WD My Book Live

Since I was playing around and filled up the hard drive partition for the Debian os, I decided to basically start from scratch and performed a firmware update. This is the version of the firmware that can be gotten from Western Digital itself, it disables MeoNet, so you may just want to update to the current version through the UI.

1) Go to http://mybooklive/UI/ssh (case sensitive) replace "mybooklive" if you have renamed it to something else, or replace it with its IP address. It's a hidden UI menu to enable SSH.

2) Log in to through SSH by the IP for the device, then Install Optware
  Code:
wget http://mybookworld.wikidot.com/local--files/optware/setup-mybooklive.sh
sh setup-mybooklive.sh
echo "export PATH=$PATH:/opt/bin:/opt/sbin:." >> /root/.bashrc
echo "export PATH=$PATH:/opt/bin:/opt/sbin:." >> /etc/profile
logout


Log back into the SSH

3) Test Optware and install a simple text editor
  Code:
ipkg update
ipkg install nano
nano

A basic editor opens, hit ctrl-x to close.

4) Install Core-Utils
  Code:
ipkg install coreutils
ln -s /opt/bin/coreutils-dirname /usr/bin/dirname


5) Install Java
  Code:
apt-get update
apt-get install --allow-unauthenticated debian-keyring
apt-get install --allow-unauthenticated debian-archive-keyring
apt-get install openjdk-6-jdk
java -version
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre
export PATH=$PATH:/usr/lib/jvm/java-6-openjdk/jre


6) Install Serviio and setup user account to run the program
  Code:
useradd serviio
passwd serviio
usermod -a -G root serviio

mkdir /usr/local/serviio/
cd /usr/local/serviio/
wget http://download.serviio.org/releases/serviio-0.6.0.1-linux.tar.gz
tar -xf serviio-0.6.0.1-linux.tar.gz


7) Launch Serviio as a test
  Code:
cd serviio-0.6.0.1/bin
serviio.sh

You will be at a blank line, it appears like nothing is happening, yet the server is starting. One way to confirm is to open another ssh window, log in and run
  Code:
tail -f /usr/local/serviio/serviio-0.6.0.1/log/serviio.log

This will show a live output of the serviio log file. When you are satisfied that it's launching, hit ctrl-c in both ssh windows.

8) Setup Daemon to launch serviio upon bootup of your MyBook Live.
8a) create serviiod
  Code:
nano /etc/default/serviiod

Copy following code, the service account is the name of the account we created in step 6. Also, the Daemon is the path to the serviio.sh file, update if you use a different version/location.
  Code:
#########################################################
#- Daemon Script Configuration for Serviio Media Server
#- By Ian Laird
#- /etc/default/serviiod
#########################################################

NAME="Serviio Media Server"
DAEMON="/usr/local/serviio/serviio-0.6.0.1/bin/serviio.sh"    ## Update this to point at serviio_root/bin/serviio.sh
SERVICE_ACCOUNT="serviio" ## DON'T RUN UNDER ROOT!


8b) create serviio
  Code:
nano /etc/init.d/serviio

Paste the following code.
  Code:
    #!/bin/sh
    #
    #########################################################
    #- Daemon script for Serviio media server
    #- By Ian Laird; converted for Debian by Jacob Lundberg
    #- /etc/init.d/serviio
    #########################################################
    #
    ### BEGIN INIT INFO
    # Provides:          serviio
    # Required-Start:    $local_fs $remote_fs $network $syslog
    # Required-Stop:     $local_fs $remote_fs $network $syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # X-Interactive:     true
    # Short-Description: Start/stop serviio media server
    # Description:       The Serviio media server makes your media available to
    #                    all kinds of networked devices.
    ### END INIT INFO


    . /lib/lsb/init-functions

    if [ -f /etc/default/rcS ]; then
            . /etc/default/rcS
    fi


    DAEMON_STOP=" -stop"
    NAME="$(basename $0)"
    PIDFILE="/var/run/serviiod.pid"
    TIMEOUT=10

    if [ -f /etc/default/serviiod ]; then
            . /etc/default/serviiod
    fi

    [ -x "$DAEMON" ] || exit 0


    running() {
            if [ "x$1" == "x" ]; then
                    echo 0
                    return 1
            fi

            PS=$(ps h -p $(echo $1 | sed -r 's/[\t \n]+/ -p /') | wc -l)
            echo $PS

            if [ $PS -gt 0 ]; then
                    return 0
            else
                    return 1
            fi
    }


    start() {
       # Set up correct LANG
          if [ -r /etc/default/locale ]; then
             . /etc/default/locale
             export LANG LANGUAGE LC_MESSAGES LC_ALL LC_CTYPE
          fi

            log_daemon_msg "Starting Serviio media server daemon" "$NAME"
            start-stop-daemon --start -q -b -p "$PIDFILE" -m -c "${SERVICE_ACCOUNT}" -x "${DAEMON}"
            log_end_msg $?
    }

    stop() {
            log_daemon_msg "Stopping Serviio media server daemon" "$NAME"
            if [ -r "$PIDFILE" ]; then
                    PIDS=$(pstree -p $(<"$PIDFILE") | awk -F'[\(\)]' '/^[A-Za-z0-9]/ { print $2" "$4; }')
                    if running "$PIDS" > /dev/null; then
                            "${DAEMON}" "${DAEMON_STOP}"
                            for PID in $PIDS; do
                                    if running $PID > /dev/null; then
                                            kill -TERM $PID
                                    fi
                            done
                    fi
                    COUNTDOWN=$TIMEOUT
                    while let COUNTDOWN--; do
                            if ! running "$PIDS" > /dev/null; then
                                    break
                            fi
                            if [ $COUNTDOWN -eq 0 ]; then
                                    for PID in $PIDS; do
                                            if running $PID > /dev/null; then
                                                    kill -KILL $PID
                                            fi
                                    done
                            else
                                    echo -n .
                                    sleep 1
                            fi
                    done
            fi

            if running "$PIDS" > /dev/null; then
                    log_end_msg 1
            else
                    rm -f "$PIDFILE"
                    log_end_msg $?
            fi
    }

    status() {
            echo -n "$NAME should be"
            if [ -r "$PIDFILE" ]; then
                    echo -n " up with primary PID $(<"$PIDFILE")"
                    PIDS=$(pstree -p $(<"$PIDFILE") | awk -F'[\(\)]' '/^[A-Za-z0-9]/ { print $2" "$4; }')
                    RUNNING=$(running "$PIDS")
                    if [[ $RUNNING && $RUNNING -gt 0 ]]; then
                            echo -n " and $RUNNING processes are running."
                    else
                            echo -n " but it is not running."
                    fi
            else
                    echo -n " stopped."
            fi
            echo
    }


    case "${1:-}" in
            start)
                    start
            ;;
            stop)
                    stop
            ;;
            restart)
                    stop
                    start
            ;;
            status)
                    status
            ;;
            *)
                    log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|status}"
                    exit 1
            ;;
    esac

    exit 0



8c) Set files to launch on startup
  Code:
chown serviio -R /usr/local/serviio
chmod 755 /etc/init.d/serviio
update-rc.d serviio defaults


Reboot MyBook Live. Check status when back up by using either the tail command above, or
  Code:
/etc/init.d/serviio status


9) Access server through the console, use http://www.serviio.org/component/content/article/21#q2 as a reference. With respect to Mac, when entering the propertly, I placed them with the 3rd <dict> section, the one located after the property key.

10) Two other commands to stop or start the service when signed into the ssh, though you could use the console to do the same.
  Code:
/etc/init.d/serviio start
/etc/init.d/serviio stop
Last edited by thejazzman on Wed Jan 11, 2012 12:40 pm, edited 9 times in total.
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Tue Jan 03, 2012 2:00 am

Re: Serviio server on WD My Book Live

Though I am getting an error when trying to play some video files, think it's possibly the ffmpeg version.
  Code:
2012-01-02 20:00:55,017 WARN  [ProcessExecutor] Process ffmpeg has a return code of 134! This is a possible error.
2012-01-02 20:00:55,436 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Jan 03, 2012 7:23 am

Re: Serviio server on WD My Book Live

yer update FFmpeg to latest version.

http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Tue Jan 03, 2012 11:29 am

Re: Serviio server on WD My Book Live

I added two lines of code, one in step 5 and one in step 6.

Secondly, with the rebuild of ffmpeg I'm hitting an issue right off the bat in the code command below. a number of the packages are not available, such as libfaac-dev, libmp3lame-dev, libssl1.0.0, libxvidcore-dev, and libxvidcore4 to name a few. Plus the last time I ran out of space so I have to make a tmp drive like a previous poster mentioned.

So can we just exclude the packages that are not available?

  Code:
sudo apt-get install build-essential checkinstall git libfaac-dev libjack-jackd2-dev \
  libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev \
  libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev texi2html yasm zlib1g-dev \
  libssl1.0.0 libssl-dev libxvidcore-dev libxvidcore4
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Jan 03, 2012 12:11 pm

Re: Serviio server on WD My Book Live

no if you exclude packages you will find serviio wont work as they are all required.

EDIT: found this site maybe helpful http://mybookworld.wikidot.com/

also you may want to install optware ipkg see site linked above and try this

  Code:
# ipkg update
# ipkg install ffmpeg && ipkg install coreutils
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

jc_slig

Serviio newbie

Posts: 9

Joined: Mon Dec 26, 2011 1:27 am

Post Tue Jan 03, 2012 2:21 pm

Re: Serviio server on WD My Book Live

I had the same problem, I built FFMpeg according to the instructions provided but had no joy.
I tried rebuilding but still got an "Illegal Instruction" error when executing the FFMpeg -i command.

I can't take it any further as the My Book was a gift for somebody, I just went with running Serviio on a laptop and accessing the network share.
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Fri Jan 06, 2012 7:01 am

Re: Serviio server on WD My Book Live

I've had fun the past week trying to get ffmpeg installed, filled the hard drive, messed up with the install and almost bricked the hard drive, filled up the hard drive a second time due to a typo, etc. Each time I ended up starting over from scratch by restoring the firmware, so I've had the opportunity to use my directions above.

Needless to say I've found some typos and missing items and have made corrections. So if the above was transitioned to a wiki, there will be some differences.

At least I finally got ffmpeg installed, I'll be testing in the next couple days.

*edit* though I just noticed that serviio 6.1 has been released with support for ffmpeg 9, so I'm not sure how much the ffmpeg directions from the link above is necessary.
Last edited by thejazzman on Fri Jan 06, 2012 7:39 am, edited 2 times in total.
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Fri Jan 06, 2012 7:09 am

Re: Serviio server on WD My Book Live

I have a MBWD white at home that I pulled the harddrive out and put in my Linux server. I will see if I have another harddrive and see if I can set it up and run it. I have been wanting to setup a small serviio server for my parents house.

I have been trying to unbrick my daughters old Acer aspire one. Maybe I can get the MBWD working.

http://mybookworld.wikidot.com/ Is a great site I have posted there in the past and got good information.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

thejazzman

Streaming enthusiast

Posts: 30

Joined: Wed Dec 28, 2011 11:57 pm

Post Sun Jan 08, 2012 11:05 pm

Re: Serviio server on WD My Book Live

I'm getting stuck here. So prior to running the directions in the wiki to build FFMPEG, running the original version yeilded the following results.

  Code:
MyBookLive:/shares/Public/Shared Videos# ffmpeg -i Conan-Sample.avi
FFmpeg version SVN-r0.5.1-4:0.5.1-3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --disable-encoder=h263 --disable-encoder=h263p --disable-encoder=mpeg2video --disable-encoder=mpeg4 --disable-encoder=msmpeg4v1 --disable-encoder=msmpeg4v2 --disable-encoder=msmpeg4v3 --extra-version=4:0.5.1-3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --disable-altivec --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar 12 2010 22:49:34, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 23.98 (24000/1001)
Input #0, matroska, from 'Conan-Sample.avi':
  Duration: 00:03:21.52, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 840x352, PAR 1:1 DAR 105:44, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: aac, 24000 Hz, stereo, s16
    Stream #0.2(eng): Subtitle: 0x0000
At least one output file must be specified


Now that I just finished compiling FFMPEG per the directions, I get the following:
  Code:
MyBookLive:/shares/Public/Shared Videos# ffmpeg -i Conan-Sample.avi
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  8 2012 14:14:54 with gcc 4.4.5
  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. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Illegal instruction


One other thing, when browsing with my Blueray player, prior to attempting the compile, all of the videos appears but gave an error that the file was currupted. Now post compile, those videos will not even appear.


So what I've done so far:
1) Added deb http://www.debian-multimedia.org stable main and uncommented deb http://ftp.us.debian.org/debian/ sid main
then resolved a keyring warning. I also added a preferences file for Apt Pinning to prioritize stable versions first.
2) To have enough space, pointed the transcoding location to /shares/Public/vtmp/
then expanded the /tmp location for the os.
  Code:
mkdir -p /shares/Public/tmp
cp -af /tmp/* /shares/Public/tmp
mount -o bind /shares/Public/tmp /tmp

3) Then started to follow the instructions at http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
First issue is that during the Install Essential Build Tools and Libraries step, got the below error
Preparing to replace dpkg 1.15.7.2 (using .../dpkg_1.15.8.11_powerpc.deb) ...
Unpacking replacement dpkg ...
dpkg: error processing /var/cache/apt/archives/dpkg_1.15.8.11_powerpc.deb (--unpack):
trying to overwrite '/etc/logrotate.d/dpkg', which is also in package wd-nas 01.00.01-55257
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/dpkg_1.15.8.11_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So I use the following to resolve the conflict, stating yes.
  Code:
dpkg -i --force-overwrite /var/cache/apt/archives/dpkg_1.15.8.11_powerpc.deb

4) Continued with "Build and Install x264", "Build and Install libvpx", "Build and Install librtmp"
Amoung all of the outputs, there were only a few warnings.
For x264 there was
  Code:
gcc -Wshadow -O3 -ffast-math  -Wall -I. -maltivec -mabi=altivec -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o common/ppc/pixel.o common/ppc/pixel.c
common/ppc/pixel.c: In function 'pixel_satd_8x4_altivec':
common/ppc/pixel.c:247: warning: 'temp4v' is used uninitialized in this function
common/ppc/pixel.c:247: warning: 'temp5v' is used uninitialized in this function
common/ppc/pixel.c:247: warning: 'temp6v' is used uninitialized in this function
common/ppc/pixel.c:247: warning: 'temp7v' is used uninitialized in this function

Libvpx had
  Code:
[CC] vp8/encoder/rdopt.c.o
vp8/encoder/rdopt.c: In function 'vp8_rd_pick_inter_mode':
vp8/encoder/rdopt.c:1744: warning: 'distortion_uv' may be used uninitialized in this function
...
[CC] vp8/decoder/decodframe.c.o
vp8/decoder/decodframe.c: In function 'decode_macroblock':
vp8/decoder/decodframe.c:110: warning: unused variable 'corruption_detected'
...
make[1]: Nothing to be done for `all'.


5) Now comes the FFMPEG step. I've done this twice, once exactly as the wiki says, and once as I will outline below to use the source that's posted on this site.
  Code:
wget http://download.serviio.org/opensource/ffmpeg-0.9.tar.gz
tar -xf ffmpeg-0.9.tar.gz
mv ffmpeg-0.9 ffmpeg
cd ffmpeg
./configure --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
make
checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no --deldoc=yes --fstrans=no --default

During these steps there were a lot of warnings.
Throughout the make step... to big to post, I'll try to include in the next post, if only examples of the errors.

And even in the installation portion of the check install
  Code:
Installing with make install...

========================= Installation results ===========================
INSTALL   doc/ffmpeg.1
INSTALL   doc/avconv.1
INSTALL   doc/ffplay.1
INSTALL   doc/ffprobe.1
INSTALL   doc/ffserver.1
CC   avconv.o
avconv.c: In function 'do_video_resample':
avconv.c:1147: warning: unused variable 'enc'
avconv.c: In function 'init_input_stream':
avconv.c:2046: warning: unused variable 'i'
avconv.c: In function 'transcode':
avconv.c:2473: warning: 'avio_set_interrupt_cb' is deprecated (declared at libavformat/avio.h:402)
avconv.c:2473: warning: passing argument 1 of 'avio_set_interrupt_cb' from incompatible pointer type
libavformat/avio.h:402: note: expected 'int (*)(void)' but argument is of type 'int (*)(void *)'
avconv.c: In function 'opt_map':
avconv.c:2781: warning: 'sync_stream_idx' may be used uninitialized in this function
avconv.c: In function 'opt_output_file':
avconv.c:3644: warning: 'ost' may be used uninitialized in this function
avconv.c:3886: warning: 'm' may be used uninitialized in this function
LD   avconv_g
CP   avconv
STRIP   avconv
INSTALL   install-progs-yes
INSTALL   ffmpeg
INSTALL   avconv
INSTALL   ffplay
INSTALL   ffprobe
INSTALL   ffserver
INSTALL   presets/libvpx-1080p.ffpreset
INSTALL   presets/libvpx-1080p50_60.ffpreset
INSTALL   presets/libvpx-360p.ffpreset
INSTALL   presets/libvpx-720p.ffpreset
INSTALL   presets/libvpx-720p50_60.ffpreset
INSTALL   presets/libx264-ipod320.ffpreset
INSTALL   presets/libx264-ipod640.ffpreset
INSTALL   libavdevice/libavdevice.a
INSTALL   libavfilter/libavfilter.a
INSTALL   libavformat/libavformat.a
INSTALL   libavcodec/libavcodec.a
INSTALL   libpostproc/libpostproc.a
INSTALL   libswresample/libswresample.a
INSTALL   libswscale/libswscale.a
INSTALL   libavutil/libavutil.a
INSTALL   libavdevice/avdevice.h
INSTALL   libavdevice/libavdevice.pc
INSTALL   libavfilter/avcodec.h
INSTALL   libavfilter/avfilter.h
INSTALL   libavfilter/avfiltergraph.h
INSTALL   libavfilter/buffersink.h
INSTALL   libavfilter/vsrc_buffer.h
INSTALL   libavfilter/libavfilter.pc
INSTALL   libavformat/avformat.h
INSTALL   libavformat/avio.h
INSTALL   libavformat/version.h
INSTALL   libavformat/libavformat.pc
INSTALL   libavcodec/avcodec.h
INSTALL   libavcodec/avfft.h
INSTALL   libavcodec/dxva2.h
INSTALL   libavcodec/opt.h
INSTALL   libavcodec/vaapi.h
INSTALL   libavcodec/vda.h
INSTALL   libavcodec/vdpau.h
INSTALL   libavcodec/version.h
INSTALL   libavcodec/xvmc.h
INSTALL   libavcodec/libavcodec.pc
INSTALL   libpostproc/postprocess.h
INSTALL   libpostproc/libpostproc.pc
INSTALL   libswresample/swresample.h
INSTALL   libswresample/libswresample.pc
INSTALL   libswscale/swscale.h
INSTALL   libswscale/libswscale.pc
INSTALL   libavutil/adler32.h
INSTALL   libavutil/aes.h
INSTALL   libavutil/attributes.h
INSTALL   libavutil/audioconvert.h
INSTALL   libavutil/avassert.h
INSTALL   libavutil/avstring.h
INSTALL   libavutil/avutil.h
INSTALL   libavutil/base64.h
INSTALL   libavutil/bswap.h
INSTALL   libavutil/common.h
INSTALL   libavutil/cpu.h
INSTALL   libavutil/crc.h
INSTALL   libavutil/error.h
INSTALL   libavutil/eval.h
INSTALL   libavutil/fifo.h
INSTALL   libavutil/file.h
INSTALL   libavutil/imgutils.h
INSTALL   libavutil/intfloat_readwrite.h
INSTALL   libavutil/intreadwrite.h
INSTALL   libavutil/lfg.h
INSTALL   libavutil/log.h
INSTALL   libavutil/lzo.h
INSTALL   libavutil/mathematics.h
INSTALL   libavutil/md5.h
INSTALL   libavutil/mem.h
INSTALL   libavutil/dict.h
INSTALL   libavutil/opt.h
INSTALL   libavutil/parseutils.h
INSTALL   libavutil/pixdesc.h
INSTALL   libavutil/pixfmt.h
INSTALL   libavutil/random_seed.h
INSTALL   libavutil/rational.h
INSTALL   libavutil/samplefmt.h
INSTALL   libavutil/sha.h
INSTALL   libavutil/avconfig.h
INSTALL   libavutil/libavutil.pc

======================== Installation successful ==========================


Since I was having so many issues with the ffmpeg I wanted to test it first as mentioned above prior to attempting the "Add Additional Support to x264 (Lavf)" step.

So I'm currently at a loss.
PreviousNext

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 8 guests

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