[FFmpeg-user] generating silent audio streams simultaneous with lavfi / generated video

James Heliker james.heliker at gmail.com
Wed Jul 1 03:01:37 CEST 2015


Hi All -

One more question for tonight. I'm generating an XDCAM slate using this 
command:

C:\ffmpeg.exe -f lavfi -i color=c=black:s=1920x1080 -frames:v 10 -r 
29.97 -vf "drawtext=fontfile=/Windows/Fonts/arial.ttf: fontcolor=white: 
fontsize=48: 
fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='testing'" 
-pix_fmt yuv422p -vcodec mpeg2video -non_linear_quant 1 -flags 
+ildct+ilme -top 1 -dc 10 -intra_vlc 1 -qmax 3 -lmin "1*QP2LAMBDA" -vtag 
xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 15 -b:v 50000k -minrate 
50000k -maxrate 50000k -bufsize 8000k -acodec pcm_s24le -ar 48000 -bf 2 
-ac 8 slate_output.mxf

However that results in a file with only video stream - no audio. I need 
8 silent mono audio streams to accompany the slate for the same duration 
(10 frames).

I've tried many options per Google with aevalsrc etc., but have been 
unsuccessful in getting the color / drawtext to work at the same time as 
aevalsrc.

Any help, again, would be very much appreciated!!

I don't have uncut console output to show as the above command is 
successfully generating an XDCAM file - just without the desired 8 mono 
audio streams...

-- 
Kind Regards,

  - James Heliker



More information about the ffmpeg-user mailing list