Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'ffmpeg'

1437863 - gnu_d: ffmpeg vide glue combine concation
  1. #/bin/bash
  2.  
  3. videoPATH="" # If no path, it's using current.
  4. ext_in=".flv" # Extensions to recongnize use "*" to accept all types.
  5. ext_out=".mpeg" # Output file.
  6. video_name="" # The name of the output file.
  7.  
  8. video_out="video_name$ext_out" # The name of the output file with the out extension.
  9.  
842314 - chemuduguntar: ffmpeg
  1. // assign buffers as usual
  2.                 // Assign appropriate parts of buffer to image planes in pFrameRGB
  3.                 avpicture_fill((AVPicture *)pFrameRGB, buffer, PIX_FMT_RGB24,
  4.                     pCodecContext->width, pCodecContext->height);
  5.                     
  6.                 // initialise convert context
  7.                 swsContext = sws_getContext(    pCodecContext->width, pCodecContext->height, pCodecContext->pix_fmt,
  8.                                                 pCodecContext->width, pCodecContext->height, PIX_FMT_RGB24,
  9.  
691788 - Simple script to resize videos t: ffmpeg resize videos aspect ratio height width
  1. #!/usr/bin/php
  2. <?php
  3. // outputs the username that owns the running php/httpd process
  4. // (on a system with the "whoami" executable in the path)
  5. $cmdWidth = 'midentify '.$argv[1];
  6. $finalHeight = $argv[2];
  7. exec($cmdWidth, $output);
  8. //var_dump($output);
  9.  
678123 - fris: shell video media ffmpeg
  1. #!/bin/sh
  2.  
  3. # make life easier 1.0
  4. # script to convert, split and create thumbs for videos
  5. # chris <chris@lod.com>
  6.  
  7. case "$1" in
  8. thumbs)
  9.  
worth-right