[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

need info on video extraction with mencoder



i use mencoder to record tv programs
often i need to remove ad from a video file
i use -ss and -endpos switch to select part of a video file
but it doesn't work perfectly
i specify the options in seconds
but sometime it may include more video than i need
if i shorten time, it may omit some video that i need

they say you can't cut into a frame
is there some solution to this problem? Thanks!

below is script that i use to record:
mencoder -tv alsa:input=3:driver=v4l2:width=768:height=576 \
    -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=150:vhq:vqmax=31:keyint=300 \
    -oac mp3lame -lameopts cbr:br=48 -sws 1 -vf pp=lb,scale=384:288 tv:// \
    -endpos 3600  -o output15.avi   

Reply to: