Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
ca-ffmpeg-sink.H File Reference

Runtime ffmpeg sink for publication-quality CA video. More...

#include <cstdio>
#include <cstdlib>
#include <filesystem>
#include <sstream>
#include <string>
#include <utility>
#include <ah-errors.H>
#include <ca-io.H>
Include dependency graph for ca-ffmpeg-sink.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Aleph::CA::Ffmpeg_Options
 Options for Ffmpeg_Frame_Sink. More...
 
class  Aleph::CA::Ffmpeg_Frame_Sink< Mapper >
 Frame sink that streams PPM frames into ffmpeg. More...
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 
namespace  Aleph::CA
 
namespace  Aleph::CA::ca_ffmpeg_detail
 

Functions

std::string Aleph::CA::ca_ffmpeg_detail::shell_quote (const std::string &s)
 
bool Aleph::CA::ca_ffmpeg_detail::ffmpeg_available ()
 
template<typename Mapper >
 Aleph::CA::Ffmpeg_Frame_Sink (std::filesystem::path, Mapper, Ffmpeg_Options={}) -> Ffmpeg_Frame_Sink< Mapper >
 

Detailed Description

Runtime ffmpeg sink for publication-quality CA video.

The sink writes PPM frames to an ffmpeg process through stdin. ffmpeg is an optional runtime dependency: when it is not available and require_ffmpeg is false, the sink becomes a no-op.

Author
Leandro Rabindranath Leon

Definition in file ca-ffmpeg-sink.H.