gscam icon indicating copy to clipboard operation
gscam copied to clipboard

Flip a video file

Open gariepyalex opened this issue 10 years ago • 2 comments

Hi, I use gscam to play a video file. My config line in the launch file looks like this

<param name="gscam_config" value="filesrc location=$(arg FILENAME) ! decodebin ! ffmpegcolorspace"/>

I have videos that needs to be flipped vertically. I am trying to add the flip to this line, but it doesn't work. I have found this in the gstreamer doc :

http://www.freedesktop.org/software/g...

I have tried :

<param name="gscam_config" value="filesrc location=$(arg FILENAME) ! decodebin ! ffmpegcolorspace ! videoflip method=vertical-flip"/>

but no luck.

gariepyalex avatar Jul 23 '14 19:07 gariepyalex

Did you resolve this issue?

ajpaudyalp3 avatar May 04 '21 19:05 ajpaudyalp3

This works for me in melodic with gstreamer1.0 using videoconvert instead of ffmpegcolorspace:

"filesrc location=test.mov ! decodebin ! videoconvert ! videoflip method=vertical-flip"

or

"filesrc location=test.mov ! decodebin ! videoflip method=vertical-flip ! videoconvert"

clydemcqueen avatar May 20 '21 15:05 clydemcqueen