Unable to Transcode in Ubuntu 12.04
I just recently downloaded Serviio and am new to it so apologies in advance if I'm asking silly questions.
Serviio is up and running and able to stream to devices which have no problem playing the original format. However for devices that require transcoding, I continually receive the following error in the serviio.log:
"2013-06-20 23:26:59,658 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Expected number for threads but found: auto
2013-06-20 23:27:07,151 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/home/.../Serviio/transcoding-temp-15898-13-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/home/.../Serviio/transcoding-temp-15898-13-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)"
I tried rebuilding ffmpeg from the latest source by following the instructions here: http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
After running "$ ffmpeg -version" I get this...
"ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
ffmpeg 0.8.6-4:0.8.6-0ubuntu0.12.04.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0"
So I'm not entirely sure now whether my ffmpeg has updated or I'm still using the old one? Amy I suppose to copy whatever was built somewhere or configure Ubuntu 12.04 to use the newly built ffmpeg?
I really want to get this working to serve to all devices. For the moment, only WDTVLive can play all the content and my DLNA devices are limited in what they can play.
Help will be appreciated
Serviio is up and running and able to stream to devices which have no problem playing the original format. However for devices that require transcoding, I continually receive the following error in the serviio.log:
"2013-06-20 23:26:59,658 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Expected number for threads but found: auto
2013-06-20 23:27:07,151 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/home/.../Serviio/transcoding-temp-15898-13-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/home/.../Serviio/transcoding-temp-15898-13-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)"
I tried rebuilding ffmpeg from the latest source by following the instructions here: http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
After running "$ ffmpeg -version" I get this...
"ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
ffmpeg 0.8.6-4:0.8.6-0ubuntu0.12.04.1
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0"
So I'm not entirely sure now whether my ffmpeg has updated or I'm still using the old one? Amy I suppose to copy whatever was built somewhere or configure Ubuntu 12.04 to use the newly built ffmpeg?
I really want to get this working to serve to all devices. For the moment, only WDTVLive can play all the content and my DLNA devices are limited in what they can play.
Help will be appreciated