FFmpeg on the raspberry pie.
FFmpeg is the basic software in the codec field, or because the raspberry pie has direct contact. using FFmpeg on Windows
Download the static compiled version on the official website http://www.ffmpeg.org/download.html
3 Executable files altogether
Ffmpeg.exe Coding Tool
Ffplay.exe player, SDL based Windows
Ffprobe.exe View video Information
These three tools have a large number of parameters. function is also very powerful. Raspberry Pie uses ffmpeg.
Very simple, beyond imagination.
Apt-get Install FFmpeg
This is actually installed, of course, later also know that this is not optimized version
root@raspberrypi:~# ffmpeg--help >/ffmpeg.txt
FFmpeg version 0.8.10-6:0.8.10-1+rpi1, Copyright (c) 2000-2013 the LIBAV developers
Built on Mar 2014 02:13:15 with GCC 4.6.3
This is deprecated
This are only provided for compatibility and would be removed in a future release. Please use AVCONV instead.
This is probably said to use Avconv this front desk, looks very boring to say
Encoder ' AAC ' is experimental and might produce bad results.
Add '-strict experimental ' if you are want to use it.
If it is a turn-vcodec libx264, will prompt AAC is the trial needs to add-strict experimental parameter, this Win32 version is does not need this parameter H.264 code command
FFmpeg -y-i 1.avi -ss 00:00:00-t 00:00:25 -vcodec libx264 -200k-r 24-ab 64k-ar 32000 1.mp4
-y instructs FFmpeg to overwrite the output file
-I. Input file
-B specified Code rate attention Unit is bit/s, so we generally want to add k, such as-B 1000k is 1000kb/s
-G Set the size of the group
-VFRAMES Specifies the number of frames to encode, such as-vframes 1, which encodes 1 frames, which are written in the screenshot.
-r Specifies the frame rate, which defaults to 25
-s Specifies the image resolution, in WXH format, such as 320x240
-vcodec libx264 using H.264 encoding
-t specifies how often the video stream lasts, and supports numbers in seconds or minutes: seconds [. milliseconds] "
-fs Specify the size limit of the output file
-SS Specifies the start time, as in the-T unit
-ar Set sampling frequency, default 44100hz
-ab set bit rate, default 64k
-an Disable audio recording
-ACODEC Specifies the Audio encoder
-strict experimental arm to use
From the experience see-s Specifies the image resolution, the-B specified rate does not need to be set, FFmpeg will automatically set up 3 devices run FFmpeg coding performance Comparison
| Equipment |
CPU |
Machine Power |
CPU Characteristics |
the encoded FPS |
| Raspberry PI |
ARM11 700Mhz |
3.0W |
None |
1 ~ 0.N |
| ThinkPad T23 |
PIII 1.2G |
26W |
MMX2 SSE Cache32 |
9 ~ 3 |
| Toshiba M333 |
T6600 Dual-core 2.2G |
46W |
MMX2 sse2fast SSSE3 SSE4.1 Cache64 |
66 ~ 22 |
Raspberry pie runs 1 days 57 degrees
From this result, the raspberry pie has no advantage at all, the stronger the CPU effect is better.
Next try the XMBC ffmpeg to see. That's it for this time.