Page 1 of 1

Save?

Posted: 26 Mar 2010 01:01
by spannermonkey
Hi,
this is probably a daft question but I've got a video of my daughter off a phone (3gp format) I've brightened it and rotated but how do i save it with the mod's??
Ta Alex

Re: Save?

Posted: 28 Mar 2010 23:56
by ajmas
What were you using to make the changes?

Re: Save?

Posted: 29 Mar 2010 05:48
by Arite
Assuming you were using VLC to rotate and alter the brightness, it can be saved by streaming to a file - however there are other tools which might be simpler to do the same thing with.

In theory, the following commandline should work:

Code: Select all

vlc --sout-transcode-vfilter rotate,adjust --rotate-angle 90 --brightness 1.2 C:\myfile.3gp --sout "#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=C:\OUT.ts}}"
Where C:\myfile.3gp is the input file and C:\OUT.ts is the output file (trancoded to x264 video and mp4a audio). Brightness is a value between 0 and 2, and the rotate angle is between 0 and 359 degrees (as 360 == 0).

The above only changes the brightness (as presumably the comma separated list of video filters is not parsed correctly). If the "adjust" video filter is removed the video is correctly rotated, however the brightness is not changed.

So I'd recommend using another tool such as Avidemux (which allows for brightness adjustment and video rotation of 90, 180 and 270 degrees).

Cheers, Arite.

Re: Save?

Posted: 05 Jan 2012 22:33
by SunnyD
Hi Artie

My issue is slight different. I am able to rotate my .3gp files in VideoLan but how do I save the file which has been rotated. Once I rotate a video and close it down then the next time I open it goes back to the original unrotated version?

Please help

Thanks

SunnyD

Re: Save?

Posted: 06 Jan 2012 09:23
by TypX
I suggest you to read this thread viewtopic.php?f=2&t=96070 and reply to it if you have other problems.

Re: Save?

Posted: 18 Jan 2012 21:15
by blubman
The video filter options are not directly avaliable.

Rotation option has to be integrated in transcode options, like this :

Code: Select all

vlc C:\myfile.3gp --sout #transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,vfilter=rotate{angle=180}}:duplicate{dst=std{access=file,mux=ts,dst=C:\OUT.ts}}
I hope this could help you.