[SOLVED] Transcoding failing, due to tmp file being missing
I can browse to the Serviio share no problems on my Xbox360, and I can stream normal avi files no problem, but if I try to transcode I get the following in the logs:
- Code:
2012-09-02 01:47:04,974 DEBUG [VideoDeliveryEngine] Delivering file 'crf-alice.in.wonderland.mkv' using transcoding
2012-09-02 01:47:04,975 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.0.10, Profile=Xbox 360'
2012-09-02 01:47:04,975 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/media/storage/.serviio/tmp/Serviio/transcoding-temp-415-3-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
I have attached the full log from the time I was trying to play this file with debug mode enabled.
I have been trying to resolve this all day and I'm getting no where, I have attempted to compile the ffmpeg package from source with these instructions http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux but as these are for debian and I am on CentOS i can't use the checkinstall package, and when I have tried a slightly different way (as explained here http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide) I have been getting an error saying --enable-libfaac --enable-libmp3lame aren't present when they are installed already via yum.
If the error I'm getting is definitely because of the wrong ffmpeg build then I will try again, but if anyone can give me some advice I would appreciate it.
Since the error is around the '/media/storage/.serviio/tmp' folder (it was happening from the '/tmp' folder before, even though it has permissions and has been able to create a Serviio folder in both tmp directories) I tried moving it and assumed it was a permissions issue. so the folder permissions are:
And of course the service is running as serviio:
- Code:
ps -ef | grep serviio
root 8552 1 0 01:30 pts/0 00:00:00 /bin/su --session-command=/opt/serviio/bin/serviio.sh -headless serviio
serviio 8554 8552 0 01:30 pts/0 00:00:00 /bin/sh /opt/serviio/bin/serviio.sh -headless
serviio 8559 8554 2 01:30 pts/0 00:00:44 java -Xmx512M -Xms20M -XX:+UseParNewGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=/opt/serviio/library -Dserviio.home=/opt/serviio -classpath /opt/serviio/lib/*:/opt/serviio/config org.serviio.MediaServer -headless
I'm not sure why there is something running as root there though.... any help would be greatly appreciated as I think my skull might be soon to cave in from the wall banging I've been doing today!