FAQ  •  Register  •  Login

Media Browser will not stream any files

<<

mayhem2408

Streaming enthusiast

Posts: 24

Joined: Thu Mar 22, 2012 5:00 am

Post Tue Aug 14, 2012 2:36 am

Re: Media Browser will not stream any files

Interesting. It works OK in Firefox 14, but does not work in IE 9 or Google Chrome.

In IE9, the Flowplayer sits there with the spinning circle, thinking.
In Google Chrome, the flowplayer does not show, Just a grey blank panel.

It also works in ServiiGo (I know it's not your software, but interesting to note)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 14, 2012 12:13 pm

Re: Media Browser will not stream any files

It might be down to Flash plugin version, for example. Also latest Flash doesn't work well with RealPlayer, so if you have that installed, remove it.
<<

javaxprt

Serviio newbie

Posts: 8

Joined: Sun Dec 23, 2012 2:30 pm

Post Sun Dec 23, 2012 2:39 pm

Re: Media Browser will not stream any files

I followed this thread because I'm getting the same error. Rebuilding ffmpeg didn't help. I cant play any of my files in mediabrowser.
Some info here:
Linux thinkpad 2.6.32-45-generic #101-Ubuntu SMP Mon Dec 3 15:39:38 UTC 2012 x86_64 GNU/Linux
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 23 2012 09:05:52 with gcc 4.4.3
configuration:
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

Switched on the DEBUG. Don't see any errors. Strange.

Any thoughts ?

Thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 23, 2012 2:41 pm

Re: Media Browser will not stream any files

What does it do when you say it can't play any files?
<<

javaxprt

Serviio newbie

Posts: 8

Joined: Sun Dec 23, 2012 2:30 pm

Post Sun Dec 23, 2012 8:25 pm

Re: Media Browser will not stream any files

Screenshot.png
Here's the screen shot. This happens each time with every file I try to play. Some of the files are over 20GB btw. Does that make any difference?
Screenshot.png (364.14 KiB) Viewed 10799 times


Grep returns this from the log:

akirillov > grep error /usr/share/serviio/log/serviio.log
2012-12-23 15:23:06,199 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2012-12-23 15:23:13,539 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-52-flv_player-MEDIUM.stf' cannot be found, FFmpeg execution probably failed
2012-12-23 15:23:13,663 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-52-flv_player-MEDIUM.stf' cannot be found, FFmpeg execution probably failed
2012-12-23 15:23:13,769 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-52-flv_player-MEDIUM.stf' cannot be found, FFmpeg execution probably failed
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 24, 2012 11:47 am

Re: Media Browser will not stream any files

Ffmpeg failed. Do you have a recent version? If yes, enable detailed log, find the failing ffmpeg command and execute it manually
<<

javaxprt

Serviio newbie

Posts: 8

Joined: Sun Dec 23, 2012 2:30 pm

Post Mon Dec 24, 2012 2:42 pm

Re: Media Browser will not stream any files

I have enabled debug, but I don't see any exceptions in the log. Is there some other log I should look in?
<<

javaxprt

Serviio newbie

Posts: 8

Joined: Sun Dec 23, 2012 2:30 pm

Post Mon Dec 24, 2012 2:48 pm

Re: Media Browser will not stream any files

Here's what I found:

akirillov > ffmpeg -threads auto -i /media/storage/video/movies/Total\ Recall\ \(2012,\ HD\).mkv -y -copyts -c:v flv -b:v 1000k -maxrate:v 1000k -bufsize:v 1000k -vf scale=854:480 -r 24000/1001 -g 15 -c:a libmp3lame -b:a 192k -ar 44100 -ac 2 -map 0:0 -map 0:1 -sn -f flv /tmp/Serviio/transcoding-temp-22-flv_player-MEDIUM.stf
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 23 2012 09:05:52 with gcc 4.4.3
configuration:
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
Input #0, matroska,webm, from '/media/storage/video/movies/Total Recall (2012, HD).mkv':
Metadata:
title : Total Recall (2012)
creation_time : 2012-11-12 01:28:19
Duration: 02:10:16.32, start: 0.000000, bitrate: 23647 kb/s
Chapter #0.0: start 0.000000, end 525.775000
Metadata:
title : Chapter 1
Chapter #0.1: start 525.775000, end 1080.704000
Metadata:
title : Chapter 2
Chapter #0.2: start 1080.704000, end 1453.243000
Metadata:
title : Chapter 3
Chapter #0.3: start 1453.243000, end 1879.877000
Metadata:
title : Chapter 4
Chapter #0.4: start 1879.877000, end 2394.266000
Metadata:
title : Chapter 5
Chapter #0.5: start 2394.266000, end 2738.819000
Metadata:
title : Chapter 6
Chapter #0.6: start 2738.819000, end 2985.607000
Metadata:
title : Chapter 7
Chapter #0.7: start 2985.607000, end 3492.280000
Metadata:
title : Chapter 8
Chapter #0.8: start 3492.280000, end 3940.185000
Metadata:
title : Chapter 9
Chapter #0.9: start 3940.185000, end 4506.960000
Metadata:
title : Chapter 10
Chapter #0.10: start 4506.960000, end 4865.109000
Metadata:
title : Chapter 11
Chapter #0.11: start 4865.109000, end 5243.112000
Metadata:
title : Chapter 12
Chapter #0.12: start 5243.112000, end 5865.776000
Metadata:
title : Chapter 13
Chapter #0.13: start 5865.776000, end 6197.649000
Metadata:
title : Chapter 14
Chapter #0.14: start 6197.649000, end 6689.682000
Metadata:
title : Chapter 15
Chapter #0.15: start 6689.682000, end 7816.320000
Metadata:
title : Chapter 16
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(rus): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s (default)
Metadata:
title : AC3 5.1 @ 640 kbps - Дублированный
Stream #0:2(ukr): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s
Metadata:
title : AC3 5.1 @ 640 kbps - Дублированный
Stream #0:3(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16, 1536 kb/s
Metadata:
title : DTS-HD MA 5.1 @ 2467 kbps
Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Metadata:
title : Commentary
Stream #0:5(rus): Subtitle: text (default)
Metadata:
title : captions
Stream #0:6(rus): Subtitle: text
Stream #0:7(ukr): Subtitle: text
Metadata:
title : captions
Stream #0:8(eng): Subtitle: text
Stream #0:9(rus): Subtitle: text
Metadata:
title : Commentary
Stream #0:10: Attachment: mjpeg
Metadata:
filename : cover.jpg
mimetype : image/jpeg

Unknown encoder 'libmp3lame'
<<

javaxprt

Serviio newbie

Posts: 8

Joined: Sun Dec 23, 2012 2:30 pm

Post Mon Dec 24, 2012 2:51 pm

Re: Media Browser will not stream any files

And one more question: I see in the log output that this ffmpeg command runs with unescaped spaces and parenthesis in video file name - is that OK?
<<

javaxprt

Serviio newbie

Posts: 8

Joined: Sun Dec 23, 2012 2:30 pm

Post Mon Dec 24, 2012 3:24 pm

Re: Media Browser will not stream any files

All is well now. I've recompiled ffmpeg with --enable-libmp3lame. It works perfectly now.
Thanks. :)
<<

