Skip to content

violetina/ffmpeg-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg stuff

###build.sh : This script will fetch ffmpeg source from git build a deb to for debian tested on jessie

This script will install none free stuff (codecs) on your system

use with care if you dont want none free codecs on your system (eg use a container) ###transcode_for_lwks.sh : This script will transcode files to quicktime prores 4:2:2 suitable for editing in lightworks tested on debian and gentoo

usage:

chmod +x script ./script ####Examples tina@violetina ~ $ ./VIAA/Scripts/Ttranscodeforlwks.sh Usage: -t transcode QUALITY -T transcode QUALITY (-a optional to set aspect), default framerate is 25 -r to change -T To choose a folder for transcode files -t will make /home/tina/transcodes_09-01-2016_20:28:43 automagically The script can remove spaces from filenames if dir is given and will also autodetect extention of all possible video files Usage ./VIAA/Scripts/Ttranscodeforlwks.sh -t quality -T quality -a aspect -r framerate This script needs bash >=4 ffmpeg with none free codecs like faac libfdk_aac, tested on Debian jessie and Gentoo Writen by Tina Cochet

####Example 1 usage with -t (it will ask for file , you can give more then one file): ###This will make a move with 576 height, aspect 16:9 with rate 25 tina@violetina ~ $ ./Ttranscodeforlwks.sh -t 576 -r 25 -a 16:9

Give me some filenames or a directory, no spaces in names allowed!: /home/tina/6t0gt5hq7j.mp4 Starting transcode of /home/tina/6t0gt5hq7j.mp4, hold your horses and wait .... Transcode of /home/tina/6t0gt5hq7j.mp4 Complete! and available in /home/tina/transcodes_09-01-2016_20:23:06 Transcode took: 113 seconds tina@violetina ~ $ mediainfo /home/tina/transcodes_09-01-2016_20:23:06/*.mov General Complete name : /home/tina/transcodes_09-01-2016_20:23:06/6t0gt5hq7j.mov Format : MPEG-4 Format profile : QuickTime Codec ID : qt 0000.02 (qt ) File size : 143 MiB Duration : 1mn 30s Overall bit rate mode : Variable Overall bit rate : 13.2 Mbps Movie name : 6t0gt5hq7j Encoded date : UTC 2016-01-09 20:23:20 Tagged date : UTC 2016-01-09 20:23:20 Writing application : Lavf56.40.101

Video ID : 1 Format : ProRes Format version : Version 0 Format profile : 422 Proxy Codec ID : apco Duration : 1mn 30s Bit rate mode : Variable Bit rate : 11.7 Mbps Width : 1 024 pixels Height : 576 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:2 Scan type : Progressive Bits/(Pixel*Frame) : 0.793 Stream size : 127 MiB (88%) Writing library : Lavc Language : English Encoded date : UTC 2016-01-09 20:23:20 Tagged date : UTC 2016-01-09 20:23:20

Audio ID : 2 Format : PCM Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : sowt Duration : 1mn 30s Bit rate mode : Constant Bit rate : 1 536 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Stream size : 16.6 MiB (12%) Language : English Default : Yes Alternate group : 1 Encoded date : UTC 2016-01-09 20:23:20 Tagged date : UTC 2016-01-09 20:23:20

Other ID : 3 Type : Time code Format : QuickTime TC Duration : 1mn 30s Time code of first frame : 00:00:00:00 Time code, striped : Yes Language : English Default : No Encoded date : UTC 2016-01-09 20:23:20 Tagged date : UTC 2016-01-09 20:23:20

###Example Usage with -T and dir instead of files

tina@violetina ~ $ ./VIAA/Scripts/Ttranscodeforlwks.sh -T 576

Give me some filenames or a directory, no spaces in names allowed!: /home/tina/examplevids/

Remove spaces with _ ? y/n :y

full path to dir with files to transcode:/tmp

Starting transcode of /home/tina/examplevids/test3.mp4, hold your horses and wait ....

Transcode of /home/tina/examplevids/test3.mp4 Complete! and available in /tmp

Transcode took: 48 seconds

Starting transcode of /home/tina/examplevids/test2.mp4, hold your horses and wait ....

Transcode of /home/tina/examplevids/test2.mp4 Complete! and available in /tmp

Transcode took: 43 seconds

Starting transcode of /home/tina/examplevids/6t0gt5hq7j.mp4, hold your horses and wait ....

Transcode of /home/tina/examplevids/6t0gt5hq7j.mp4 Complete! and available in /tmp

Transcode took: 108 seconds

About

ffmpeg_build_deb_from_git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages