You are not logged in.
Pages: 1
I was wondering how I can play gpg-encrypted files with mplayer without to decrypt them to a temp file first. I encrypted the movie with gpg -e movie.mpg so now I have a movie.mpg.gpg.
I was thinking about contructions like:
gpg -d movie.mpg.gpg > mplayer
mplayer - < `gpg -d mplayer.mpg.gpg`
But nothing seems to work.
Sombody else who have an idea?
Offline
you're using file redirection when what you want is a pipe.
gpg -d movie.mpg.gpg | mplayer -
should work. (note, i don't know how gpg works, i'm assuming you do)
Offline
Hmmm, the problem now is that mplayer starts instantly.
First, I should enter the password for decoding the encrypted movie, and áfter I entered it, mplayer should start reading from the input.
Is there a way to let mplayer wait till I entered my password and pressed Enter?
Offline
I really don't have a clue but maybe something like this would work:
echo "password" | gpg -d movie.mpg.gpg | mplayer -
Haven't been here in a while. Still rocking Arch.
Offline
Pages: 1