[FFmpeg-user] Does ffmpeg accept input directly from serial ports?
Zac Harvey
zachary.harvey at gmail.com
Tue Dec 11 04:02:54 CET 2012
On Mon, Dec 10, 2012 at 9:53 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
> On 12/10/12, Zac Harvey <zachary.harvey at gmail.com> wrote:
> > I will be running ffmpeg on a Linux (Debian) machine that will be
> connected
> > to a serial device (via GPIO pins), which is the source of both my audio
> > and video bitstreams. Can ffmpeg somehow accept a serial device (perhaps
> a
> > UART or SPI connection) as input, or perhaps works directly with a
> > compatible device driver?
> >
> > If not, I will have to write some custom software that reads incoming
> > audio/video data from the serial port and writes it to a file. Then,
> > configure ffmpeg to read from that file. In that case, here's my
> question:
> > can ffmpeg get read access to a file that my software is simultaneously
> > writing audio or video data to? What would experienced ffmpeg users do?
> > Thanks in advance.
>
> Maybe a linux named pipe would help/work?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
Thanks Roger - I'd definitely be willing to give it a try. Any idea what
I'd be piping from (and into ffmpeg)? Also, could you (or anybody else)
clarify whether or not ffmpeg can be reading a stream of audio or video
from a file that is concurrently being written to (by some other process)?
Thanks again!
More information about the ffmpeg-user
mailing list