converting video to flv with gst-launch27 Feb 2009
I had quite some trouble finding a way to convert an avi video file to flv. I really wanted to use gstreamer since it had worked very well for me for other conversions in the past. The reason for this conversion was that I had a video on my digital Canon camera (in avi format) and I wanted to publish it on the web using the defacto standard… flash video (flv).
After lots of googling I found FLV Conversion Tips by Brendan Howell so I’m not to take credit for this.
I didn’t want the sound so I removed it from Brendans original example:
gst-launch -v filesrc location=canon.avi ! decodebin name=d ffmux_flv name=mux ! filesink location=output.flv d. ! queue ! videoscale ! video/x-raw-yuv,width=320,height=256 ! ffenc_flv ! mux.
I my search for a solution I found another link with some gst-launch examples you might find interesting.
converting video to flv with gst-launch by Jacob Emcken is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.