Files
haikuports/haiku-apps/ffmpeggui/ffmpeggui-1.2.recipe
Humdinger 8119bd88ad ffmpegGUI: update to v1.2
* Added job manager
* Added cropping preview and moved to own tab
* Save/Restore window position
* New "ffmpegGUI" menu for Quit, About, Help, FFmpeg docs
* Added help documentation
* Changed PCM codec option to pcm_s16be (which is expected by the MPG container)
* Removed translations below 80% finished (ca, es-419, id, pt_BR, ru)
2023-04-25 07:51:24 +02:00

66 lines
2.0 KiB
Bash

SUMMARY="A graphical front-end for ffmpeg"
DESCRIPTION="ffmpegGUI is a tool for transcoding and converting audio/video files using \
the multiplatform ffmpeg suite. While ffmpeg is extremely powerful, it can be \
intimidating to construct the correct parameters on the commandline.
ffmpegGUI's native interface lets you choose source and output files, set audio/video \
codecs and container format, bitrate, framerate, samplerate etc., change video \
resolution and crop the picture.
You can also make a lossless '1:1 copy' of the audio or video track to quickly transcode \
to another container format.
ffmpegGUI assembles the resulting ffmpeg commandline, that you can then tweak manually \
or copy to use in your own scripts if needed. Or you simply click 'Start' to begin the \
encoding. You can also create encoding jobs to process them all in a batch later.
Currently included container formats/codecs:
* Video containers: avi, mkv, mp4, mpeg-1, ogg, webm
* Audio containers: mp3, oga, wav
* Video codecs: mjpeg, mpeg4, theora, vp8, vp9, wmv1, wmv2
* Audio codecs: aac, ac3, dts, flac, mp3, pcm16, vorbis (only with video codec theora)"
HOMEPAGE="https://github.com/HaikuArchives/ffmpeggui"
COPYRIGHT="2003 Zach Dykstra
2015-2023 HaikuArchives team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="37d4b00e38f90db77bfc31f3385f903c92aba8424d4dd02e7746286c286d4263"
SOURCE_DIR="ffmpegGUI-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
ffmpeggui$secondaryArchSuffix = $portVersion
app:ffmpegGUI = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:ffmpeg$secondaryArchSuffix
cmd:ffprobe$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
make bindcatalogs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir $docDir
cp -af objects/ffmpegGUI $appsDir
cp -r documentation/* $docDir/
addAppDeskbarSymlink $appsDir/ffmpegGUI
}