Hi guys,
I’m currently working on the video encoding to get the presenter and presentation video side by side. A few days ago, Fernando gave me the advice to use the code from the Berkley forge. I was able to adopt the necessary java classes to my system and now I can call ffmpeg with two video file arguments.
The current problem is that my ffmpeg command contains double quotes for the filter and it works fine on the shell but when opencast fire the command to ffmpeg I get the following error:
[AVFilterGraph @ 0x1dc36a0] No such filter: '"'
This is my ffmpeg command:
ffmpeg -i dozentKurz.flv -i vgaKurz.flv -filter_complex "[0:v]setpts=PTS-STARTPTS, pad=iw*2:ih[bg];[1:v]setpts=PTS-STARTPTS[fg]; [bg][fg]overlay=main_w/2[out]" -map "[out]" -map 0:a -r 25 -vcodec libx264 -qscale 3 -deinterlace -acodec libfaac -ab 128k -ar 44100 output.mp4
and this the ffmpeg promt:
ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.21.100
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.21.100
[AVFilterGraph @ 0x1dc36a0] No such filter: '"'
Error configuring filters.
What did I miss?
Best regards,
Alexander