Shockley

Serviio newbie

Posts: 1

Joined: Thu Dec 27, 2012 2:32 am

Post Thu Dec 27, 2012 2:41 am

Re: Media Browser will not stream any files

Having a similar issue and not sure what to try next. Running Serviio V1.0 on Freenas Server .
Detailed logging shows a failure of the ffmpeg command:

2012-12-27 01:58:11,910 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /mnt/Video/Movies/1__9/2012 (2009).avi
2012-12-27 01:58:11,911 DEBUG [ProcessExecutor] Starting ffmpeg -i /mnt/Video/Movies/1__9/2012 (2009).avi -y -copyts -c:v flv -b:v 1000k -r 25 -g 15 -c:a libmp3lame -b:a 32k -ar 44100 -ac 2 -map 0:0 -map 0:1 -sn -f flv /mnt/Data/Serviio/transcoding-temp-1980-flv_player-MEDIUM.stf
2012-12-27 01:58:13,043 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2012-12-27 01:58:13,043 DEBUG [TranscodingJobListener] Transcoding finished; successful: false

When I execute the command on the server, get the following. Note I had to put quotes around the file name when

freenas:/# ffmpeg -i '/mnt/Video/Movies/1__9/2012 (2009).avi' -y -copyts -c:v flv -b:v 1000k -r 25 -g 15 -c:a libmp3lame -b:a 32k -ar 44100 -ac 2 -map 0:0 -map 0:1 -sn -f flv /mnt/Data/Serviio/transcoding-temp-1980-flv_player-MEDIUM.stf
ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 31 2012 10:03:10 with gcc 4.2.1 20070719 [FreeBSD]
configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-sse --disable-mmx --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libcelt --disable-libdirac --disable-libfaac --enable-libfreetype --enable-frei0r --disable-libgsm --disable-libmp3lame --enable-libopencv --disable-libopenjpeg --disable-librtmp --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from '/mnt/Video/Movies/1__9/2012 (2009).avi':
Duration: 02:31:23.64, start: 0.000000, bitrate: 1293 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 32 kb/s
Unrecognized option 'c:v'

