Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

lagmoellertim
Hello,

currently, I'm getting this error:

Error while filtering: Cannot allocate memory
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #0:1

Here is the console output:
https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9
<https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9>  

This is the command I used:

ffmpeg -ss 240 -i video.mp4 -vsync 1 -async 1 -safe 0 -filter_complex_script
filter_script -y -map '[vout]' -map '[aout]' out.mp4

And here is the filter script:
https://gist.github.com/lagmoellertim/b1d7bd4b898c06ffcade9176733376f0



--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

Mark Filipak
On 06/04/2020 10:43 AM, lagmoellertim wrote:

> Hello,
>
> currently, I'm getting this error:
>
> Error while filtering: Cannot allocate memory
> Failed to inject frame into filter network: Cannot allocate memory
> Error while processing the decoded data for stream #0:1
>
> Here is the console output:
> https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9
> <https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9>
>
> This is the command I used:
>
> ffmpeg -ss 240 -i video.mp4 -vsync 1 -async 1 -safe 0 -filter_complex_script
> filter_script -y -map '[vout]' -map '[aout]' out.mp4
>
> And here is the filter script:
> https://gist.github.com/lagmoellertim/b1d7bd4b898c06ffcade9176733376f0

I have not analyzed your console output. However, I can tell you that the only time I've received a
"Cannot allocate memory" error was when I accidentally tried to process a video via an '-ss' delay
that was past the end of the video. Are you sure that '-ss 240' is what you intend? That's 4 minutes.

Hope this helps.
Mark.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

Carl Eugen Hoyos-2
In reply to this post by lagmoellertim
Am Do., 4. Juni 2020 um 16:43 Uhr schrieb lagmoellertim
<[hidden email]>:

> Error while filtering: Cannot allocate memory
> Failed to inject frame into filter network: Cannot allocate memory
> Error while processing the decoded data for stream #0:1
>
> Here is the console output:
> https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9
> <https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9>
>
> This is the command I used:
>
> ffmpeg -ss 240 -i video.mp4 -vsync 1 -async 1 -safe 0 -filter_complex_script
> filter_script -y -map '[vout]' -map '[aout]' out.mp4
>
> And here is the filter script:
> https://gist.github.com/lagmoellertim/b1d7bd4b898c06ffcade9176733376f0

For future questions: Please do not use external references for a few lines
of code and console output.

Either buy more memory or use the concat demuxer.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".