FFmpeg 0.10 - Download Static binary for Linux 32 bits (supported libass, libfaac, libx264, libaacplus, frei0r....)
Par david techer, mercredi 1 février 2012 à 02:32 :: Multiméda sous GNU/Linux :: #875 :: rss
Here are a few instructions for a personal use of FFmpeg before trying to compil FFmpeg yourself. The static binary was compiled with all the usual libraries.
1. Download
-
Download the file from mediafire.com: http://www.mediafire.com/?lrttgjj4uclqhrx
- Uncompress
tar cvjf ffmpeg-0.10-linux_static-x86.tar.bz2
- Check that it is a static binary

2. Examples for differents filters
2.1 Convert WMV to MP4 (x264/AAC+) with frei0r perspective effect
We will conver the video file jana_fotel.wmv to jana_fotel.mp4./ffmpeg -i jana_fotel.wmv -vf "frei0r=perspective:0.2/0.2:0.8/0.2" -acodec libaacplus -ac 2 -ar 44100 -ab 64k -vcodec libx264 -crf 22 -threads 0 -b:v 550k -qmin 10 -qmax 30 -threads 0 jana_fotel.mp4Now we extract two images taken at "00:02:14" from the two videos:
-
./ffmpeg -i jana_fotel.wmv -an -ss "00:02:14" -r 1 -vframes 1 -f mjpeg -s 400x300 jana_fotel_wmv.jpeg

Extracted image from original video (jana_fotel.wmv) at 00:02:14 -
./ffmpeg -i jana_fotel.mp4 -an -ss "00:02:14" -r 1 -vframes 1 -f mjpeg -s 400x300 jana_fotel_mp4.jpeg

Extracted image from converted video (jana_fotel.mp4) with frei0r perspective effect at 00:02:14
2.2 Delogo filter
- We extracted an original image at 00:00:06
./ffmpeg -i jana_fotel.wmv -an -ss "00:00:06" -r 1 -vframes 1 -f mjpeg -y extracted_image_with_logo.jpeg convert extracted_image_with_logo.jpeg -resize 400x300 extracted_image_with_logo.jpeg
Here is the image
- Do the same but without logo
./ffmpeg -i jana_fotel.wmv -vf "delogo=572:555:202:39:0" -an -ss "00:00:06" -r 1 -vframes 1 -f mjpeg -y extracted_image_without_logo.jpeg convert extracted_image_without_logo.jpeg -resize 400x300 extracted_image_without_logo.jpeg
Here is the image
2.3 Adding subtitles (libass)
The final result will be something like
- We use the following file -
subtitle.ass- for the subtitles[Script Info] Title: Default Subtitle ScriptType: v4.00+ WrapStyle: 0 PlayResX: 640 PlayResY: 480 ScaledBorderAndShadow: yes Video Aspect Ratio: 0 Video Zoom: 6 Video Position: 0 Last Style Storage: Default [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: Default,Nimbus Sans L,35,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,1,2,10,10,10,1 [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.00,0:00:02.00,Default,,0000,0000,0000,,JANA DEFI IS THE MOST BEAUTIFULL MODEL ON THE WEB Dialogue: 0,0:00:02.00,0:00:04.00,Default,,0000,0000,0000,,Jana Defi is the best model\N for my FFmpeg's test Dialogue: 0,0:00:04.00,0:00:06.00,Default,,0000,0000,0000,,Jana I hope you come back...
Dialogue: 0,0:00:06.00,0:00:10.00,Default,,0000,0000,0000,,Something is missing\N...FFmpeg tests are different without U
- We add the subtitle to the video using libASS
./ffmpeg -i jana_fotel.wmv -vf "ass=subtitle.ass" -t "00:00:10" -sameq -y -s 400x300 jana_fotel_2.wmv
/root/ffmpeg -i jana_fotel.wmv -vcodec libx264 -vpre hq -crf 26 -threads 0 -acodec libaacplus -ac 2 -ar 44100 -ab 64k -s svga -y jana_fotel.mp4
Commentaires
1. Le samedi 4 février 2012 à 04:20, par Avlin
2. Le samedi 4 février 2012 à 16:59, par david techer
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.