[FFmpeg-user] Correct way to get preview stream with no encoding?

Dennis mediastream at gmail.com
Fri Oct 11 19:15:53 CEST 2013


I think you do both in one shot.
ffmpeg -i v4l -c:v libx264 -s 640x480 OUTPUT -c copy PREVIEW


On Wed, Oct 9, 2013 at 5:35 PM, Jason Runta <jrunta at gmail.com> wrote:

> I'm trying to make a program that behaves similar to FMLE where I need to
> display a preview of the video from my webcam as well as a preview of the
> encoded output.
>
> I was wondering if anyone could suggest the proper way of getting a preview
> stream without any encoding being done to it.
>
> Do I need to make one ffmpeg call that uses -vcodec copy -acodec copy and
> then redirect  the output from that into subsequent ffmpeg calls?
>
> If anyone has a good idea of how to get the preview stream into a C# app
> I'm all ears as well =) I'm pretty sure FMLE basically runs on top of
> ffmpeg so if they're doing it, I should be able to do it...
>
> --
> *-_-=Jason Runta=-_-*
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list