[SOLVED] Problem Transcoding SOPCAST streams
streams.
When processed by ffmpeg in Serviio the transcoding often fails with
2012-09-08 07:51:14,128 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
When I run the same command manually, it will often fail with the message
[mpegts @ 0183F3A0] max_analyze_duration 5000000 reached at 5015467
[mpegts @ 0183F3A0] decoding for stream 1 failed
[mpegts @ 0183F3A0] Could not find codec parameters (Video: h264 ([27][0][0][0]
/ 0x001B))
but if I repeat the command it will eventually find the parameters and run successfully, and explains why Serviio sometimes fails.
This failure has 2 impacts on Serviio. First when refreshing a Webresource containing that stream, the refresh will often fail because ffmpeg fails, and the stream will not be listed by Serviio. Secondly if the webresource does refresh correctly, the playback will often fail because ffmpeg fails on the transcode.
I tried adding the -analyzeduration parameter to extend the amount of the file that is searched (I intercept Serviio ffmpeg calls and change the parameters) and it seems to have fixed the webresource refresh which are info only calls, but that parameter has no effect on encoding calls and so transcoding continues to frequently fail.
This problem makes impossible to transcode SOPCAST streams within Serviio. Any suggestions on how to get ffmpeg to extend its search for the h264 parameters?