After 2 days of searching solution for exporting live stream from my Axis camera into a file with 180 degrees rotation I finally found it.
Originally I had this:
":sout=#transcode{vcodec=h264,acodec=none}:file{dst='<output_file_path>'}"
That works fine but I got video upside down.
Then I tried this:
":sout=#transcode{vcodec=h264,acodec=none,vfilter=rotate{angle=180}}:file{dst='<output_file_path>'}"
Rotation worked but output video was 16x16 size.
After this article "
http://www.wintips.org/how-to-rotate-an ... ia-player/" and some digging in VLC player logs (vlc.exe --verbose=2 --file-logging --logfile=vlc-log.txt) I came up with this:
":sout=#transcode{vcodec=h264,width=1280,height=720,vfilter=rotate{angle=180},acodec=none}:file{dst='<output_file_path>'}"
Width and Height parameters prevent scaling output video into 16x16.
PS: I am using VLC 2.1.3
PPS: "transform{type=180}" doesn't work in some reason