[FFmpeg-user] Streaming input to ffmpeg
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Apr 29 21:10:59 EEST 2019
2019-04-29 4:03 GMT+02:00, Brad Jackson <bradj at nightlife.com.au>:
> .\ffmpeg\bin\ffmpeg.exe -i .\a8ddbbcacc224b427f5b7ca14bdf41b692291730.MP4 -c
> copy -map 0 -movflags faststart -y .\temp.MP4
> cat .\temp.MP4 | .\ffmpeg\bin\ffmpeg.exe -i pipe:0 -ss 3 -t 5 -f gif -vf
> scale=-1:120 -r 5 -y test.gif
>
> ffmpeg version N-91931-gb69ea742ab Copyright (c) 2000-2018 the FFmpeg
> developers
> built with gcc 7.3.0 (Rev2, Built by MSYS2 project)
> configuration: --disable-autodetect --enable-amf --enable-bzlib
> --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv
> --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --disable-debug
> --enable-ffnvcodec --enable-nvdec --enable-libmp3lame --enable-libopus
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
> --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype
> --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack
> --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine
> --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom
> --enable-version3 --enable-chromaprint --enable-decklink --enable-frei0r
> --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libfdk-aac
> --enable-libflite --enable-libfribidi --enable-libgme --enable-libgsm
> --enable-libilbc --enable-libkvazaar --enable-libmodplug
> --enable-libopenh264 --enable-libopenmpt --enable-librtmp
> --enable-librubberband --enable-libssh --enable-libtesseract
> --enable-libxavs --enable-libzmq --enable-libzvbi --enable-opencl
> --enable-opengl --enable-libcodec2 --enable-libsrt --enable-ladspa
> --enable-openssl --extra-cflags=-fopenmp --extra-libs=-lgomp
> --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++
> --extra-cflags=-DLIBSSH_STATIC
> --extra-ldflags='-Wl,--allow-multiple-definition'
> --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC
> --extra-cflags=-DCHROMAPRINT_NODLL --extra-libs=-lstdc++
> --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi
> --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads
> --extra-cflags=-DKVZ_STATIC_LIB --enable-nonfree
> libavutil 56. 19.101 / 56. 19.101
> libavcodec 58. 30.100 / 58. 30.100
> libavformat 58. 18.100 / 58. 18.100
> libavdevice 58. 4.103 / 58. 4.103
> libavfilter 7. 29.100 / 7. 29.100
> libswscale 5. 2.100 / 5. 2.100
> libswresample 3. 2.100 / 3. 2.100
> libpostproc 55. 2.100 / 55. 2.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0a440e00] error reading header
> pipe:0: Invalid data found when processing input
This works for some samples, feel free to provide yours.
Carl Eugen
More information about the ffmpeg-user
mailing list