Any suggestions?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 28, 2012 12:25 am

Re: Media Browser will not stream any files

did you read the thread at all? Your FFmpeg is about 2 years old, upgrade it.
<<

Blixx

Serviio newbie

Posts: 12

Joined: Fri Jul 15, 2011 4:28 pm

Post Tue Jan 08, 2013 4:51 pm

Re: Media Browser will not stream any files

Dear community.

I upgraded to Serviio 1.0.1 and ran into similar problem when playing any file via mediabrowser.
Again, playing to my Samsung D works fine for all examples below, only replaying via webclient fails.

Please investigate and let me know what to tweak.

Error displayed in browser (Chrome and IE):
  Code:
200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] 'http://111.111.111.111:23424/cds/resource/945/MEDIA_ITEM/FLV-0/MEDIUM,flv_player?authToken=0a2e70e65f124f6fba6368d9e0df7e1a''


Detailed Serviio log:
  Code:
2013-01-08 19:35:48,170 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /share/Movies/The Walking Dead/The Walking Dead S03E02/The.Walking.Dead.S03E02.720p.HDTV.x264-IMMERSE.mkv
2013-01-08 19:35:48,170 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/[b]ffmpeg -threads auto -i /share/Movies/The Walking Dead/The Walking Dead S03E02/The.Walking.Dead.S03E02.720p.HDTV.x264-IMMERSE.mkv -y -copyts -c:v flv -b:v 1000k -maxrate:v 1000k -bufsize:v 1000k -vf scale=854:480 -r 24000/1001 -g 15 -c:a libmp3lame -b:a 192k -ar 44100 -ac 2 -map 0:0 -map 0:1 -sn -f flv /tmp/Serviio/transcoding-temp-950-flv_player-MEDIUM.stf[/b]
2013-01-08 19:35:49,183 WARN  [ProcessExecutor] Process /root/.serviio/opt/bin/ffmpeg has a return code of 139! This is a possible error.
2013-01-08 19:35:49,183 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2013-01-08 19:35:49,673 DEBUG [DiscoveryAdvertisementNotifier] Found 1 network interfaces to advertise on
2013-01-08 19:35:49,674 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 111.111.111.111, timeout = 0
2013-01-08 19:35:49,677 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 858ec0d6-0fa1-36cf-a361-6ca61f5b1ab0
2013-01-08 19:35:51,653 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:03:00 (advertisement duration is 1800 sec.)
2013-01-08 19:35:55,813 WARN  [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: FFmpeg execution failed
2013-01-08 19:35:55,814 DEBUG [ServiioStatusService] Detailed exception:
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:133)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
   at org.serviio.delivery.ResourceDeliveryProcessor.retrieveResource(ResourceDeliveryProcessor.java:217)
   at org.serviio.delivery.ResourceDeliveryProcessor.handleGETRequest(ResourceDeliveryProcessor.java:205)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:88)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSRetrieveMediaServerResource.deliver(CDSRetrieveMediaServerResource.java:79)
   at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:449)
   at org.restlet.resource.ServerResource.get(ServerResource.java:645)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:527)
   at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:587)
   at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:299)
   at org.serviio.restlet.AbstractProEditionServerResource.doConditionalHandle(AbstractProEditionServerResource.java:35)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:51)
   at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:53)
   at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
   at org.restlet.resource.Finder.handle(Finder.java:510)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
   at org.restlet.Application.handle(Application.java:391)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Router.doHandle(Router.java:497)
   at org.restlet.routing.Router.handle(Router.java:737)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.routing.Filter.doHandle(Filter.java:156)
   at org.restlet.routing.Filter.handle(Filter.java:203)
   at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
   at org.restlet.Component.handle(Component.java:388)
   at org.restlet.Server.handle(Server.java:488)
   at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
   at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
   at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
   at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:696)
   at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)


