W!o+ 的《小伶鼬工坊演義》︰【新春】 復古派 《六》 RetroPie 借法

祇聽 Mrphs 講完… W!o+ 『拙』於用『巧』 ……,過了沒多久之後 ,便迷上了『先人科技』,愛說什麼︰

古今『 為 用 』為用;乾坤『 借 法 』借法。

痛痛快快的將找得的『前代軟體』給『玩』得個『透』『通』!!因此 W!o+ 認為『借法』,『法生』、『生法』,生生不息!!!

※作者註︰據聞『借法』一詞出自

太乙天尊‧《太一拔罪斬妖護身咒

操天道、化兩儀,生陰陽、轉乾坤,應赦令。

天地無極,乾坤借法;法由心生,生生不息。
太乙天尊,急急如律令!

乾坤無極,風雷受命;龍戰于野,十方俱滅。
太乙天尊,急急如律令!

伏化天王,降定天一;天地玄黄,陰陽妙法。
太乙天尊,急急如律令!

天羅維網,地閻摩羅;慧劍出鞘,斬妖誅精;一切災難化為塵 。
太乙天尊,急急如律令!

──

太乙救苦天尊

太乙救苦天尊,簡稱太乙天尊救苦天尊,是道教尊神,又稱青玄上帝青華大帝尋聲救苦天尊十方救苦天尊等,誕辰為舊曆十一月十一日,道教經典記太乙天尊居「東方長樂世界」妙嚴宮(「嚴」或作「巖」),可引渡受苦亡魂往生,一如阿彌陀佛西方極樂世界。對於積德行善、曉道明玄而功德圓滿之人,太乙救苦天尊亦能「乘九獅之仙馭,散百寶之祥光」,接引其登天成仙。

文學作品

封神演義

封神演義》中太乙天尊,號太乙真人,是哪吒的師傅,曾經幫助李靖而以九龍神火罩煉化前來尋仇的石磯娘娘,之後又幫助死去的哪吒以蓮花化身復活,法力高強,後支持姜子牙,對武王克殷的伐戰爭,也有很大貢獻。

西遊記

西遊記》中,太乙天尊所乘的獅子九靈元聖,曾經下凡搗亂唐三藏取經,於是齊天大聖孫悟空出面尋訪天尊:「太乙救苦天尊聽得,即喚侍衛眾仙迎接。迎至宮中,只見天尊高坐九色蓮花座上,百億瑞光之中,見了行者,下座來相見。」以「九色蓮花」、「百億瑞光」來描繪太乙救苦天尊,可見在吳承恩的眼中,天尊形象是雍容華貴的。

───

或許這正是 W!o+ 之後來所以能『傳心術』︰

當你聽到《神曲》,有時候那重複的『旋律』,會在腦海中一直迴盪,甚是惱人討厭!要是一則『□□○○』 ── B2B MSG ── 直接突現心理,感覺…嗯……非常詭異………,只能說 W!o^{+} 傳送了一段『腦對腦信息』,我『清楚知道』是這樣的︰

朋比翼鳥‧有社明朋

明月當空‧始神月比

社神廢祀‧無廢當翼

有始無終‧終祀空鳥

ryannrocks7498-wario-16504

真不知那ㄟㄚㄋㄟ?★!☆

─── 摘自《邂逅 W!o ?!

的『緣起』哩???

雖然作者不知如何向『乾坤借法』,但思解決『問題』時總是能夠『取法於人』的吧!比方說,因為文本圖示的需要,心想『擷取』當下螢幕之『快照』,否則怎麼簡易說明 RetroArch 『快捷選單』 QUICK MENU 呢?但是『快捷選單』必得在『遊戲進行中』,按下『Select』 + 『X』鍵才會顯示︰

RetroArch-RGUI-快照

 

那麼將怎麼『擷取』呢?非得用『照相機』來照嗎??

一時只覺『心有靈犀』,心中突現『昔日筆記』︰

Take screenshots/video’s without X server?

by Takenover83 » Wed Nov 20, 2013 12:39 am

I have been trying various method’s but I have yet to get anything to work outside of x. I would like to get some screenshot’s of xbmc, omxplayer, retroarch, emulationstation, etc… These all seem to run without X. So how do I go about capturing the screen they run on? ffmpeg? x11grab is a no go, as these are not using X as far as I know. capturing the framebuffer via fbdev? I tried that, but I usually just end up with a black screenshot.

So can anyone point me in the right direction or better yet give me a example?

 
by DrDominodog51 » Wed Nov 20, 2013 1:29 am
I would get an external display recorder and take screenshots from the video.This requires another computer for taking the screenshot from the video though….
If you don’t make it, it’s your own damn vault. -Land of the Lost poster
 
by AndyD » Wed Nov 20, 2013 1:51 am
I have written a program called raspi2png that will take a snapshot of whatever is displayed on the Raspberry Pi screen. You will need to compile it yourself! It should run on any of the Linux derived operating systems.

 

by Takenover83 » Wed Nov 20, 2013 5:24 pm
I am trying to build a script to auto increment filename and capture. After googling I pieced this together. Likely not the best way to go about it. Anyone have a better way.
……

 

,於是乎豁然開朗!!仔細閱讀後,依樣畫葫蘆︰

 

接著取得

AndrewFromMelbourne/raspi2png

raspi2png

Utility to take a snapshot of the raspberry pi screen and save it as a PNG file

raspi2png -h
raspi2png: option requires an argument — ‘h’
Usage: raspi2png [–pngname name] [–width <width>] [–height <height>] [–compression <level>] [–delay <delay>] [–display <number>] [–stdout] [–help]

–pngname,-p – name of png file to create (default is snapshot.png)
–height,-h – image height (default is screen height)
–width,-w – image width (default is screen width)
–compression,-c – PNG compression level (0 – 9)
–delay,-d – delay in seconds (default 0)
–display,-D – Raspberry Pi display number (default 0)
–stdout,-s – write file to stdout
–help,-H – print this usage information

 

又思何不做成『影片』耶??!!

終於借著

ffmpeg-logo

Frame rates

Create a video (using the encoder libx264) from series of numerically sequential images such as img001.png, img002.png, img003.png, etc.

Important: All images in a series need to be the same size and format.

You can specify two frame rates:

  • The rate according to which the images are read, by setting -framerate before -i. The default for reading input is -framerate 25 which will be set if no -framerate is specified.
  • The output frame rate for the video stream by setting -r after -i or by using the fps filter. If you want the input and output frame rates to be the same, then just declare an input -framerate and the output will inherit the same value.

By using a separate frame rate for the input and output you can control the duration at which each input is displayed and tell ffmpeg the frame rate you want for the output file. If the input -framerate is lower than the output -r then ffmpeg will duplicate frames to reach your desired output frame rate. If the input -framerate is higher than the output -r then ffmpeg will drop frames to reach your desired output frame rate.

In this example each image will have a duration of 5 seconds (the inverse of 1/5 frames per second). The video stream will have a frame rate of 30 fps by duplicating the frames accordingly:

 

以及

openlogo-50


Translation(s): English – French


FFmpeg/Libav is a suite of open source software in command line that permit to manage audio or video streams. With FFmpeg/Libav, we can make recordings, playings, making corrections with filters, or transcode media from a format to an other.

Libav is a fork of FFmpeg that we can find in the Debian repositories. If you want to use ffmpeg, you will juste need to change the word “avconv” to “ffmpeg” in the different commands lines, the rest stay the same.

種種資訊︰

 

完成了︰