[MEncoder-users] EDL cuts not working with TS files.
stattik
stattik at gmail.com
Wed Dec 27 23:48:37 CET 2006
Hi,
I successfully used EDL files to edit mpg files for awhile and now I'm
working with TS files and I noticed that mencoder seems to ignore the EDL
files.
Here's the command line:
mencoder.exe input.ts -edl input.edl -ovc xvid -xvidencopts bitrate=1024
-oac mp3lame -o output.avi
Here's the contents of the EDL file:
3.03 3658.35 0
Here's the output:
MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 31, Stepping: 0)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x0
VIDEO MPEG2(pid=65) AUDIO A52(pid=68) NO SUBS (yet)! PROGRAM N. 0
Cannot seek backward in linear streams!
Seek failed
VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 19392.8 kbps (2424.1kbyte/s)
[V] filefmt:29 fourcc:0x10000002 size:1920x1080 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
xvid: using library version 1.1.0 (build xvid-1.1.0)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
MP3 audio selected.
Read 1 EDL actions.
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: XviD (1920x1080 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=1920x1080, sampled=1920x1080
xvid: CBR Rate Control -- bitrate=1024kbit/s
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...2f ( 0%) 0.00fps Trem: 0min 0mb A-V:-0.003 [0:0]
ODML: vprp aspect is 16:9.
Setting audio delay to 0.024s.
Writing header...
ODML: vprp aspect is 16:9.
Setting audio delay to 0.024s.
1 duplicate frame(s)!
Pos: 0.6s 22f ( 0%) 1.78fps Trem: 0min 0mb A-V:-0.070 [0:153]
1 duplicate frame(s)!
a52: CRC check failed! ) 1.80fps Trem: 0min 0mb A-V:-0.060 [0:159]
a52: error at resampling
Pos: 1.0s 33f ( 0%) 1.79fps Trem: 0min 0mb A-V:-0.067[5719:158]
1 duplicate frame(s)!
Pos: 1.4s 44f ( 0%) 1.86fps Trem: 0min 0mb A-V:-0.067 [4735:165]
1 duplicate frame(s)!
Pos: 1.8s 54f ( 0%) 1.93fps Trem: 0min 0mb A-V:-0.067 [4014:168]
1 duplicate frame(s)!
Pos: 2.2s 64f ( 0%) 1.95fps Trem: 0min 0mb A-V:-0.067 [3438:167]
1 duplicate frame(s)!
Pos: 2.5s 74f ( 0%) 1.97fps Trem: 0min 0mb A-V:- 0.067[3035:167]
1 duplicate frame(s)!
Pos: 2.9s 84f ( 0%) 1.88fps Trem: 0min 0mb A-V:-0.067 [2889:166]
1 duplicate frame(s)!
Pos: 3.3s 95f ( 0%) 1.84fps Trem: 0min 0mb A-V:-0.067 [2685:165]
1 duplicate frame(s)!
Pos: 3.7s 105f ( 0%) 1.81fps Trem: 0min 0mb A-V:-0.067 [2491:163]
1 duplicate frame(s)!
Pos: 4.1s 117f ( 0%) 1.78fps Trem: 0min 0mb A-V:-0.067 [2467:162]
...
Mencoder reads the EDL action but doesn't perform the edit. I've tried this
with different versions with the same result.
Any help would be greatly appreciated.
More information about the MEncoder-users
mailing list