FAQ  •  Register  •  Login

Transcoding fails because ffmpeg -threads auto depreciated

<<

zobra

Serviio newbie

Posts: 1

Joined: Tue Sep 01, 2015 2:15 am

Post Tue Sep 01, 2015 2:30 am

Transcoding fails because ffmpeg -threads auto depreciated

Hi all,

I recently switched to Serviio because my Philips TV is very picky about formats. I still haven't gotten it to work. Today it seems that transcoding fails because my FFmpeg is too new.

According to the log file and ffmpeg forums the "-threads auto" option has been removed and "0" should be used instead of "auto".

What would be the way to fix this? Do I get an older version of FFmpeg, can Serviio be reconfigured to start ffmpeg correctly or is it hardcoded?


root@space:/usr/local/serviio# ffmpeg -version
ffmpeg version 0.8.17-6:0.8.17-1, Copyright (c) 2000-2014 the Libav developers
built on Mar 15 2015 17:00:31 with gcc 4.7.2
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
ffmpeg 0.8.17-6:0.8.17-1
libavutil 51. 22. 3 / 51. 22. 3
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

Servio Debug log:
2015-08-31 23:21:32,108 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2015-08-31 23:21:31,472 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
Expected number for threads but found: auto
(see Changelog for details). Please use avconv instead.
incompatible command line syntax improvements in its replacement called avconv
in a future release. It has been deprecated in the Libav project to allow for
The ffmpeg program is only provided for script compatibility and will be removed
2015-08-31 23:21:31,471 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
2015-08-31 23:21:31,416 DEBUG [ProcessExecutor] Starting ffmpeg -threads auto -i /media/dc69afd7-269a-4381-9e7d-b0d40ecf6ab7/Media/Collections/007/007 - James Bond - Casino Royale.avi -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -r 24000/1001 -g 15 -c:a ac3 -b:a 96k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-5256-philipslight-ORIGINAL.stf
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Sep 01, 2015 3:06 am

Re: Transcoding fails because ffmpeg -threads auto depreciat

try Console/Delivery/Transcoding tabs and set cores to use
<<

jk50

Serviio lover

Posts: 57

Joined: Mon Jan 09, 2012 9:53 am

Post Tue Sep 01, 2015 8:57 am

Re: Transcoding fails because ffmpeg -threads auto depreciat

Transcoding did not fail because ffmpeg is too new, it failed because it's too old . You are using version 0.8 , you should be using at least version 2.4.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Sep 01, 2015 11:20 am

Re: Transcoding fails because ffmpeg -threads auto depreciat

Actually, it looks to fail because your ffmpeg is too old. Your OS is suggesting to use avconv, so make sure your new ffmpeg is on your path.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 28 guests

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