ffmpeg: error while loading shared libraries: libavdevice.so.59: cannot open shared object file: No such file or directory

tl;dr: read the compile guide, and set a PREFIX and / or LD_LIBRARY_PATH I did something I don’t normally do and compiled ffmpeg today, since the ffmpeg-user mailing list requires/strongly prefers/only supports current git head. I was doing this as I had some broken AVI files and wondered if they were salvageable: Since it’s been […]

Continue Reading

Rescuing a Truncated Recording Using ffmpeg

tl;dr: Well, it’s cheating because it’s not ‘rescuing’ what isn’t recorded, just retrieving and appending Last night I played a few rounds of some cooperative gameplay with some good friends, and as usual I recorded the session for posterity. However, when looking over the file created, neither VLC nor ffmpeg could determine a duration. I […]

Continue Reading

Timesaver: import and combine GoPro Footage with FFmpeg

I’ve been taking my GoPro to Sunday Morning Football (as it is known) for a while now, so I figured I’d automate the process of importing the footage (moving it from microSD) and combining it into one file (GoPro splits recordings by default). So I have the following script: #!/bin/bash GOPRO=”/tmp/gopro” DATE=”$(date +%Y-%m-%d)” VIDEO_BASE=”/home/robert/mounts/storage/video/unsorted” VIDEO_DEST=”$VIDEO_BASE/$DATE” […]

Continue Reading