[mesa-users] ffmpeg/images_to_movie.sh on Yosemite

Monique Windju mwindju at ucsc.edu
Wed Jul 8 14:07:58 EDT 2015


Hi all,

Although the mesasdk does not currently come with ffmpeg, I found a
workaround that let's us continue to use the images_to_movie.sh script.
Thought I'd share in case this is still an issue for users. I brew
installed ffmpeg (brew install ffmpeg) and sourced the local executable
within the mesasdk images_to_movie.sh file.

ex: mesasdk/bin/images_to_movie.sh

#!/bin/sh
#
# Wrapper to create movies from images

set -o noglob

in_files=$1
out_file=$2

*/usr/local/Cellar/ffmpeg/2.6.2/bin/ffmpeg* \ # *changed from
$MESASDK_ROOT/bin/ffmpeg*
    -loglevel warning \
    -pattern_type glob -i $in_files \
    -pix_fmt yuv420p \
    -vf 'crop=trunc(iw/2)*2:trunc(ih/2)*2:0:0' \
    -y \
    $out_file


Hope this helps someone out there :)

- Monique


-- 
Monique Windju
mwindju at ucsc.edu

University of California, Santa Cruz
Undergraduate Research Fellow at
Supercomputing Lab for UnderGrads (SLUG)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150708/55900c78/attachment.html>


More information about the Mesa-users mailing list