Silent-Hunter
Hardcore Member
- Joined
- May 29, 2010
- Messages
- 3,485
I have installed the ffmpeg in the NAND using "opkg install ffmpeg", but I cannot get the screen to record. Can someone help me?
Here is script:
#!/bin/sh
ffmpeg -video_size 800x480 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast -profile:v high444 /home/silent/Video/framegrab.hq.mkv
read -p "Press any key to recode. Press Control-C to cancel recoding." -n1 -s
ffmpeg -i /home/silent/Video/framegrab.hq.mkv -c:v libx264 -qp 0 -preset veryslow -profile:v high444 /home/silent/Video/framegrab.hq.recoded.mkv
It tells me video_size is not a valid option. Doing further research, I tried -s instead of -video_size and -r instead of -framerate, but then it tells me -c:v is invalid. Replacing that with -vcodec makes it say that 0 is not a valid option for the parameter qp.
This script works as is on my laptop, why is the ffmpeg on the Pandora so different?
Here is script:
#!/bin/sh
ffmpeg -video_size 800x480 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast -profile:v high444 /home/silent/Video/framegrab.hq.mkv
read -p "Press any key to recode. Press Control-C to cancel recoding." -n1 -s
ffmpeg -i /home/silent/Video/framegrab.hq.mkv -c:v libx264 -qp 0 -preset veryslow -profile:v high444 /home/silent/Video/framegrab.hq.recoded.mkv
It tells me video_size is not a valid option. Doing further research, I tried -s instead of -video_size and -r instead of -framerate, but then it tells me -c:v is invalid. Replacing that with -vcodec makes it say that 0 is not a valid option for the parameter qp.
This script works as is on my laptop, why is the ffmpeg on the Pandora so different?