[MPlayer-users] cat files

Philippe De Neve philippe.deneve at intec.ugent.be
Wed Apr 25 18:05:35 CEST 2007


Yes, I saw that the sampling rates were different and reencoded the  
source files. Now there are the same (as far as I can check with  
ffmpeg).
I tried the configuration without pipes and the file playedback  
succesfull with correct audio. With pipes I cannot realize this.

And of course: With pipe1.avi I mean pipe.avi :)


On 25 Apr 2007, at 17:53, Michel Bardiaux wrote:

> Philippe De Neve wrote:
>> Tnx
>>
>>> mencoder -oac copy -ovc copy -o out.avi berlitz_junior_raw.avi
>>> volver_raw.avi
>>
>> this seems to work.
>>
>> But now I want to pipe the output to ffmpeg? I tried:
>>
>> mencoder -oac copy -ovc copy -o pipe.avi berlitz_junior_raw.avi
>> volver_raw.avi
>>
>> ffmpeg -i pipe.avi -vcodec mpeg4 -acodec aac out.mp4
>>
>> ...but this results in an ffmpeg error:
>>
>> "pipe1.avi: error while opening files"
>>
>> Any info, hints on this one?
>
> For one thing, the audio sampling rates are different on berlitz and
> volver. Does mencoder tell you it converted the 2nd audio?
>
> And why a message about "pipe1.avi"? Are you sure you did not use -i
> pipe1.avi, then retyped the command here instead of copy/paste?
>
>>
>> regards, Philippe.
>>
>>
>>
>> On 25 Apr 2007, at 17:19, Giacomo Comes wrote:
>>
>>> 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
>
> -- 
> Michel Bardiaux
> R&D Director
> T +32 [0] 2 790 29 41
> F +32 [0] 2 790 29 02
> E mailto:mbardiaux at mediaxim.be
>
> Mediaxim NV/SA
> Vorstlaan 191 Boulevard du Souverain
> Brussel 1160 Bruxelles
> http://www.mediaxim.com/
> _______________________________________________
> 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