Output on Putty (with original call from logfiles):
  Code:
[/share/MD0_DATA/.qpkg/Serviio] #
<r 44100 -ac 2 -map 0:0 -map 0:1 -sn -f flv /tmp/Serviio/transcoding-temp-950-flv_player-MEDIUM.stf
ffmpeg version 0.8.10, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 21 2012 02:44:40 with gcc 4.2.1
  configuration: --prefix=/opt/cross-project/arm/marvell/arm-none-linux-gnueabi/libc/marvell-f/usr --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi- --disable-static --enable-shared --disable-yasm --arch=arm --target-os=linux --disable-armvfp --enable-gpl --disable-encoder=snow --disable-decoder=snow
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Expected number for threads but found: auto
[/share/MD0_DATA/.qpkg/Serviio] #


Output on Putty (with some modifications on the call):
  Code:
[/share/MD0_DATA/.qpkg/Serviio] # ffmpeg -threads 1 -i "/share/Movies/The Walking Dead/The Walking Dead S03E02/The.Walking.Dead.S03E02.720p.HDTV.>
ffmpeg version 0.8.10, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 21 2012 02:44:40 with gcc 4.2.1
  configuration: --prefix=/opt/cross-project/arm/marvell/arm-none-linux-gnueabi/libc/marvell-f/usr --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi- --disable-static --enable-shared --disable-yasm --arch=arm --target-os=linux --disable-armvfp --enable-gpl --disable-encoder=snow --disable-decoder=snow
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[matroska,webm @ 0x31410] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/share/Movies/The Walking Dead/The Walking Dead S03E02/The.Walking.Dead.S03E02.720p.HDTV.x264-IMMERSE.mkv':
  Duration: 00:42:37.51, start: 0.000000, bitrate: 384 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
Unrecognized option 'c:v'
[/share/MD0_DATA/.qpkg/Serviio] #


Again without option c:v:
  Code:
[/share/MD0_DATA/.qpkg/Serviio] #
<x264-IMMERSE.mkv" -y -copyts flv -b:v 1000k -maxrate:v 1000k -bufsize:v 1000k -vf scale=854:480 -r 24000/1001 -g 15 -c:a libmp3lame -b:a 192k -a>
ffmpeg version 0.8.10, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 21 2012 02:44:40 with gcc 4.2.1
  configuration: --prefix=/opt/cross-project/arm/marvell/arm-none-linux-gnueabi/libc/marvell-f/usr --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi- --disable-static --enable-shared --disable-yasm --arch=arm --target-os=linux --disable-armvfp --enable-gpl --disable-encoder=snow --disable-decoder=snow
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[matroska,webm @ 0x31410] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/share/Movies/The Walking Dead/The Walking Dead S03E02/The.Walking.Dead.S03E02.720p.HDTV.x264-IMMERSE.mkv':
  Duration: 00:42:37.51, start: 0.000000, bitrate: 384 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
