Tags » Ffmpeg

Creating primitive subtitle (SubRip/.srt) file from scratch

I had a video I wanted to add a few subtitles lines here and there, without much effort. I ran:

$ apt-cache search subtitle editor
aegisub - Advanced subtitle editor
aegisub-l10n - Aegisub language packages
gaupol - subtitle editor for text-based subtitle files
libsubtitleeditor-dev - subtitleeditor lib - development files
libsubtitleeditor0 - subtitleeditor lib - runtime files
subtitleeditor - Graphical subtitle editor with sound waves representation
python-aeidon - reading, writing and manipulating text-based subtitle files
gnome-subtitles - Subtitle editor for the GNOME Desktop environment… 315 more words
Audio/Video

Editing Video With FFMPEG

Slice Video

./ffmpeg-git-20151004-64bit-static/ffmpeg -i myVideo.mov -ss 00:00:14.0 -c copy -t 00:00:6.0 -an slicedVideo.mov 

-ss 00:00:14.0 – This indicated the starting point in the video where the slice begins. 208 more words

Linux

Creating an mp4 with black screen and silent audio (with ffmpeg)

Assuming you have a  black PNG image named blck.png, you can make it a mp4 video:

ffmpeg -loop 1 -i blck.png -t 900 -r 1 -c:v libx264 blck.mp4… 73 more words
Audio/Video

Making a Synthetic Video

Synthetic video is cool and really needed when you don’t have relevant footage to use. You can use Processing (www.processing.org) to output still images that you can stitch together with other tools. 484 more words

Concatenating mp4 videos (with ffmpeg)

mp4 cannot be concatenated directly. But fmpeg (and so avconv I guess) can by the way of intermediary mpeg transport streams.

Here’s a dirty bash script that does that assuming you want to concat files named like MYFILE-1.mp4 MYFILE-2.mp4. 96 more words

Audio/Video

Using FFMPEG

CONVERTING MP3 TO PCMU 8000Hz MONO-CHANNEL

ffmpeg -i INPUT_FILE         
       -acodec pcm_mulaw     
       -ac 1                 
       -ar 8000              
       OUTPUT_FILE.WAV

CONVERTING MP3 TO PCMA 8000Hz MONO-CHANNEL

ffmpeg -i INPUT_FILE          
       -acodec pcm_alaw       
       -ac 1                  
       -ar 8000               
       OUTPUT_FILE.WAV
… 22 more words
Utilities

Android Set Top Box Lets You Stream and Record via HDMI Input

While on the hunt for some hardware that would let him stream video throughout his LAN got a tip to try the €69 Tronsmart Pavo M9 (which he points out is a re-branded Zidoo X9). 229 more words

Video Hacks