[MEncoder-users] TV recording with mencoder

Artur Iwaniuk aiwaniuk at gmail.com
Tue Nov 15 13:12:01 CET 2005


hi all

i'v faced continiusly recording of tv station problem and use mencoder
for that purpose. i wanted to record one hour of program in single
file. now, mencoder is running in never ending loop, and in specyfy
time, mencoder ends coding, and runs once again. but this leeds to
missing of 4-7 seconds of recorded channel.

i'v think to use two mencoders connected by pipe. first one, reads
data from video device, and in raw form sends into pipe. second
mencoder reads pipe and endcocde data to avi format. but raw format
only supports video, not audio. if i use copy voc, second mencoder
cannot use data from pipe.

now i am modifying source of mencoder, to, as he ends recording, jump
into point where muxer_f is opened to, without closing video device,
start writing data into next file. basicly, it works, howerer after
each loop, mencoder consumes more and more memory. after five hours
memory ends, and mencoder process is terminated by system.

have anyone could give me suggestion, how to do not miss  those seconds ?

krioni




More information about the MEncoder-users mailing list