Opened 11 years ago
#2104 new defect
hr-edl-seek does not work
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | mencoder |
Version: | HEAD | Severity: | minor |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
hi! I usually recorded movies from TV (using dvbstreamer) as MPEG TS.
Sometimes I try to cut out commercials from movies.
To this end I convert MPEG TS to MPEG PS using
# mencoder -quiet -demuxer lavf -profile mpeg.copy ....
so that timestamps are sane; then use
# mplayer -edlout
to mark commercials,
then convert to h264 using
# mencoder -edl
In its usual form -edl is not very precise, it seeks to the nearest keyframe AFAICT ; for this reason there is an option -hr-edl-seek for mencoder . I tried it a few times, but it does not work well
When trying
# mencoder -edl a.edl ....
it happens that the audio and video are badly disaligned;
When trying
# mencoder -demuxer lavf -edl a.edl ....
the audio is not converted, and a lot of errors are printed, such as
Too many video packets in the buffer: (1955 in 33555382 bytes). ETC ETC
BTW , I am using this version:
GIT d292fc90b07d48eef889588541872c7e1d61a93c
SVN 35338
Thanks. a.