User Tools

Site Tools


video_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
video_tips [2019/07/16 20:31]
127.0.0.1 external edit
video_tips [2019/09/02 17:17] (current)
maefloresta
Line 50: Line 50:
 The command: The command:
     * ffmpeg -vcodec copy -i images.mpg -i sound.mp3 output.mpg     * ffmpeg -vcodec copy -i images.mpg -i sound.mp3 output.mpg
 +
 +====How to compile FFmpeg examples?​====
 +
 +The command:
 +    * gcc -o example output.c -lm -L/​usr/​local/​ffmpeg/​lib -lavutil -lavformat -lavcodec -lavresample -lswscale -lz -lavutil -lm
 +    * export LD_LIBRARY_PATH=/​usr/​local/​ffmpeg/​lib
 +    * ./example video.mp4 libx264
  
 ====Additional tips==== ====Additional tips====
video_tips.1563327086.txt.gz ยท Last modified: 2019/07/16 20:31 by 127.0.0.1