Page 1 of 1

Issue on some mp4 files (ffmpeg error 1)

PostPosted: Sun Jan 13, 2013 1:55 pm
by totototo
Hi,

I'm trying to do some proper transcoding with Serviio 1.1 on MacOS.
Using Beeg plugin v9 (mind it's ADULD content below)
2 exemples:
  Code:
ffmpeg -analyzeduration 10000000 -threads auto -i http://01.007i.net/480p/6081155.mp4 -y -copyts -c:v mpeg2video -qscale:v 1 -r 30000/1001 -g 15 -c:a ac3 -b:a 96k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /var/folders/zt/_0b272cj20lfyfpnp8h7knrh0000gn/T/Serviio/transcoding-temp-1000000030001492-Tosh2012-ORIGINAL.stf
fails with error 1
  Code:
ffmpeg -analyzeduration 10000000 -threads auto -i http://0.video.mystreamservice.com/480p/5538679.mp4 -y -copyts -c:v mpeg2video -qscale:v 1 -r 30000/1001 -g 15 -c:a ac3 -b:a 96k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /var/folders/zt/_0b272cj20lfyfpnp8h7knrh0000gn/T/Serviio/transcoding-temp-1000000030007831-Tosh2012-ORIGINAL.stf
Works

Can some guru help-out here and explain what could be the issue?
Thanks!

Re: Issue on some mp4 files (ffmpeg error 1)

PostPosted: Sun Jan 13, 2013 3:58 pm
by zip
can you post the error output?

Re: Issue on some mp4 files (ffmpeg error 1)

PostPosted: Sun Jan 13, 2013 4:58 pm
by totototo
Thanks zip:
Actually it seems there's some server timeout issue.
ffmpeg error is:
  Code:
[http @ 0xe2f900] HTTP error 503 Service Temporarily Unavailable
http://01.007i.net/480p/6081155.mp4: Input/output error
Calling that URL with web browser works though it's very long to start...
ffmpeg may not be patient enough.

So, all in all, it's rather a Beeg plugin issue than a transcoding issue: URL is somehow malformed.
Using the server from the working file URL seems to solve the issue.
Will repost in Beeg plugin thread.

Thanks.