All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
50 views

How do I run an on-the-fly ffmpeg (pipe) conversion in parallel?

I want to do the following conversion: for f in *.m4a; do ( ffmpeg -i "$f" -f wav - | opusenc --bitrate 38 - "${f%.m4a}.opus" ) & done I know I could use ffmpeg directly to convert to ...
0
votes
2answers
221 views

Pipe and filter bash outputs in realtime

I am running some commands in bash (basically some ffmpeg commands), that I'm using grep and awk to filter out the results. The command takes some time and continously outputs some results as it ...
0
votes
1answer
303 views

How can FFmpeg record from FIFO without an “invalid data” error?

I have an internet calling infrastructure that can result in audio being played through speakers in the following way: aplay -r 48000 -c 1 -f S16_LE - < contact/call_out Here, call_out is a FIFO ...
1
vote
2answers
891 views

Pipe to get one line output of command

There are a few commands that print some status lines in the console when they are doing something (ffmpeg or fsarchiver). -[00][ 0%][DIR ] /boot/grub/fonts -[00][ 0%][REGFILE ] /boot/grub/...
2
votes
1answer
1k views

How to read a webcam that is already used by a background capture?

A ffmpeg webcam capture is running in the background. ffmpeg -f video4linux2 -s vga -i /dev/video0 capture.mp4 (1) I am therefore unable to read it with ffplay since the device /dev/video0 is ...
1
vote
0answers
463 views

Pipe viewer (PV) not working?

I'm trying to use Pipe Viewer on a video pipe that I'm both writing and reading from. The below command works perfectly when I pass temp_video.h264 as an -i input to ffmpeg. However, when I attempt ...
1
vote
0answers
665 views

How to fork a ffmpeg stream in order to read it with ffplay?

Say I create an encrypted webcam capture ffmpeg -f alsa -ac 2 -i plughw:0,0 \ -f video4linux2 -s vga -i /dev/video0 \ -f ogg >(openssl enc -k $PASSWORD -aes-256-cbc -out webcam.aes-256-cbc How ...
2
votes
1answer
2k views

How to encrypt the ffmpeg output when generating video chunks?

I can openssl encrypt a ffmpeg video stream with ffmpeg -i video1.mp4-video1.mp4.mp4 -f ogg - | openssl enc -des3 > outptu.ogg.des3 Which strategy would you use to encrypt the ffmpeg output ...
1
vote
1answer
4k views

How to pipe the output ffmpeg?

I'd like to use the output of ffmpeg in order to encrypt the video with openssl: I tried to use name pipe without sucess. With the command: mkfifo myfifo ffmpeg -f alsa -ac 2 -i plughw:0,0 -f ...
3
votes
1answer
2k views

Piping Sox and FFMPEG together

I'm processing a variety of audio files in a bunch of different formats and I'd like to unify their format and configuration using FFMPEG and SoX. There are two steps to my process: Convert the file,...
2
votes
0answers
839 views

avconv/ffmpeg output through /dev/ttyAMA0

I tried to pipe streaming video from video4linux2 webcam connected to a Raspberry Pi through /dev/ttyAMA0 to a computer using an Arduino as a intermediary. First of all, is it possible? Because I was ...
3
votes
2answers
6k views

Using a named pipe as ffmpeg/avconv's input for streaming

So I'm in a situation in which I want to feed a .wav (or other kind of sound) file to a named pipe/FIFO, and use the pipe as ffmpeg's input source (with a ffserver feed as an output). This is as far ...