2010-09-06, 10:57
Ruud Wrote:Hi Nick,
is this similar to what I reported in the hts-devel mailing list?
Hi Ruud, that's it exactly! I read somewhere that hinted at ffmpeg having issues with running as a background process. It suggested running using something along the lines of
Code:
gnome-terminal -e "ffmpeg - i ......
I was starting to think that it may be a permissions issue, but by the sounds of things you've ruled that out as well. I'm lost for ideas but with those logs you provided the developers I'm sure they'll be on top of it.
I'm interested in commercial skipping as well so I'm sure we can work something out. That script will come in handy too. thanks!
EDIT:
Code:
gnome-terminal -x ffmpeg -i ...
Code:
wmctrl -a xbmc
I couldn't get logging to work doing this so I created a seperate script which runs the first one in the terminal
Code:
#!/bin/sh
f=$1
b=$2
gnome-terminal -x /path/to/first/script.sh "$f" "$b"
Only thing left to do now is figure out how to make the terminal window close after it finishes transcoding