FAQ  •  Register  •  Login

Stream plays on Windows but not Linux?

<<

Maca

Streaming enthusiast

Posts: 45

Joined: Wed Jan 09, 2013 3:26 pm

Post Mon Aug 19, 2013 2:28 pm

Stream plays on Windows but not Linux?

Using Serviio 1.3.1 installed on Windows 7 64bit this file will play, using Sony Bravia with 2011 profile.

  Code:
rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true



When I try to play the same stream on my Qnap TS 269L with Serviio 1.3.1, Web_ui v 1.4.b5, (Recently compiled FFmpeg edge and rtmpdump edge), it doesn't play.

However some files do play, so I'm wondering if anything stands out in these logs..

  Code:
2013-08-19 15:12:15,140 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:320)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:237)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:116)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:454)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:97)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:135)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:297) 



Heres the FFmpeg details..

  Code:
ffmpeg version N-55640-g76d8d23
built on Aug 19 2013 12:38:01 with gcc 4.2.1 (GCC)
configuration: --prefix=/share/MD0_DATA/.qpkg/Serviio/opt --libdir=/share/MD0_DATA/.qpkg/Serviio/opt/lib --disable-shared --disable-ffserver --disable-ffplay --enable-static --enable-pthreads --enable-libmp3lame --enable-libfaac --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-librtmp --enable-fontconfig --enable-hardcoded-tables --enable-avresample --enable-libass --enable-libfdk-aac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-postproc --enable-version3 --enable-nonfree --extra-cflags=-I/opt/include --extra-ldflags=-L/opt/lib
libavutil      52. 42.100 / 52. 42.100
libavcodec     55. 28.100 / 55. 28.100
libavformat    55. 13.103 / 55. 13.103
libavdevice    55.  3.100 / 55.  3.100
libavfilter     3. 82.100 /  3. 82.100
libavresample   1.  1.  0 /  1.  1.  0
libswscale      2.  5.100 /  2.  5.100
libswresample   0. 17.103 /  0. 17.103
libpostproc    52.  3.100 / 52.  3.100


ldd /share/MD0_DATA/.qpkg/Serviio/opt/bin/ffmpeg
        linux-gate.so.1 =>  (0xf774f000)
        libx264.so.135 => /opt/lib/libx264.so.135 (0xf75a8000)
        libvpx.so.1 => /opt/lib/libvpx.so.1 (0xf7514000)
        libvorbisenc.so.2 => /opt/lib/libvorbisenc.so.2 (0xf739b000)
        libvorbis.so.0 => /opt/lib/libvorbis.so.0 (0xf7373000)
        libtheoraenc.so.1 => /opt/lib/libtheoraenc.so.1 (0xf732f000)
        libtheoradec.so.1 => /opt/lib/libtheoradec.so.1 (0xf7318000)
        librtmp.so.0 => /opt/lib/librtmp.so.0 (0xf72fe000)
        libz.so.1 => /lib/libz.so.1 (0xf72e9000)
        libopencore-amrwb.so.0 => /opt/lib/libopencore-amrwb.so.0 (0xf72d5000)
        libopencore-amrnb.so.0 => /opt/lib/libopencore-amrnb.so.0 (0xf72ab000)
        libmp3lame.so.0 => /opt/lib/libmp3lame.so.0 (0xf7235000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf71aa000)
        libfdk-aac.so.0 => /opt/lib/libfdk-aac.so.0 (0xf70ff000)
        libfaac.so.0 => /opt/lib/libfaac.so.0 (0xf70ee000)
        libass.so.4 => /opt/lib/libass.so.4 (0xf70d4000)
        libfontconfig.so.1 => /opt/lib/libfontconfig.so.1 (0xf70a7000)
        libm.so.6 => /lib/libm.so.6 (0xf7082000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xf7072000)
        librt.so.1 => /lib/librt.so.1 (0xf7069000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7052000)
        libc.so.6 => /lib/libc.so.6 (0xf6f1e000)
        libdl.so.2 => /lib/libdl.so.2 (0xf6f19000)
        libogg.so.0 => /opt/lib/libogg.so.0 (0xf6f13000)
        libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0xf6ed2000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xf6d84000)
        libfribidi.so.0 => /opt/lib/libfribidi.so.0 (0xf6d6c000)
        libenca.so.0 => /opt/lib/libenca.so.0 (0xf6d45000)
        libexpat.so.1 => /opt/lib/libexpat.so.1 (0xf6d25000)
        /lib/ld-linux.so.2 (0xf7750000)


  Code:
