You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Boris Sagadin <bo...@infosplet.com> on 2021/02/08 19:04:49 UTC

ffmpeg options

Hi,

"mp4 generation" when producing the recordings file fails, relevant
lines from log:

process: generate MP4
command: ffmpeg -y -i
/opt/open502/webapps/openmeetings/data/streams/1/rec_30_pod_0.mp4 -i
/opt/open502/webapps/dars/data/streams/1/rec_30_pod_1.mp4 -i
/opt/open502/webapps/openmeetings/data/streams/1/INTERVIEW_30_FINAL_WAVE.wav
-filter_complex [0:v][1:v]hstack=inputs=2[v] -map [v] -map 2:a -qmax 1
-qmin 1 -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -vf
pad=ceil(iw/2)*2:ceil(ih/2)*2 -preset medium -profile:v baseline
-level 3.0 -movflags faststart -c:a aac -ar 48000 -b:a 256k -s 640x260
/opt/open502/webapps/openmeetings/data/streams/hibernate/93067b79-7938-48e1-bab9-fee123dfd55f.mp4
exception: null
...
and error msg is:

Filtergraph 'pad=ceil(iw/2)*2:ceil(ih/2)*2' was specified through the
-vf/-af/-filter option for output stream 0:0, which is fed from a
complex filtergraph.
-vf/-af/-filter and -filter_complex cannot be used together for the same stream.
exitValue: 1

Tried with ffmpeg 4.0 and latest 4.3.1, same error.

If I run the same command in the command line and omit the "-vf"
options, generation succeeds.


Kind regards,
Boris

Re: ffmpeg options

Posted by Maxim Solodovnik <so...@gmail.com>.
https://issues.apache.org/jira/browse/OPENMEETINGS-2592

On Tue, 9 Feb 2021 at 16:01, Maxim Solodovnik <so...@gmail.com> wrote:

> Hello Boris,
>
> thanks for report
> I'll try to double check with ffmpeg 4
>
> and probably move `vf` to filter graph (hopefully)
>
> On Tue, 9 Feb 2021 at 02:05, Boris Sagadin <bo...@infosplet.com> wrote:
>
>> Hi,
>>
>> "mp4 generation" when producing the recordings file fails, relevant
>> lines from log:
>>
>> process: generate MP4
>> command: ffmpeg -y -i
>> /opt/open502/webapps/openmeetings/data/streams/1/rec_30_pod_0.mp4 -i
>> /opt/open502/webapps/dars/data/streams/1/rec_30_pod_1.mp4 -i
>>
>> /opt/open502/webapps/openmeetings/data/streams/1/INTERVIEW_30_FINAL_WAVE.wav
>> -filter_complex [0:v][1:v]hstack=inputs=2[v] -map [v] -map 2:a -qmax 1
>> -qmin 1 -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -vf
>> pad=ceil(iw/2)*2:ceil(ih/2)*2 -preset medium -profile:v baseline
>> -level 3.0 -movflags faststart -c:a aac -ar 48000 -b:a 256k -s 640x260
>>
>> /opt/open502/webapps/openmeetings/data/streams/hibernate/93067b79-7938-48e1-bab9-fee123dfd55f.mp4
>> exception: null
>> ...
>> and error msg is:
>>
>> Filtergraph 'pad=ceil(iw/2)*2:ceil(ih/2)*2' was specified through the
>> -vf/-af/-filter option for output stream 0:0, which is fed from a
>> complex filtergraph.
>> -vf/-af/-filter and -filter_complex cannot be used together for the same
>> stream.
>> exitValue: 1
>>
>> Tried with ffmpeg 4.0 and latest 4.3.1, same error.
>>
>> If I run the same command in the command line and omit the "-vf"
>> options, generation succeeds.
>>
>>
>> Kind regards,
>> Boris
>>
>
>
> --
> Best regards,
> Maxim
>


-- 
Best regards,
Maxim

Re: ffmpeg options

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Boris,

thanks for report
I'll try to double check with ffmpeg 4

and probably move `vf` to filter graph (hopefully)

On Tue, 9 Feb 2021 at 02:05, Boris Sagadin <bo...@infosplet.com> wrote:

> Hi,
>
> "mp4 generation" when producing the recordings file fails, relevant
> lines from log:
>
> process: generate MP4
> command: ffmpeg -y -i
> /opt/open502/webapps/openmeetings/data/streams/1/rec_30_pod_0.mp4 -i
> /opt/open502/webapps/dars/data/streams/1/rec_30_pod_1.mp4 -i
>
> /opt/open502/webapps/openmeetings/data/streams/1/INTERVIEW_30_FINAL_WAVE.wav
> -filter_complex [0:v][1:v]hstack=inputs=2[v] -map [v] -map 2:a -qmax 1
> -qmin 1 -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -vf
> pad=ceil(iw/2)*2:ceil(ih/2)*2 -preset medium -profile:v baseline
> -level 3.0 -movflags faststart -c:a aac -ar 48000 -b:a 256k -s 640x260
>
> /opt/open502/webapps/openmeetings/data/streams/hibernate/93067b79-7938-48e1-bab9-fee123dfd55f.mp4
> exception: null
> ...
> and error msg is:
>
> Filtergraph 'pad=ceil(iw/2)*2:ceil(ih/2)*2' was specified through the
> -vf/-af/-filter option for output stream 0:0, which is fed from a
> complex filtergraph.
> -vf/-af/-filter and -filter_complex cannot be used together for the same
> stream.
> exitValue: 1
>
> Tried with ffmpeg 4.0 and latest 4.3.1, same error.
>
> If I run the same command in the command line and omit the "-vf"
> options, generation succeeds.
>
>
> Kind regards,
> Boris
>


-- 
Best regards,
Maxim