This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Video format to get a clip from a DVD for kdenlive

Tags: None
(comma "," separated)
Edmundo
Registered Member
Posts
2
Karma
0

I want to make a new video from a **** DVD. I want to make some clips with mencoder so I can use them in kdenlive. I have tried with the mplayer's copy video codec, so that the frames are copied verbatim. But when I export the clip (to DV), the video and the sound (I'm using pcm@48khtz for the same reason: not to lose information) don't match together. The sound outpaces the video for about 5-8 seconds after just 80 seconds of play. So... is that because I'm using the "copy" output codec and so (maybe), there's no video header in the file? :?: Could I use another? I need a lossless one (or almost), remember.



This are the codes I have available with mencoder:


$ mencoder -ovc help -oac help
MEncoder 2:1.0~rc1-0ubuntu12 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Available codecs:
copy - frame copy, without re-encoding. Doesn't work with filters.
frameno - special audio-only file for 3-pass encoding, see DOCS.
raw - uncompressed video. Use fourcc option to set format explicitly.
nuv - nuppel video
lavc - libavcodec codecs - best quality!
vfw - VfW DLLs, read DOCS/HTML/en/encoding-guide.html.
qtvideo - QuickTime DLLs, currently only SVQ1/3 are supported.
libdv - DV encoding with libdv v0.9.5
xvid - XviD encoding
x264 - H.264 encoding


Available codecs:
copy - frame copy, without re-encoding (useful for AC3)
pcm - uncompressed PCM audio
mp3lame - cbr/abr/vbr MP3 using libmp3lame
lavc - FFmpeg audio encoder (MP2, AC3, ...)
faac - FAAC AAC audio encoder


Also, here's the mplayer output for one of the clips I made from the video:


$ mplayer tango\ 01.mpg
MPlayer 2:1.0~rc1-0ubuntu12 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Warning unknown option stopxscreensaver at line 129
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tango 01.mpg.
AVI file format detected.
VIDEO: [] 720x480 24bpp 29.970 fps 3799.9 kbps (463.9 kbyte/s)
Clip info:
Software: MEncoder 2:1.0~rc1-0ubuntu12
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (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))
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
A: 88.0 V: 88.0 A-V: 0.000 ct: 0.000 2638/2638 9% 1% 0.1% 4 0

Exiting... (End of file)


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]