[FFmpeg-user] capture from camera (macOS) and pass video to ffplay

Peter Gusev gpeetonn at gmail.com
Wed Sep 12 21:10:19 EEST 2018


relevant question - is there a way to dump argb frames to a file pipe (not
stdout)?

On Wed, 12 Sep 2018 at 10:52, Peter Gusev <gpeetonn at gmail.com> wrote:

> this actually helped! thanks a lot!
>
> On Wed, 12 Sep 2018 at 09:37, Kieran O Leary <kieran.o.leary at gmail.com>
> wrote:
>
>> Hi
>>
>> On Wed, 12 Sep 2018, 17:09 Peter Gusev, <gpeetonn at gmail.com> wrote:
>>
>> > Hi! well I'm sure the ones I tried are incorrect as I'm not familiar
>> with
>> > ffmpeg much. But here's one of them:
>> >
>> > ffmpeg -f avfoundation -framerate 30 -i "0" -f rawvideo -pix_fmt argb -
>> |
>> > ffplay -f rawvideo -s1280x720 -pix_fmt argb -i -
>> >
>>
>> Put a space between -s and 1280x720
>>
>> ffmpeg version 3.4ffplay version 3.4 Copyright © 2000-2017 the FFmpeg
>> > developers Copyright © 2003-2017 the FFmpeg developers
>> >
>> >   built with Apple LLVM version 9.0.0 (clang-900.0.38)
>> >   built with Apple LLVM version 9.0.0 (clang-900.0.38)
>> >   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared
>> > --enable-pthreads --enable-version3 --enable-hardcoded-tables
>> > --enable-avresample --cc=clang --host-cflags= --host-ldflags=
>> --enable-gpl
>> > --enable-ffplay --enable-libmp3lame --enable-libx264 --enable-libxvid
>> > --enable-opencl --enable-videotoolbox --disable-lzma
>> >   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared
>> > --enable-pthreads --enable-version3 --enable-hardcoded-tables
>> > --enable-avresample --cc=clang --host-cflags= --host-ldflags=
>> --enable-gpl
>> > --enable-ffplay --enable-libmp3lame --enable-libx264 --enable-libxvid
>> > --enable-opencl --enable-videotoolbox --disable-lzma
>> >   libavutil      55. 78.100 / 55. 78.100
>> >   libavutil      55. 78.100 / 55. 78.100
>> >   libavcodec     57.107.100 / 57.107.100
>> >   libavcodec     57.107.100 / 57.107.100
>> >   libavformat    57. 83.100 / 57. 83.100
>> >   libavformat    57. 83.100 / 57. 83.100
>> >   libavdevice    57. 10.100 / 57. 10.100
>> >   libavdevice    57. 10.100 / 57. 10.100
>> >   libavfilter     6.107.100 /  6.107.100
>> >   libavfilter     6.107.100 /  6.107.100
>> >   libavresample   3.  7.  0 /  3.  7.  0
>> >   libavresample   3.  7.  0 /  3.  7.  0
>> >   libswscale      4.  8.100 /  4.  8.100
>> >   libswscale      4.  8.100 /  4.  8.100
>> >   libswresample   2.  9.100 /  2.  9.100
>> >   libswresample   2.  9.100 /  2.  9.100
>> >   libpostproc    54.  7.100 / 54.  7.100
>> >   libpostproc    54.  7.100 / 54.  7.100
>> > Failed to set value '-pix_fmt' for option 's1280x720': Option not found
>> >
>>
>> The lack of a space is causing this error.
>>
>> Best,
>>
>> Kieran
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
>
>
> --
> Peter Gusev <https://www.linkedin.com/in/peter-gusev-8135441a/>
> *gpeetonn at gmail.com <gpeetonn at gmail.com>*
>
>
> *+1 213 587-27-48*
>
>
> *Research Scholar @ REMAP UCLA <http://www.remap.ucla.edu/home/about>Video
> streaming/ICN networks/Creative Coding/Interactive Media*
> *dj peetonn <https://soundcloud.com/peter-gusev>*
>


-- 
Peter Gusev <https://www.linkedin.com/in/peter-gusev-8135441a/>
*gpeetonn at gmail.com <gpeetonn at gmail.com>*


*+1 213 587-27-48*


*Research Scholar @ REMAP UCLA <http://www.remap.ucla.edu/home/about>Video
streaming/ICN networks/Creative Coding/Interactive Media*
*dj peetonn <https://soundcloud.com/peter-gusev>*


More information about the ffmpeg-user mailing list