FAQ  •  Register  •  Login

ffmprg keeps running help me solve this

<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Fri Sep 06, 2013 10:02 pm

ffmprg keeps running help me solve this

Hi I purchees serviio pro and have a big problem when I stream obver web browser the ffmpeg keeps running aldo I close the stream and turn off the PC this is a huge problem cos if a other stream starts I will have 2 running and it kills my cpu I will have to end task in task manager my self. I managed to get these logs hope they are the right ones . I am new so if I have to do any editing please explane step by step regards

2013-09-06 23:43:38,693 INFO [WebServer] WebServer starting on port 8895
2013-09-06 23:43:38,833 INFO [Device] Updated bound IP address of Device with UUID: 29e0c7b2-e2bf-3f96-91e2-08c360085651, bound address: 192.168.1.101
2013-09-06 23:43:38,943 INFO [EventDispatcher] Starting EventDispatcher
2013-09-06 23:43:38,943 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2013-09-06 23:43:38,943 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2013-09-06 23:43:38,943 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2013-09-06 23:43:38,974 INFO [RendererSearchSender] Searching for Renderer devices
2013-09-06 23:43:39,115 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth4 (Realtek PCIe GBE Family Controller) and address 192.168.1.101, timeout = 0
2013-09-06 23:44:05,334 INFO [FeedUpdaterThread] Started looking for information about online resources
2013-09-06 23:44:05,337 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-09-06 23:44:05,345 INFO [PlaylistMaintainerThread] Started looking playlist changes
2013-09-06 23:44:05,345 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-09-06 23:44:07,154 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2013-09-06 23:44:08,063 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
2013-09-06 23:44:11,263 WARN [LibraryManager] Skipping processing metadata for an unsupported file (snow.white.a.tale.of.terror.dvdrip. - TheDarkRose.avi). Message: Unknown video file type.
2013-09-06 23:47:05,517 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error. Detailed output follows.
frame=17198 fps=217 q=2.0 size= 48693kB time=00:11:27.92 bitrate= 579.9kbits/s
frame=17320 fps=217 q=2.0 size= 49081kB time=00:11:32.80 bitrate= 580.4kbits/s
frame=17388 fps=216 q=16.3 size= 49304kB time=00:11:35.52 bitrate= 580.7kbits/s
frame=17495 fps=216 q=4.0 size= 49636kB time=00:11:39.80 bitrate= 581.0kbits/s
frame=17556 fps=216 q=3.0 size= 49825kB time=00:11:42.24 bitrate= 581.2kbits/s
2013-09-06 23:49:15,710 WARN [LibraryManager] Skipping processing metadata for an unsupported file (snow.white.a.tale.of.terror.dvdrip. - TheDarkRose.avi). Message: Unknown video file type.
2013-09-06 23:54:17,038 WARN [LibraryManager] Skipping processing metadata for an unsupported file (snow.white.a.tale.of.terror.dvdrip. - TheDarkRose.avi). Message: Unknown video file type.
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Fri Sep 06, 2013 10:12 pm

Re: ffmprg keeps running help me solve this

This is by design, ffmpeg will keep running until it has finished the video, OR until the same user picks a new video, in which case the first ffmpeg process will be killed.

You will only have multiple ffmpeg processes running if there are multiple users streaming.
Will

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

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Fri Sep 06, 2013 11:00 pm

Re: ffmprg keeps running help me solve this

will wrote:This is by design, ffmpeg will keep running until it has finished the video, OR until the same user picks a new video, in which case the first ffmpeg process will be killed.

You will only have multiple ffmpeg processes running if there are multiple users streaming.

Thank you for your help last question why does streaming over web browser take alot of cpu? and is there a way to keep ffmpeg from using that power? I have dual core 3.0ghz intel and 1 stream uses 35 percent. or is there a way to stream over the internet using a player for example vlc maybe it will not take that much cpu?
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Sat Sep 07, 2013 12:03 pm

Re: ffmprg keeps running help me solve this

Is there a way to stop repackaging/transcoding to play over media browser ?
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Sep 07, 2013 12:09 pm

Re: ffmprg keeps running help me solve this

MediaBrowser uses flash, I belive certain video codecs can be repackaged, but others need to be transcoded. There isn't currently a way to connect it up to VLC in a way that uses a different transcoding profile (at least not without implementing your own client), although someone was working on a Windows 8 app which would presumably require less transcoding.

What quality are you using for your videos, 'Original' will require a lot more CPU for HD videos than 'Medium'.
Will

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

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Sat Sep 07, 2013 12:38 pm

Re: ffmprg keeps running help me solve this

will wrote:MediaBrowser uses flash, I belive certain video codecs can be repackaged, but others need to be transcoded. There isn't currently a way to connect it up to VLC in a way that uses a different transcoding profile (at least not without implementing your own client), although someone was working on a Windows 8 app which would presumably require less transcoding.

What quality are you using for your videos, 'Original' will require a lot more CPU for HD videos than 'Medium'.

Hi I was using original now I am going to put it down to medium but I notest that about after 15min of streaming the movie the ffmpeg finished transcoding or repackeging and the cpu went back to 0 percent usage. So I do not think it will keep the cpu at 35 percent threw the whole movie right?
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Sep 07, 2013 12:39 pm

Re: ffmprg keeps running help me solve this

Correct, the cpu will go back to 0 once ffmpeg has finished transcoding the video. You can also lower the quality of original in order to speed ffmpeg up a bit (if medium is too low), or increase the bitrate used by medium.
Will

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

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Sat Sep 07, 2013 12:47 pm

Re: ffmprg keeps running help me solve this

will wrote:Correct, the cpu will go back to 0 once ffmpeg has finished transcoding the video. You can also lower the quality of original in order to speed ffmpeg up a bit (if medium is too low), or increase the bitrate used by medium.

Thanks for your great help, if the ffmpeg finishes that quicklly it would not be much of a problem how do I increes the bitrate for medium ?
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Sep 07, 2013 1:43 pm

Re: ffmprg keeps running help me solve this

chrismallia wrote: how do I increes the bitrate for medium ?


Open up C:\Program Files\Serviio\config\application-profiles.xml

Then the first entry is for flv_player (which is the MediaBrowser Flash Player), scroll down until you see

  Code:

         <Quality type="MEDIUM">
            <Transcoding>
               <Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
                  <Matches container="*" />
               </Video>
            </Transcoding>
            <OnlineTranscoding keepStreamOpen="false">
               <Video targetContainer="flv" targetVCodec="flv" targetACodec="mp3" forceStereo="true" aSamplerate="44100" maxVBitrate="1000" maxHeight="480">
                  <Matches container="*" />
               </Video>
            </OnlineTranscoding>
         </Quality>


and replace the two
  Code:
maxVBitrate="1000"
with say 2000, then restart the serviio services (not just restarting the server part from the console).

You can also incrase the resolution by changing
  Code:
maxHeight="480"
Will

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

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Sat Sep 07, 2013 2:14 pm

Re: ffmprg keeps running help me solve this

thank you Will you are a great help I really appreciate all your help, your a great guy
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 91 guests

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