Page 1 of 1

ffmpeg Erro 137

PostPosted: Tue Aug 21, 2012 2:50 pm
by sbec67
Now, that my Serviio Server is not Crashing any more, i found a other Problem.
When i tr to watch Films over the WEB Client, the movie is badly colored.. everithing is kind of Blue...
in the Log i find this Message:

2012-08-21 05:48:16,504 WARN [ProcessExecutor] Process ffmpeg has a return code
of 137! This is a possible error.


on other DLNA Client's this does not happen.
any Ideas :?:

Regards
Simon :ugeek:

Re: ffmpeg Erro 137

PostPosted: Wed Aug 22, 2012 11:57 pm
by zip
Enable detailed log, play it again, find the ffmpeg copmmand and run it manually to see why it fails.

Re: ffmpeg Erro 137

PostPosted: Mon Aug 27, 2012 5:43 am
by sbec67
Hi,
I set Loging to Debug... I cant find a call to ffmpeg :-(
  Code:
2012-08-27 07:28:01,491 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-08-27 07:28:01,491 DEBUG [ResourceDeliveryProcessor] Request for resource 47852 and type 'MEDIA_ITEM' received
2012-08-27 07:28:01,491 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 47852 (local)
2012-08-27 07:28:01,491 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 47852)
2012-08-27 07:28:01,492 DEBUG [VideoDAOImpl] Reading a Video (id = 47852)
2012-08-27 07:28:01,492 DEBUG [VideoDeliveryEngine] Delivering item '47852' for client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-08-27 07:28:01,493 DEBUG [VideoDeliveryEngine] Delivering file 'King of Queens - S05E01 - Ein seltsames Paar.avi' using transcoding
2012-08-27 07:28:01,493 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-08-27 07:28:01,493 DEBUG [FileBasedTranscodingDeliveryStrategy] Transcoded file '/tmp/Serviio/transcoding-temp-47852-flv_player-MEDIUM.stf' is complete, sending simple stream
2012-08-27 07:28:01,493 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file King of Queens - S05E01 - Ein seltsames Paar.avi: FLV
2012-08-27 07:28:01,493 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file King of Queens - S05E01 - Ein seltsames Paar.avi: FLV
2012-08-27 07:28:01,493 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file King of Queens - S05E01 - Ein seltsames Paar.avi: FLV
2012-08-27 07:28:01,494 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 47852) as read
2012-08-27 07:28:01,509 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-08-27 07:28:01,509 DEBUG [ResourceDeliveryProcessor] Stream entity has length: 167318504
2012-08-27 07:28:01,509 DEBUG [ResourceDeliveryProcessor] Sending file back
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:03,467 DEBUG [DiscoverySSDPMessageListener] Received message is not HTTP message
2012-08-27 07:28:08,722 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.67.10, timeout = 0
2012-08-27 07:28:08,723 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device a2002300-db74-3b8e-ae46-fff559353ecd
2012-08-27 07:28:10,527 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:37


Attached you can find a Screenshot, to see, that the FIlm looks "blue" :geek:
Regards
Sbec

Re: ffmpeg Erro 137

PostPosted: Mon Aug 27, 2012 10:59 pm
by zip
the call would be further up in the log. regarding blue color - weird. Maybe a new ffmpeg would fix it?

Re: ffmpeg Erro 137

PostPosted: Tue Aug 28, 2012 5:42 am
by sbec67
OK, have to check the Log again... ;-)
I just realized, thet this Film doesn't Play on my Samsung TV :-(
(Format not supported)
but if i Play it on a Video Player on the PC, it looks fine.

Attached you can Find a Screenshot of (Linux) MediaInfo

Regards

Re: ffmpeg Erro 137

PostPosted: Tue Aug 28, 2012 6:01 am
by sbec67
the ffmpeg command ( well, i had to set \ in front of Blanks in the File Name...) brought back
  Code:
[mpeg4 @ 0xa34a8c0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from '/media/MyVideo/TV Series/Sitcom/King of Queens/King of Queens Staffel 5/King of Queens - S05E01 - Ein seltsames Paar.avi':
  Metadata:
    encoder         : Nandub v1.0rc1
  Duration: 00:21:04.40, start: 0.000000, bitrate: 936 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 432x320 [SAR 1:1 DAR 27:20], 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 32000 Hz, stereo, s16, 96 kb/s
[flv @ 0xa358020] impossible bitrate constraints, this will fail
Output #0, flv, to '/tmp/transcoding-temp-47852-flv_player-MEDIUM.stf':
  Metadata:
    encoder         : Lavf54.25.100
    Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 432x320 [SAR 1:1 DAR 27:20], q=2-31, 1000 kb/s, 1k tbn, 25 tbc
    Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> flv)
  Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Press [q] to stop, [?] for help
[mpeg4 @ 0xa45cfa0] Invalid and inefficient vfw-avi packed B frames detected


any thing you can read from that ? im dump :?
Regards

Re: ffmpeg Erro 137

PostPosted: Tue Aug 28, 2012 6:04 am
by sbec67
If i open the outcome of my ffmpeg command in a Video Player, it looks just fine.
so, it seems the ffmpeg command is OK

Regards

Re: ffmpeg Erro 137

PostPosted: Tue Aug 28, 2012 6:17 am
by sbec67
hmmm.. now it gets realy strange...
i gave it a try from my Laptop....
(same Ubuntu / Firefox Version)
and from there the Video play's perfect... :shock:

So it must be something with the Hardware, or a tiny thing in Ubuntu on my localhost :roll:

Regards

Re: ffmpeg Erro 137

PostPosted: Tue Aug 28, 2012 11:10 pm
by zip
Might be the Flash plugin version..

Re: ffmpeg Erro 137

PostPosted: Wed Aug 29, 2012 4:56 am
by sbec67
Still have this Problem, that the Film doesnt Play on my Samsung TV :-(

Re: ffmpeg Erro 137

PostPosted: Wed Aug 29, 2012 2:08 pm
by jhb50
You have not posted sufficient info.
You need to post the log showing the playback on the TV and the ffmpeg command which is different than the mediaplayer command.

Try that command standalone as well, and try to play the renamed stf on your tv. The errors with the mb command output imply the transcoded file is dicy and tvs are more sensitive to bad files than mb, but you need to try the actual tv file..

Re: ffmpeg Erro 137

PostPosted: Thu Sep 06, 2012 5:05 am
by sbec67
I was able to fix the Problem:
Detailed info can be found here: http://askubuntu.com/questions/117127/flash-video-appears-blue

Greetz :P