[NULL @ 0x381b0] Unable to find a suitable output format for 'flv'
flv: Invalid argument
[/share/MD0_DATA/.qpkg/Serviio] #


No matter what I tweak on the call, it doesn't seem to satisfy FFMPEG. The version I use has been compiled from up to date sources in October 2012 (see version numbers in output).

I hope some1 does know what to do. But on the other hand, web streaming is nice to have for me and even without it Serviio will be the server of choice.

Regards
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Jan 08, 2013 5:07 pm

Re: Media Browser will not stream any files

ffmpeg version 0.8.10

It may have been built recently(ish), but it was build using an old version of the source.

You will need a newever version. Either from a package or by building from source.
Will

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

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 08, 2013 5:42 pm

Re: Media Browser will not stream any files

Your FFmpeg version is 0.8.10, it's probably 1 year old.
<<

Blixx

Serviio newbie

Posts: 12

Joined: Fri Jul 15, 2011 4:28 pm

Post Tue Jan 08, 2013 8:12 pm

Re: Media Browser will not stream any files

I'll run a new make with the sources from the download page and let you know on the results.
<<

Blixx

Serviio newbie

Posts: 12

Joined: Fri Jul 15, 2011 4:28 pm

Post Thu Jan 10, 2013 3:26 pm

Re: Media Browser will not stream any files

New package, streaming still does not work. Different error messages on calling FFMPEG:

  Code:
[/] # /root/.serviio/opt/bin/ffmpeg -threads 1 -i "/share/MD0_DATA/Movies/HD T>
ffmpeg version N-42368-gbf53863-Serviio_Qnap Copyright (c) 2000-2012 the FFmpeg                                           developers
  built on Dec 20 2012 20:31:36 with gcc 4.2.3
  configuration: --arch=arm --enable-armv5te --prefix=/root/.serviio/opt --extra                                          -cflags=-I/opt/include --extra-ldflags=-L/opt/lib --enable-static --disable-shar                                          ed --enable-pic --disable-ffplay --disable-ffserver --enable-pthreads --enable-l                                          ibmp3lame --enable-libshine --enable-librtmp --disable-encoder=zmbv --extra-vers                                          ion=Serviio_Qnap
  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
Input #0, asf, from '/share/MD0_DATA/Movies/HD The Dark/23street.The_Dark.PPV-HD                                          .german.wmv':
  Metadata:
    WMFSDKVersion   : 12.0.7600.16385
    WMFSDKNeeded    : 0.0.0.0000
    WM/EncodingTime : 3080956
    IsVBR           : 0
    MediaFoundationVersion: 2.112
  Duration: 01:28:00.00, start: 0.000000, bitrate: 6203 kb/s
    Stream #0:0: Audio: wmapro (b[1][0][0] / 0x0162), 44100 Hz, stereo, flt, -1                                           kb/s
    Stream #0:1: Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 6                                          000 kb/s, SAR 1:1 DAR 16:9, 25 tbr, 1k tbn, 1k tbc
[graph 0 input from stream 0:1 @ 0xea2360] w:1280 h:720 pixfmt:yuv420p tb:1/1000                                           fr:25/1 sar:1/1 sws_param:flags=2
[output stream 0:0 @ 0xe98890] No opaque field provided
[Parsed_scale_0 @ 0xea2220] w:1280 h:720 fmt:yuv420p sar:1/1 -> w:854 h:480 fmt:                                          yuv420p sar:1280/1281 flags:0x4
[graph 1 input from stream 0:0 @ 0xed3eb0] tb:1/44100 samplefmt:flt samplerate:4                                          4100 chlayout:0x3
[flv @ 0xeda630] impossible bitrate constraints, this will fail
Output #0, flv, to '/share/MD0_DATA/.qpkg/Serviio/tmp/Serviio/transcoding-temp-1                                          250-flv_player-MEDIUM.stf':
  Metadata:
    WMFSDKVersion   : 12.0.7600.16385
    WMFSDKNeeded    : 0.0.0.0000
    WM/EncodingTime : 3080956
    IsVBR           : 0
    MediaFoundationVersion: 2.112
    encoder         : Lavf54.15.102
    Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 854x480 [SAR 1280                                          :1281 DAR 16:9], q=2-31, 1000 kb/s, 1k tbn, 25 tbc
    Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, flt, 32 k                                          b/s
