FAQ  •  Register  •  Login

Problem with ffmpeg cant play videos

<<

Polliny

Serviio newbie

Posts: 3

Joined: Sun Nov 10, 2013 11:18 am

Post Sun Nov 10, 2013 11:34 am

Problem with ffmpeg cant play videos

Hi @ all,

first of all I apologize for my english.
I have the following problem when i want play a video.

  Code:
200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] 'http://<my-ip>:23424/cds/resource/6/MEDIA_ITEM/FLV-0/MEDIUM?profile=flv_player&authToken=3376c425b7974462ab51d563d2588b9d''


Then I looked in the log file and found the following Warning


  Code:
2013-11-10 12:50:07,644 WARN  [ServiioStatusService] Returning error code to the REST layer: Not Found (404) - The server has not found anything matching the request URI
2013-11-10 12:50:18,084 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
Duration: 01:48:37.01, start: 0.000000, bitrate: 898 kb/s
Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 139 kb/s
Unrecognized option 'c:v'
Failed to set value 'flv' for option 'c:v'
2013-11-10 12:50:27,966 WARN  [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-5-flv_player-MEDIUM.stf' cannot be found, FFmpeg execution probably failed
2013-11-10 12:50:28,244 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
Duration: 01:48:37.01, start: 0.000000, bitrate: 898 kb/s
Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 139 kb/s
Unrecognized option 'c:v'
Failed to set value 'flv' for option 'c:v'
2013-11-10 12:50:38,176 WARN  [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-5-flv_player-MEDIUM.stf' cannot be found, FFmpeg execution probably failed
2013-11-10 12:50:38,451 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
Duration: 01:48:37.01, start: 0.000000, bitrate: 898 kb/s
Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 139 kb/s
Unrecognized option 'c:v'
Failed to set value 'flv' for option 'c:v'
2013-11-10 12:50:48,385 WARN  [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-5-flv_player-MEDIUM.stf' cannot be found, FFmpeg execution probably failed


ffmpeg version
  Code:
ffmpeg version 0.8.8-4:0.8.8-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  built on Oct 22 2013 12:31:55 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.8-4:0.8.8-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


Where is the problem and can you help me pls
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 10, 2013 6:27 pm

Re: Problem with ffmpeg cant play videos

Old FFmpeg, they are currently on 2.1. You will have to get a newer static build or build one yourself. Look at the wiki.
<<

Polliny

Serviio newbie

Posts: 3

Joined: Sun Nov 10, 2013 11:18 am

Post Wed Nov 13, 2013 11:56 am

Re: Problem with ffmpeg cant play videos

thx that was a problem

here a littel how to update ffmpeg

remove old ffmpeg
  Code:
apt-get remove ffmpeg
apt-get autoremove


Install Python Software
  Code:
apt-get install python-software-properties


adding PPA to your System
  Code:
app-apt-repository ppa:jon-serverinsson/ffmpeg


update
  Code:
apt-get update


and the last one
  Code:
apt-get install ffmpeg


thats all
<<

Polliny

Serviio newbie

Posts: 3

Joined: Sun Nov 10, 2013 11:18 am

Post Wed Nov 13, 2013 12:41 pm

Re: Problem with ffmpeg cant play videos

ok but now i have the next problem, serviio dont play videos on the mobile app

  Code:
2013-11-13 13:30:46,314 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
Duration: 01:10:38.24, start: 0.000000, bitrate: 1385 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 704x416 [SAR 1:1 DAR 22:13], 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16, 224 kb/s
Unrecognized option 'segment_list_flags'
Failed to set value 'cache' for option 'segment_list_flags'
2013-11-13 13:30:56,217 WARN  [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-349-serviigo_hls-LOW.stf/playlist.m3u8' cannot be found, FFmpeg execution probably failed
2013-11-13 13:30:56,484 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
Duration: 01:10:38.24, start: 0.000000, bitrate: 1385 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 704x416 [SAR 1:1 DAR 22:13], 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16, 224 kb/s
Unrecognized option 'segment_list_flags'
Failed to set value 'cache' for option 'segment_list_flags'


  Code:
ffmpeg version 0.10.9-7:0.10.9-1~precise1
built on Oct  4 2013 06:37:30 with gcc 4.6.3

libavutil      51. 35.100 / 51. 35.100
libavcodec     53. 61.100 / 53. 61.100
libavformat    53. 32.100 / 53. 32.100
libavdevice    53.  4.100 / 53.  4.100
libavfilter     2. 61.100 /  2. 61.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0.  6.100 /  0.  6.100
libpostproc    52.  0.100 / 52.  0.100

<<

sleky

Serviio lover

Posts: 71

Joined: Sun Sep 01, 2013 3:23 pm

Post Wed Nov 13, 2013 5:16 pm

Re: Problem with ffmpeg cant play videos

Doesn't look like you've updated your ffmpeg yet.

  Code:
root@nix-01:/mnt/usb3/tv.tmp# ffmpeg -version
ffmpeg version N-57549-g269b3c8
built on Oct 28 2013 12:19:55 with gcc 4.7 (Debian 4.7.2-5)
configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/usr/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil      52. 48.100 / 52. 48.100
libavcodec     55. 39.100 / 55. 39.100
libavformat    55. 19.104 / 55. 19.104
libavdevice    55.  5.100 / 55.  5.100
libavfilter     3. 90.100 /  3. 90.100
libswscale      2.  5.101 /  2.  5.101
libswresample   0. 17.104 /  0. 17.104
libpostproc    52.  3.100 / 52.  3.100
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Nov 13, 2013 7:01 pm

If you want to use ServiiGo with the Enhanced profile (needed for seeking under Medium/Low quality options), then you need a newer version of ffmpeg than includes libx264 support. The best way to do that is to build it from source.

Otherwise you can switch the profile to Standard via the app.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 24 guests

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