Convert from the command line?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
daveoconnell
New Cone
New Cone
Posts: 2
Joined: 21 Jun 2010 14:03

Convert from the command line?

Postby daveoconnell » 21 Jun 2010 14:12

Hi,

I'm new here, so apologies if this is posted to the wrong forum.

Is it possible to use VLC to convert .mp3, .m4a and other audio formats into .flv (Flash) from a DOS command line?
Can you advise me on the syntax for this operation?

Any help would be very much appreciated.
Dave

daveoconnell
New Cone
New Cone
Posts: 2
Joined: 21 Jun 2010 14:03

Re: Convert from the command line?

Postby daveoconnell » 22 Jun 2010 16:03

With some expert help (Thanks Brian!), here is the solution :

VLC will convert the file using the following syntax:

..Program Files\..\VLC>vlc -I dummy -vvv "AUDIO.m4a" --sout=#transcode{vcodec=FLV1,acodec=mp3}:standard{access=file,mux=ffmpeg{mux=flv},dst=C:\Users\doc\Documents\FLASH-VERSION.flv}

Explanation:
---------------
-I dummy : hides the VLC GUI and displays a diagnostics window.
“AUDIO.m4a” : Input file
--sout : Stream the output
#transcode : Specifies the format of the audio and video that go into the .flv file container
Standard { ... } : Specifies the location of the output file and the library to use for the conversion.

0xeb
New Cone
New Cone
Posts: 1
Joined: 11 Jul 2010 15:33

Re: Convert from the command line?

Postby 0xeb » 11 Jul 2010 15:36

hi paul,

where can i get a more comprehensive list and explanation of all possible parameters?

for example on the example page, this example was used:

Code: Select all

% vlc http://example.com/live.asf --sout="#duplicate{dst=std{access=file,mux=asf,dst='C:\test\test.asf'},dst=nodisplay}"
now I tried to search for 'nodisplay' in the hope of finding other possible values but nothing was found.

thanks

akapulko2020
New Cone
New Cone
Posts: 4
Joined: 21 Jul 2010 19:58

Re: Convert from the command line?

Postby akapulko2020 » 21 Jul 2010 20:08



Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 102 guests