Hi!

I use Dvbviewer recordingservice for record my sat tv in TS format. I want trascoding in h264 on the fly. For now i use mencoder but the problem is that i must put a delay that depends from the lenght of show, because my computer PhenonII X3 is capable of 37 f/s the show in Italy is 25 f/s so after few second the trascoding arrive to the end of show and stop it. All the process in automated from Dirmon2. i don't use the Tv in mencoder but the file that recordingervice is recording to hard disk, because for set recording i want use webservice.

I want know if is possible put a "buffer" in mencoder that allows remove delay.

Here there is my bat file.

Thanks!


SET mencoderpath="C:\Users\HTPC\Desktop\CREA X264 FILE\Mencoder\mencoder.exe"
SET mkvmergepath="C:\Users\HTPC\Desktop\CREA X264 FILE\MKVtoolnix\mkvmerge.exe"
SET infile=%1
SET secondi=120
SET outdir="E:\REGISTRAZIONI SATELLITE\


TOGLIE APICI
SET nomeinfile=%~n1

Delay of 1 Hour
ping -n 3601 127.0.0.1 >NUL


%mencoderpath% %infile% -ovc x264 -x264encopts crf=20:threads=auto -oac copy -o %outdir%%nomeinfile%.avi"

ping 127.0.0.1 -n %secondi% -w 1000 > nul


%mkvmergepath% -o %outdir%%nomeinfile%.mkv" %outdir%%nomeinfile%.avi"


ping 127.0.0.1 -n %secondi% -w 1000 > nul


DEL %outdir%%nomeinfile%.avi"


ping 127.0.0.1 -n %secondi% -w 1000 > nul