Page 1 of 1

sout and capturing output

Posted: 30 Apr 2007 19:52
by nkarnold
Hi everyone,

Is this possible.

I want to transcode a video to another format using #sout and i'm comfortable with the neccessary options and fully understand the -I interfaces for remote control, dummy, telnet etc.

But what I want is to run VLC gui-less and just have the information about whats being encoded in the same DOS window as the command was launched from. Pretty much like what ffmpeg.exe or mencoder.exe does. ?

Is this possible.

Thanks in advance

N

Re: sout and capturing output

Posted: 30 Apr 2007 19:57
by Jean-Baptiste Kempf
Hi everyone,
But what I want is to run VLC gui-less and just have the information about whats being encoded in the same DOS window as the command was launched from. Pretty much like what ffmpeg.exe or mencoder.exe does. ?
How do they behave ?

MENCODER/FFMPEG

Posted: 30 Apr 2007 20:27
by nkarnold
They just output to the same console window that you started the exe from (same as doing a DIR or an LS from a shell prompt). And they simply report back.. The time encoded, position, frames per second etc.

sample from mencoder

1 duplicate frame(s)!
Pos: 0.8s 22f ( 0%) 0.00fps Trem: 2min 4mb A-V:0.084 [0:122]
Skipping frame!
Pos: 1.2s 32f ( 0%) 0.00fps Trem: 3min 7mb A-V:0.083 [97:125]
Skipping frame!
Pos: 3.0s 77f ( 1%) 33.45fps Trem: 3min 23mb A-V:0.080 [674:129]
Skipping frame!
Pos: 4.1s 106f ( 1%) 33.68fps Trem: 3min 33mb A-V:0.038 [817:129]

Posted: 30 Apr 2007 20:36
by Jean-Baptiste Kempf
ok. You can't with rc interface but you may using the ncurses one.