Stream mapping:
  Stream #0:1 -> #0:0 (vc1 -> flv)
  Stream #0:0 -> #0:1 (wmapro -> libmp3lame)
Press [q] to stop, [?] for help
frame=    3 fps=0.0 q=2.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s                                          frame=    6 fps=5.1 q=2.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s                                          frame=    9 fps=5.3 q=2.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s                                          frame=   12 fps=5.4 q=2.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s                                          Multiple frames in a packet from stream 0
Segmentation fault
[/] #


A different video file leads to this:
  Code:
[/] # /root/.serviio/opt/bin/ffmpeg -threads 1 -i "/share/MD0_DATA/Movies/Star Trek Deep Space 9/Star Trek DS9 Season 5/>
ffmpeg version N-42368-gbf53863-Serviio_Qnap Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 20 2012 20:31:36 with gcc 4.2.3
  configuration: --arch=arm --enable-armv5te --prefix=/root/.serviio/opt --extra-cflags=-I/opt/include --extra-ldflags=-L/opt/lib --enable-static --disable-shared --enable-pic --disable-ffplay --disable-ffserver --enable-pthreads --enable-libmp3lame --enable-libshine --enable-librtmp --disable-encoder=zmbv --extra-version=Serviio_Qnap
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/share/MD0_DATA/Movies/Star Trek Deep Space 9/Star Trek DS9 Season 5/Star Trek DS9 S05e02 the ship.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 1940-01-12 18:26:21
  Duration: 00:45:27.43, start: 0.000000, bitrate: 292 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 576x432 [SAR 1:1 DAR 4:3], 242 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
      creation_time   : 1940-01-12 18:26:21
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 47 kb/s
    Metadata:
      creation_time   : 1940-01-12 18:26:24
      handler_name    : GPAC ISO Audio Handler
[graph 0 input from stream 0:0 @ 0xea2930] w:576 h:432 pixfmt:yuv420p tb:1/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
[output stream 0:0 @ 0xea2980] No opaque field provided
[graph 1 input from stream 0:1 @ 0xeb7d90] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[auto-inserted resampler 0 @ 0xe98e40] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16 r:44100Hz
[flv @ 0xeb65b0] impossible bitrate constraints, this will fail
Output #0, flv, to '/share/MD0_DATA/.qpkg/Serviio/tmp/Serviio/transcoding-temp-625-flv_player-MEDIUM.stf':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    encoder         : Lavf54.15.102
    Stream #0:0(und): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 576x432 [SAR 1:1 DAR 4:3], q=2-31, 1000 kb/s, 1k tbn, 23.98 tbc
    Metadata:
      creation_time   : 1940-01-12 18:26:21
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16, 48 kb/s
    Metadata:
      creation_time   : 1940-01-12 18:26:24
      handler_name    : GPAC ISO Audio Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> flv)
  Stream #0:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
Segmentation fault0 q=2.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
[/] #




All in all, I haven't found a single file playing via Chrome. Maybe there are some weird video/audio codec combinations deep within my library who will work, but the vast majority does actually play really well via Samsung D.

Regards
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 10, 2013 4:22 pm

Re: Media Browser will not stream any files

Did you build FFMpeg statically or dynamically? This looks like either an old FFMpeg bug (in case it points to old shared libs) or something in your environment preventing executing the command. Try googling for 'ffmpg segmentation error on Ubuntu', you're not alone.
PreviousNext

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 62 guests

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