[FFmpeg-user] Escaping/Quoting Problem

Alex doenerbudenchef at yahoo.de
Mon Jun 17 10:55:35 CEST 2013


Hi all,

I still have problems quoting/escaping my ffmpeg 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 

with the following bash error:

 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 


It would be great, if someone could help me to correct this command.

Thanks in advance,
Alex



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Escaping-Quoting-Problem-tp4659594.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list