Newbie question - converting MPEG file format

About encoding, codec settings, muxers and filter usage
highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Newbie question - converting MPEG file format

Postby highlysceptical » 07 Nov 2005 22:29

All I want to do is to convert (re-encapsulate?) an MPEG-TS file into an MPEG-PS file, but ideally, I would like to do it invisibly via a command from within another program.

I have successfully managed to perform the conversion using the VLC interface, but I cannot get it to work via the command prompt. I have tried:-

c:\program files\videolan\vlc\vlc.exe -vvv "d:\oldfile.mpg -- sout=#standard{access=file,mux=ps,url="d:\newfile.mpg"}}

but nothing actually happens apart from the VLC GUI appearing.

So I suppose I have two questions.
  • Firstly, is it possible to perform the conversion from the command prompt?
  • Secondly, can I do it invisibly?
Any help would be greatly appreciated (I am currently using version 0.8.2)

Thanks.

highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Postby highlysceptical » 09 Nov 2005 11:23

I have found the answer to my first question:-

[path]\vlc d:\oldfile.mpg --sout=#duplicate{dst=std{access=file,mux=ps,url="d:\newfile.mpg"}}

works fine.

However, I would still like to know if it is possible to perform the operation invisibly - ie: to hide the vlc interface.

highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Postby highlysceptical » 09 Nov 2005 11:41

Found the answer to my second question as well!! If anyone else wants to know, have a look at this thread:-

viewtopic.php?t=12704&highlight=hide+console:-


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests