Same type or not ...
Hi, we have a strange problem with joining video. We would like to edit video in non-linear video editor KDEnlive http://kdenlive.sf.net, but we need to edit only start and final part (add short clips with fade out and in created from pictures). We had idea to split video to 3 parts: beginnig (10s), middle, end (10s) by mencoder edit beginning and end and join again (to evoid render whole video in KDEnlive). No problem to split it. But KDEnlive change samplerate of sound from 32 000 Hz to 48 000 Hz and it is problem to join it with middle. So we repare this by mencoder. But we are not able to join again. Mencoder writes: All video files must have identical fps, resolution, and codec for -ovc copy, but these videos should be same?????? Jirka (GeBu) These videos are here: ftp://mplayer:mplayer@147.229.23.250/ Start from KDEnlive 2-start-mod.avi Start after reparing samplerate 2-start-mod2.avi Midle 2-stred-5s.avi End from KDEnlive 2-konec-mod.avi End after reparing samplerate 2-konec-mod2.avi Try to join 2-stred-5s.avi and 2-start-mod2.avi This is from Windows, but on Linux it is the same mencoder.exe 2-stred-5s.avi 2-konec-mod.avi -oac copy -ovc copy -o pp.avi MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 7) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled with runtime CPU detection. success: format: 0 data: 0x0 - 0x11ebbd4 AVI file format detected. VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s) [V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.00 ftime:=0.0400 videocodec: framecopy (720x576 24bpp fourcc=64737664) audiocodec: framecopy (format=1 chans=2 rate=32000 bits=16 B/s=128000 sample-4) Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader. Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader. success: format: 0 data: 0x0 - 0x39e292a 0min 17mb A-V:0.040 [28800:1024] AVI file format detected. VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s) [V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.00 ftime:=0.0400 videocodec: framecopy (720x576 24bpp fourcc=64737664) videocodec: framecopy (720x576 24bpp fourcc=64737664) All video files must have identical fps, resolution, and codec for -ovc copy. Exiting...
It is very very interesting. I compare output from mplayer -identify (see attachement) and there are absolutly same (different names of files and length)!!!!!!???????? Jirka (GeBu) GeBu napsal(a):
Hi, we have a strange problem with joining video. We would like to edit video in non-linear video editor KDEnlive http://kdenlive.sf.net, but we need to edit only start and final part (add short clips with fade out and in created from pictures). We had idea to split video to 3 parts: beginnig (10s), middle, end (10s) by mencoder edit beginning and end and join again (to evoid render whole video in KDEnlive). No problem to split it. But KDEnlive change samplerate of sound from 32 000 Hz to 48 000 Hz and it is problem to join it with middle. So we repare this by mencoder. But we are not able to join again. Mencoder writes: All video files must have identical fps, resolution, and codec for -ovc copy, but these videos should be same?????? Jirka (GeBu)
These videos are here: ftp://mplayer:mplayer@147.229.23.250/ Start from KDEnlive 2-start-mod.avi Start after reparing samplerate 2-start-mod2.avi Midle 2-stred-5s.avi End from KDEnlive 2-konec-mod.avi End after reparing samplerate 2-konec-mod2.avi
Try to join 2-stred-5s.avi and 2-start-mod2.avi
This is from Windows, but on Linux it is the same mencoder.exe 2-stred-5s.avi 2-konec-mod.avi -oac copy -ovc copy -o pp.avi
MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, Stepping: 7) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled with runtime CPU detection. success: format: 0 data: 0x0 - 0x11ebbd4 AVI file format detected. VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s) [V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.00 ftime:=0.0400 videocodec: framecopy (720x576 24bpp fourcc=64737664) audiocodec: framecopy (format=1 chans=2 rate=32000 bits=16 B/s=128000 sample-4) Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader. Writing header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp h eader. success: format: 0 data: 0x0 - 0x39e292a 0min 17mb A-V:0.040 [28800:1024] AVI file format detected. VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s) [V] filefmt:3 fourcc:0x64737664 size:720x576 fps:25.00 ftime:=0.0400 videocodec: framecopy (720x576 24bpp fourcc=64737664) videocodec: framecopy (720x576 24bpp fourcc=64737664)
All video files must have identical fps, resolution, and codec for -ovc copy.
Exiting... _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Playing 2-start-mod2.avi. AVI file format detected. ID_VIDEO_ID=0 ID_AUDIO_ID=1 VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s) Clip info: Software: MEncoder 2:0.99+1.0pre8-0ubuntu8 ID_CLIP_INFO_NAME0=Software ID_CLIP_INFO_VALUE0=MEncoder 2:0.99+1.0pre8-0ubuntu8 ID_CLIP_INFO_N=1 ID_FILENAME=2-start-mod2.avi ID_DEMUXER=avi ID_VIDEO_FORMAT=dvsd ID_VIDEO_BITRATE=28800000 ID_VIDEO_WIDTH=720 ID_VIDEO_HEIGHT=576 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=1 ID_AUDIO_BITRATE=1024000 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=17.88 ========================================================================== Opening video decoder: [dshow] DirectShow video codecs Decoder supports the following YUV formats: YUY2 UYVY Decoder is capable of YUV output (flags 0x9) VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2) [PP] Using codec's postprocessing, max q = 4. VDec: using Packed YUY2 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [directx] 720x576 => 720x576 Packed YUY2 VideoDecoder::SetExtAttr: registry failure Selected video codec: [qdv] vfm: dshow (Sony Digital Video (DV)) ========================================================================== ID_VIDEO_CODEC=qdv ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000) ID_AUDIO_BITRATE=1024000 ID_AUDIO_RATE=32000 ID_AUDIO_NCH=2 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== AO: [dsound] 32000Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=pcm Starting playback... MPlayer interrupted by signal 11 in module: decode_video ID_SIGNAL=11 - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. Playing 2-stred-5s.avi. AVI file format detected. ID_VIDEO_ID=0 ID_AUDIO_ID=1 VIDEO: [dvsd] 720x576 24bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s) Clip info: Software: MEncoder 2:0.99+1.0pre8-0ubuntu8 ID_CLIP_INFO_NAME0=Software ID_CLIP_INFO_VALUE0=MEncoder 2:0.99+1.0pre8-0ubuntu8 ID_CLIP_INFO_N=1 ID_FILENAME=2-stred-5s.avi ID_DEMUXER=avi ID_VIDEO_FORMAT=dvsd ID_VIDEO_BITRATE=28800000 ID_VIDEO_WIDTH=720 ID_VIDEO_HEIGHT=576 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=1 ID_AUDIO_BITRATE=1024000 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=5.04 ========================================================================== Opening video decoder: [dshow] DirectShow video codecs Decoder supports the following YUV formats: YUY2 UYVY Decoder is capable of YUV output (flags 0x9) VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2) [PP] Using codec's postprocessing, max q = 4. VDec: using Packed YUY2 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [directx] 720x576 => 720x576 Packed YUY2 VideoDecoder::SetExtAttr: registry failure Selected video codec: [qdv] vfm: dshow (Sony Digital Video (DV)) ========================================================================== ID_VIDEO_CODEC=qdv ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000) ID_AUDIO_BITRATE=1024000 ID_AUDIO_RATE=32000 ID_AUDIO_NCH=2 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== AO: [dsound] 32000Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=pcm Starting playback... MPlayer interrupted by signal 11 in module: decode_video ID_SIGNAL=11 - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.
participants (1)
-
GeBu