User Tools

Site Tools


linux

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
linux [2024/02/09 14:30] ninelinux [2024/02/21 06:25] nine
Line 29: Line 29:
   - https://senders.yahooinc.com/best-practices/   - https://senders.yahooinc.com/best-practices/
   - https://senders.yahooinc.com/faqs/   - https://senders.yahooinc.com/faqs/
 +
 +
 +===== Video =====
 +
 +compress video for email sending
 +
 +  ffmpeg -i input.mp4 output_compressed.mp4
 +
 +adjust volume 
 +  ffmpeg -i input.avi -af "volumedetect" -vn -sn -dn -f null /dev/null
 +  
 +gives:
 +  [Parsed_volumedetect_0 @ 0x55f12ff28780] n_samples: 1839104
 +  [Parsed_volumedetect_0 @ 0x55f12ff28780] mean_volume: -43.4 dB
 +  [Parsed_volumedetect_0 @ 0x55f12ff28780] max_volume: -31.5 dB
 +  [Parsed_volumedetect_0 @ 0x55f12ff28780] histogram_31db: 64
 +  [Parsed_volumedetect_0 @ 0x55f12ff28780] histogram_32db: 455
 +  [Parsed_volumedetect_0 @ 0x55f12ff28780] histogram_33db: 1884
 +
 +
 +increase max volume:
 +  ffmpeg -i input.avi -af "volume=30dB" -c:v copy -c:a libmp3lame -q:a 2 output.mp4
 +  
 +  
 +flip image
 +  ffmpeg -i input.mp4 -vf "transpose=2" output.mp4
 +  
 +transpose options:
 +  0 = 90° counter-clockwise and vertical flip (default)
 +  1 = 90° clockwise
 +  2 = 90° counter-clockwise
 +  3 = 90° clockwise and vertical flip
 +
linux.txt · Last modified: 2024/02/22 21:11 by nine