Closed wdenton closed 9 years ago
I can't do it at the moment, but you can try using a cd
command to manually enter the subdirectory and then calling mplayer.
Pushed a fix. Let me know if it worked for you.
Thanks. But ... hmm. It works when I run each step by hand in a terminal, but M-x camcorder-record shows:
(recordmydesktop --fps 20 --no-sound --windowid 0x2401373 -o /tmp/camcorder.ogv && mkdir -p /tmp/camcorder/ && cd /tmp/camcorder/ && mplayer -ao null /tmp/camcorder.ogv -vo png:z=9 && convert /tmp/camcorder/* /home/wtd/foo.gif; rm -r /tmp/camcorder.ogv /tmp/camcorder/): exited abnormally with code 1
The full output of the command is displayed on a buffer of its own. I forgot the name now, but it starts with *
.
Check that buffer, it might explain the failure.
Ok. The full output of the command is displayed on the *camcorder output*
buffer.
Could you check that buffer to see what's happening? The last few lines should indicate why it's exiting abnormally.
My version of mplayer doesn't have an outdir option for the png driver, so it's choking there. The man page says: "Output each frame into a PNG file in the current directory." outdir is there for jpeg and other formats, though.
The mplayer version is MPlayer2 2.0-728-g2c378c7-2ubuntu3, on Ubuntu 14.10.
Not sure of the best way to handle apparently different versions of mplayer and the png driver, so no suggested solution yet.