[MPlayer-users] cat files

Giacomo Comes comes at naic.edu
Wed Apr 25 17:19:17 CEST 2007


On Wed, Apr 25, 2007 at 05:04:23PM +0200, Philippe De Neve wrote:
> Hi All,
> 
> I tried concatenating files by:
> 
> cat berlitz_junior_raw.avi volver_raw.avi | mencoder -noidx   -oac  
> copy -ovc  copy -o out.avi -
> 
> this results in only the first file being copied to ou.avi. The  
> second file volver_raw.avi is not added. Strange.

Have you tryed:
mencoder -oac copy -ovc copy -o out.avi berlitz_junior_raw.avi volver_raw.avi

It should work or at least it should concatenate both source files.

Giacomo

> Has anybody an idea what could be going wrong?
> Below some output of mencoder and analyze with ffmpeg of both source  
> files.
> 
> tnx for all help, wfr, phil.
> 
> 
> MENCODER
> MEncoder 1.0pre8-3.3.5 (C) 2000-2006 MPlayer Team
> CPU: AMD Athlon(tm) XP 2200+ (Family: 6, Model: 8, Stepping: 1)
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
> 
> Reading from stdin...
> success: format: 0  data: 0x0 - 0x0
> AVI file format detected.
> VIDEO:  [I420]  320x240  24bpp  25.000 fps  23040.3 kbps (2812.5  
> kbyte/s)
> [V] filefmt:3  fourcc:0x30323449  size:320x240  fps:25.00  ftime:=0.0400
> videocodec: framecopy (320x240 24bpp fourcc=30323449)
> audiocodec: framecopy (format=1 chans=2 rate=44100 bits=16 B/s=176400  
> sample-4)
> Writing header...
> ODML: Aspect information not (yet?) available or unspecified, not  
> writing vprp header.
> Writing header...
> ODML: Aspect information not (yet?) available or unspecified, not  
> writing vprp header.
> Pos:  40.3s   1007f (100%) 278.48fps Trem:   0min 117mb  A-V:0.040  
> [23039:1411]
> Video stream: 23040.000 kbit/s  (2879999 B/s)  size: 116006400 bytes   
> 40.280 secs  1007 frames
> Writing index...
> Writing header...
> ODML: Aspect information not (yet?) available or unspecified, not  
> writing vprp header.
> 
> Video stream: 23040.000 kbit/s  (2879999 B/s)  size: 116006400 bytes   
> 40.280 secs  1007 frames
> 
> Audio stream: 1411.200 kbit/s  (176400 B/s)  size: 7105980 bytes   
> 40.283 secs
> 
> 
> FFMPEG -I BERLITZ_JUNIOR_RAW.AVI
> 
> FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
>    configuration:  --enable-mp3lame --enable-faad --enable-gpl -- 
> enable-faac --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb -- 
> enable-amr_if2 --enable-pthreads --enable-x264
>    libavutil version: 49.0.0
>    libavcodec version: 51.1.0
>    libavformat version: 50.0.0
>    built on Oct 12 2006 19:16:08, gcc: 3.3.5 (Debian 1:3.3.5-13)
> Input #0, avi, from 'berlitz_junior_raw.avi':
>    Duration: 00:00:40.2, start: 0.000000, bitrate: 24456 kb/s
>    Stream #0.0, fps: 25.00 fps(r): Video: Codec: rawvideo,  
> yuv420p,width: 320 height: 240
>    Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
> Must supply at least one output file
> 
> 
> FFMPEG -I  VOLVER_RAW.AVI
> FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
>    configuration:  --enable-mp3lame --enable-faad --enable-gpl -- 
> enable-faac --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb -- 
> enable-amr_if2 --enable-pthreads --enable-x264
>    libavutil version: 49.0.0
>    libavcodec version: 51.1.0
>    libavformat version: 50.0.0
>    built on Oct 12 2006 19:16:08, gcc: 3.3.5 (Debian 1:3.3.5-13)
> Input #0, avi, from 'volver_raw.avi':
>    Duration: 00:01:38.1, start: 0.000000, bitrate: 24577 kb/s
>    Stream #0.0, fps: 25.00 fps(r): Video: Codec: rawvideo,  
> yuv420p,width: 320 height: 240
>    Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
> Must supply at least one output file
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

-- 



More information about the MPlayer-users mailing list