Page 1 of 1
Command line flip transcode, display flipped, not file
Posted: 06 Nov 2006 21:50
by darianmiller
given command line of
vlc <filename.asf> --filter transform --transform-type 90 --sout "#transcode{vcodec=WMV2,acodec=mp3,audio-sync}:duplicate{dst=display,dst=std{access=file,mux=asf,dst="output.wmv"}}"
The display is flipped, but the transcoded video is not. Any guidance would be appreciated.
tia,
Darian
Posted: 06 Nov 2006 22:28
by DJ
Try --sout <string> Default stream output chain
Posted: 06 Nov 2006 23:28
by darianmiller
Sorry, I'm a bit confused with your comment as I am specifying an output chain already.
According to doc:
http://www.videolan.org/doc/play-howto/en/ch04.html
"--filter <string> adds video filters to the processing chain"
So shouldn't this work as I provided? Or are you saying that the filter needs to be specified in the sout options somehow?
Posted: 06 Nov 2006 23:37
by DJ
Yes it does, but in the wrong place.
But being honest some of these were never finished and I never remember which ones. There is a list in Preferences, Stream output, Sout stream, Transcode near the bottom of the page. Along with the associated check boxes to insert the filter in the transcode chain. I can also honestly say that the help syntax is not real clear about this.
Posted: 07 Nov 2006 05:06
by darianmiller
Found the apparent answer in a previous post
viewtopic.php?t=17531&highlight=180
"some of the filters, including transform, are still using the old video filter 1 framework. They can only be used with a video output. So you won't be able to use it"
Posted: 07 Nov 2006 07:51
by DJ
Ya! I do seem to remember this now. But I think there may be another obstacle in that the frame size changes. One of the devs thought it worked when it doesn't and one has said it will hopefully be resolved in 0.8.6
But in general you can see that filters must be placed properly in the chain and this still isn't real well documented.
Posted: 08 Nov 2006 00:32
by darianmiller
There's plenty of good documention, it just gets overly complicated with all the command line options. There must be a better way to simplify things but I can't imagine one...other than perhaps a command line builder front-end. A gui app just to output the correct command line options....or, spit out the command line options based on the current configuration in VLC.
Posted: 08 Nov 2006 00:48
by DJ
Most of the time I use the menus or preferences to make temporary changes to do a function and change it back if necessary when I'm done.
Even in transcoding I use the menus and edit the command line if necessary depending on the source.
I guess it's all in what you get used to!
Posted: 08 Nov 2006 22:12
by dionoea
Learning to use the command line makes it faster to use VLC, easier to get what you want (once you know how to) and makes VLC a far more powerful tool. The only issue is that we don't have a good command line documentation/tutorial ATM. But i'm considering starting one once i've finished moving all the docs from
http://www.videolan.org/doc/ to the wiki.
Posted: 09 Nov 2006 02:25
by DJ
Cool
I've just found using DOS on a Windows machine to be clumsy and I have gotten lazy. Something I said would NEVER happen using Windows.