Page 1 of 1

cmdline transcode error message

Posted: 19 Jan 2010 19:28
by antoine92330
Hi !

I've been using VLC for a long time to capture ADSL ts files and then transcode to mpg. I use a program written with autohotkey.

With the following cmdline :

run vlc.exe -vvv --sout=#transcode{vcodec=mp2v,fps=25,acodec=mpga,vb=3000,ab=128,channels=2}:standard{access=file,mux=ps,dst=c:\test.mpg} c:\test.ts vlc://quit ,d:\Program Files\VideoLAN\VLC,UseErrorLevel,friptvpid

I get the following error message :
Impossible de reconnaitre le format du média d'entrée:
Le format de « C:\testaa.txt » n’a pu être détecté. Vérifiez les messages pour plus de détails.

BUT the transcoded mpg file is OK !!

in other words VLC will try to open any file with a name identical to the given input name !! and with a "txt" extension.
if the input file is test.ts then VLC will try to open test.txt and testaa.txt or testb.txt etc..

any idea ?
i've modified my code to replace any such txt file by a .tx extension but......
many thanks

Antoine

Re: cmdline transcode error message

Posted: 20 Jan 2010 12:56
by antoine92330
HI,

I've found the problem !
VLC thinks my .txt files are subtitles !!
if I suppress the option " autodetection of subtitles files" : no problem !!!

can I suppresse that option in the command line ?

many thanks
Antoine

Re: cmdline transcode error message

Posted: 20 Jan 2010 13:30
by antoine92330
HI !


I've found the option !! it works !

--no-sub-autodetect-file


solved
Antoine