Composite video to .264 using gstreamer issue

David Röthlisberger david at rothlis.net
Mon Aug 20 00:46:35 PDT 2012


On 20 Aug 2012, at 08:34, Ruben Gonzalez Uvigo wrote:
> 
> 2012/8/20 kartik natarajan <kartik8n8 at gmail.com>:
>> -sh: syntax error: "(" unexpected
> 
> Please try escaping the parentheses characters.
> 
> \(fourcc\)NV12

Or quote the whole pipeline argument to gst-launch:

gst-launch -v 'v4l2src always-copy=FALSE num-buffers=800 input-src=composite ! video/x-raw-yuv, format=(fourcc)NV12, width=720, height=480 ! TIVidenc1 codecName=h264enc engineName=codecServer ! filesink location=/home/gr8.264'

(Note the single quote before v4l2src and after gr8.264.)

Assuming the shell you are using is "bash", the meaning of (unquoted) parentheses is:
http://www.gnu.org/software/bash/manual/bashref.html#Command-Grouping

Quoting is described here:
http://www.gnu.org/software/bash/manual/bashref.html#Single-Quotes



More information about the gstreamer-devel mailing list