How can I generate a video file directly from an FFmpeg filter with no actual input file?

It looks like the options have changed slightly in recent versions. To use the filter input sources, you have to: Set the input format to the libavfilter virtual device using: -f lavfi Set the filter input source using the -i flag (not -vf) Provide arguments as complete key-value pairs, like: color=color=red This works for ffplay, … Read more

convert H264 video to raw YUV format

Yes you can, you just have to specific the pixel format. To get the whole list of the format: ffmpeg -pix_fmts | grep -i pixel_format_name For example if you want to save the 1st video track of an mp4 file as a yuv420p (p means planar) file: ffmpeg -i video.mp4 -c:v rawvideo -pix_fmt yuv420p out.yuv

Find if video file has audio present in it [duplicate]

I would use FFprobe (it comes along with FFMPEG): ffprobe -i INPUT -show_streams -select_streams a -loglevel error In case there’s no audio it ouputs nothing. If there is an audio stream then you get something like: [STREAM] index=0 codec_name=mp3 codec_long_name=MP3 (MPEG audio layer 3) profile=unknown codec_type=audio codec_time_base=1/44100 etc etc… [/STREAM] That should be easy enough … Read more

Gource on Windows

gource -1024×768 –stop-position 1.0 –highlight-all-users –hide-filenames –seconds-per-day 5 –output-framerate 60 –output-ppm-stream output.ppm ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i output.ppm -vcodec wmv1 -r 60 -qscale 0 out.wmv The key was the image2pipe format which seems to extract all the frames from the ppm rather than treating it as an individual image.

How to disable auto-play for local video in iframe

If you are using HTML5, using the Video tag is suitable for this purpose. You can use the Video Tag this way for no autoplay: <video width=”320″ height=”240″ controls> <source src=”https://stackoverflow.com/questions/31956221/videos/example.mp4″ type=”video/mp4″> </video> To enable auto-play, <video width=”320″ height=”240″ controls autoplay> <source src=”https://stackoverflow.com/questions/31956221/videos/example.mp4″ type=”video/mp4″> </video>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)