Hi all,
I'm running the current beta version of DCP-o-matic (2.5.187 git 969546a2b5), and that one gives me errors whenever I want to add a video that I downloaded from YouTube:
The file is not added to the asset list, and nothing else can be done.
Can anybody tell me what is going on here and how to fix this? Is this a known error of the current beta?
I have uploaded a small sample file that throws this error to
New Link:
https://jmp.sh/50zcJdl
Any help is appreciated.
Cheers, Michael.
"Error: avcodec_send_packet_failed" when adding video
-
- Posts: 5
- Joined: Wed Sep 09, 2015 7:44 pm
"Error: avcodec_send_packet_failed" when adding video
Last edited by Hes on Tue Feb 15, 2022 1:10 pm, edited 1 time in total.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: "Error: avcodec_send_packet_failed" when adding video
When I try to download that file I get a 403 error. Can you send it to me instead? carl@dcpomatic.com
-
- Posts: 5
- Joined: Wed Sep 09, 2015 7:44 pm
Re: "Error: avcodec_send_packet_failed" when adding video
Hi,
that seems to be a problem with UDrop - even though the file is listed as shared I cannot download it either.
I will look into using another file sharing service, in the meantime, I just sent you the sample directly.
Cheers, Michael.
that seems to be a problem with UDrop - even though the file is listed as shared I cannot download it either.
I will look into using another file sharing service, in the meantime, I just sent you the sample directly.
Cheers, Michael.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: "Error: avcodec_send_packet_failed" when adding video
Hi,
This test version should fix the error when loading the file, but our decoder library FFmpeg does not seem to want to decode the sample video at all... perhaps it's to do with how you cut the segment out? Could you try that build with your full file and see what happens?
This test version should fix the error when loading the file, but our decoder library FFmpeg does not seem to want to decode the sample video at all... perhaps it's to do with how you cut the segment out? Could you try that build with your full file and see what happens?
-
- Posts: 5
- Joined: Wed Sep 09, 2015 7:44 pm
Re: "Error: avcodec_send_packet_failed" when adding video
Hi Carl,
i downloaded and installed the test version
But adding the clip still fails. I've tried it with both the small sample and the larger file (plus a third, completely different clip also downloaded from youtube) - all three just report a slightly different error than before:
So, I still can't load the files in question.
Cheers, Michael.
i downloaded and installed the test version
But adding the clip still fails. I've tried it with both the small sample and the larger file (plus a third, completely different clip also downloaded from youtube) - all three just report a slightly different error than before:
So, I still can't load the files in question.
Cheers, Michael.
-
- Posts: 5
- Joined: Wed Sep 09, 2015 7:44 pm
Re: "Error: avcodec_send_packet_failed" when adding video
Just a quick addendum: all three clips run without problems when using ffplay.exe (ffplay version 4.4.1-essentials_build-www.gyan.dev) running on Windows 10, so it does not seem to be a general compatibility issue with ffmpeg.
Cheers, Michael.
Cheers, Michael.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: "Error: avcodec_send_packet_failed" when adding video
Thanks, yes it looks like the DoM builds are missing the dav1d library.
-
- Posts: 2804
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: "Error: avcodec_send_packet_failed" when adding video
Another option to solve this is to load the videoclip from youtube again in MP4 format. There seem to be a lot of decent free online Youtube-MP4 converters around now that support also HD.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: "Error: avcodec_send_packet_failed" when adding video
It would be great if you could give this build a try.
-
- Posts: 5
- Joined: Wed Sep 09, 2015 7:44 pm
Re: "Error: avcodec_send_packet_failed" when adding video
Hi,
I quickly scanned a few files previously downloaded from YouTube, and the parsing errors seem to have vanished. So, it looks good, I will report back if I encounter any errors further down the DCP creation pipeline.
Thank you very much for your efforts!
Cheers, Michael.
I quickly scanned a few files previously downloaded from YouTube, and the parsing errors seem to have vanished. So, it looks good, I will report back if I encounter any errors further down the DCP creation pipeline.
Thank you very much for your efforts!
Cheers, Michael.