2013-08-19 15:11:18,001 INFO [MediaServer] Serviio DLNA media streaming server v 1.3.1 (rev. f1fc8bc55657+)
2013-08-19 15:11:18,001 INFO [MediaServer] Petr Nejedly 2009-2013
2013-08-19 15:11:18,001 INFO [MediaServer] http://www.serviio.org
2013-08-19 15:11:18,001 INFO [MediaServer]
2013-08-19 15:11:18,002 INFO [MediaServer] Java 1.6.0_22-Sun Microsystems Inc.
2013-08-19 15:11:18,002 INFO [MediaServer] OS Linux i386 3.4.6
2013-08-19 15:11:18,002 INFO [MediaServer] File encoding: UTF-8
2013-08-19 15:11:18,003 INFO [MediaServer] Headless mode enabled: true
2013-08-19 15:11:18,003 INFO [MediaServer] User: admin
2013-08-19 15:11:18,003 INFO [MediaServer] User home dir: /share/homes/admin
2013-08-19 15:11:18,003 INFO [MediaServer] Temp dir: /tmp



*Update*

Updated web_ui to v 1.5beta1 (supports Serviio 1.3.1)
Updated Java to Java 1.7.0_21

Problem still exists, in the Windows Serviio console I can check a stream and it says its working, the same stream I add to my NAS and it won't play... very strange!
<<

Maca

Streaming enthusiast

Posts: 45

Joined: Wed Jan 09, 2013 3:26 pm

Post Tue Aug 20, 2013 11:12 am

Re: Stream plays on Windows but not Linux?

Just added debug info and ran refresh to see the output (log in reverse)


... 2 more
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:297)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:135)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:97)
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:454)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:116)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:237)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:320)
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
2013-08-20 12:04:59,135 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true. It might not play.
2013-08-20 12:04:59,094 DEBUG [ProcessExecutor] Starting /root/.serviio/opt/bin/ffmpeg -analyzeduration 10000000 -i rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true
2013-08-20 12:04:59,094 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true
2013-08-20 12:04:59,094 DEBUG [FeedUpdaterThread] Retrieving information about the video stream 'rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true'
2013-08-20 12:04:59,093 DEBUG [OnlineContentCacheDecorator] Stored online content 'rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true' in the cache (online_feeds), returning it
2013-08-20 12:04:59,093 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 11)
2013-08-20 12:04:59,090 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 10)
2013-08-20 12:04:59,090 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 8)
2013-08-20 12:04:59,089 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 7)
2013-08-20 12:04:59,089 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 6)
2013-08-20 12:04:59,088 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 5)
2013-08-20 12:04:59,079 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
2013-08-20 12:04:59,065 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 3)
2013-08-20 12:04:59,063 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-08-20 12:04:59,063 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-08-20 12:04:55,188 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:50,184 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:45,951 DEBUG [SearchManager] Committing search index
2013-08-20 12:04:45,179 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:40,173 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:35,168 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:30,163 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:25,158 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:20,153 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2013-08-20 12:04:16,299 DEBUG [SearchIndexer] Removing documents with 'onlineRepoId' of '11' from search index
2013-08-20 12:04:16,299 DEBUG [WebResourceParser] Removing all items from expiresImmediately cache for resource: rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true
2013-08-20 12:04:16,299 DEBUG [OnlineContentCacheDecorator] Removed online content 'rtmp://fms5.visionip.tv/live app=live swfUrl=http://rt.com/s/swf/player5.4.viral.swf pageURL=http://rt.com/on-air/ playpath=RT_3 live=true' from cache (online_feeds)
2013-08-20 12:04:16,298 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 11)
2013-08-20 12:04:16,297 DEBUG [ActionsServerResource] Action with name 'forceOnlineResourceRefresh' was requested
<<

Maca

Streaming enthusiast

Posts: 45

Joined: Wed Jan 09, 2013 3:26 pm

Post Tue Aug 20, 2013 6:28 pm

Re: Stream plays on Windows but not Linux?

I've fixed the problem now but unsure as to what caused it.

I recompiled FFmpeg using the same script, but cleared out all the old FFmpeg libs from the original Serviio qpkg install.

I also removed the contents of the database from the library folder except the derby.properties.

*Just to update, it was an old librtmp.so from the original Serviio qpkg in the lib folder, even though there are sim links in the script i used to compile FFmpeg and the codecs it seems FFmpeg will use anything in the root of Serviio as default. So if you use the "Pommy Tom"scripts from the Qnap forum to update your FFpmeg and codecs, be sure to delete your libs first. :idea:

Return to Video streams

Who is online

Users browsing this forum: No registered users and 3 guests

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