expectingtofly wrote: > Many thanks for this. I've given it to go. > I'm finding that ffmpeg won't work with the options specified in the > custom-convert.conf : > > Code: -------------------- > > [playhls.sh] -loglevel quiet -nostdin -i $FILE$ -f wav - | [lame] --silent -q $QUALITY$ $BITRATE$ - - -------------------- > > > > the -nostidin option seems to be the culprit. I removed that and it > worked. I'm not sure if that is important or not, as I think that > prevent ffmpeg looking for user input but we may be doing that in the > playhls shell script any away. > > Unfortunately ffmpeg was still refusing to end. > > looking at the script it kills the processes with PID written as part > of a file to the tmp folder > > Code: -------------------- > > apppid=/tmp/.playhls-app.$$.pid- -------------------- > > > > Code: -------------------- > > kill -9 `cat $apppid` 2> /dev/null -------------------- > > > > If I look in my tmp folder these files are there : > > Code: -------------------- > > root@squeezeplug:/tmp# ls -a > . .. .ICE-unix .playhls-app.2357.pid .playhls-app.2363.pid .playhls-app.2402.pid .X11-unix -------------------- > > > > As you can see there are multiple files, so I don't think its getting > to the point where the ffmpeg is ending and removing the files. > > If i manually kill one of the pids in one of the files, it works. So > I'm not quite sure what's happening there, I am guessing that the > "-nostdin" is important.
Good News! I've cross compiled a new version of ffmpeg. (blimey, ffmpeg is a monster it took over an hour to compile) I placed this new version in /usr/bin and everything is now working fine. This is the version that got compiled : ffmpeg version N-69738-gac7fc44 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.7.1 (crosstool-NG 1.15.2) 20120402 (prerelease) configuration: --enable-cross-compile --cross-prefix=/opt/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi- --arch=armel --target-os=linux --enable-gpl --enable-libx264 --extra-cflags=-Ix264/ --extra-ldflags='-ldl -Lx264/' libavutil 54. 18.100 / 54. 18.100 libavcodec 56. 21.102 / 56. 21.102 libavformat 56. 19.101 / 56. 19.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 10.100 / 5. 10.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Hyper fast Audio and Video encoder It may even be that the original plugin without the shell script wrapper works. I'll try that next. ------------------------------------------------------------------------ expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263 View this thread: http://forums.slimdevices.com/showthread.php?t=53229 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
