gscam
gscam copied to clipboard
Flip a video file
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.
Did you resolve this issue?
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"