[FFmpeg-user] Using -filter_complex instead of lavfi with amerge hangs.

Tim Nicholson nichot20 at yahoo.com
Tue Jun 26 14:43:24 CEST 2012


On 26/06/12 13:35, Tim Nicholson wrote:
> On 26/06/12 11:54, Nicolas George wrote:
>> [..]
>> I need to add examples for amerge with -filter_complex. The syntax should be
>> something like that:
>>
>> -i LTA01631701.mxf -filter_complex '[0.1] [0.2] amerge [audio]' \
>>   -map 0.0 -map '[audio]'
>>
> 
> Hmmm. something is still not right.
> 
> ffmpeg -i LTA01631701.mxf -filter_complex "
> [0:1] [0:2] amerge [audio]" \
> -map 0:0 -map '[audio]' \
> -c:v dvvideo -pix_fmt yuv420p \
> -c:a pcm_s16le -ar 48k -ac 2 \
> -t 10 -y ./LTA01631701-4-1.mov
> 
> leads to:-
> 
> Stream mapping:
>   Stream #0:1 (pcm_s24le) -> amerge: (graph 0)
>   Stream #0:2 (pcm_s24le) -> amerge: (graph 0)
>   Stream #0:0 -> #0:0 (rawvideo -> dvvideo)
>   amerge (graph 0) -> Stream #0:1 (pcm_s16le)
> 
> 
> and now immediately gives me the progress line which runs at the
> expected speed....
> 
> frame=  250 fps= 28 q=0.0 Lsize=   37035kB time=00:00:10.00
> bitrate=30339.1kbits/s
> 
> but then hangs after the last frame and eventually returns a:-
> 
> 8424 Killed                  ffmpeg -i.......
> 
> In the meantime kernel CPU goes through the roof, as does swap usage.
> 

and ffprobe LTA01631701-4-1.mov (which is slightly smaller than the old
style version)

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17faa60] moov atom not found
LTA01631701-4-1.mov: Invalid data found when processing input

>> [..]
> 
> 


-- 
Tim




More information about the ffmpeg-user mailing list