[FFmpeg-user] Problem with amerge

Tim Nicholson nichot20 at yahoo.com
Fri Jun 14 09:54:58 CEST 2013


On 13/06/13 17:39, Alex wrote:
> Hi all,
> 
> I have another Problem on our productive machine with amerge (Linux with

Then please start a new thread, and not hijack ann existing one....


> ffmpeg 1.2.1). On my windows test-system (latest static nigthly build)
> everything works fine. I used the following command:
> 
> /usr/bin/ffmpeg -y -i /dir1/dir2/dir2/dir4/file.mxf -filter:v yadif -s
> "1920x1080" -aspect "16:9" -r 25 -b:v 8000k -bt 8000k -vcodec libx264
> -pix_fmt yuv420p -f mp4 -pass 1 -fastfirstpass 1 -an -ss 00:00:00
> file_out.mxf && ffmpeg -y -i /dir1/dir2/dir2/dir4/file.mxf -f lavfi -i
> "amovie=/dir1/dir2/dir2/dir4/file.mxf:si=1 [a1];
> amovie=/dir1/dir2/dir2/dir4/file.mxf:si=2 [a2]; [a1][a2] amerge" -filter:v
> yadif -s "1920x1080" -aspect "16:9" -r 25 -b:v 8000k -bt 8000k -vcodec
> libx264 -pix_fmt yuv420p -f mp4 -pass 2 -fastfirstpass 0 -strict
> experimental -c:a aac -b:a 320k -ac 2 -ar 44100 -ss 00:00:00
> /dir1/dir2/dir2/dir4/file_out.mxf
> 

You appear to have your command split over several lines with no
escaping of the linefeeds or quoting, so ffmpeg thinks you have finished
defining the filter and bash thinks you are starting a new command.


> I don't have these directory sturcure on my test system. Could that be the
> problem? Did I forgot to escape or quote a character?
> 
> I've got the following error message:
> 
>  Metadata:
>     timecode        : 01:00:00:00
>   Duration: 00:03:17.08, start: 0.000000, bitrate: 55330 kb/s
>     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1 DAR
> 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
>     Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
>     Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
>     Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
>     Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
> [mxf @ 0x11ff560] broken or empty index
> [Parsed_amovie_0 @ 0x11a10e0] Channel layout is not set in output stream 0,
> guessed channel layout is 'mono'
> [lavfi @ 0x11fe8a0] Estimating duration from bitrate, this may be inaccurate
> Input #1, lavfi, from 'amovie=/dir1/dir2/dir2/dir4/file.mxf:si=1':
>   Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
>     Stream #1:0: Audio: pcm_s32le, 48000 Hz, mono, s32, 1536 kb/s
> [NULL @ 0x1217a60] Unable to find a suitable output format for '[a1]'
> [a1]: Invalid argument
> bash: [a2]: command not found
> bash: [a1][a2]: command not found
> 
> Thanks for your help!
> Alex
>[...]


-- 
Tim


More information about the ffmpeg-user mailing list