Comments (8)
Hey, I don't know what the error actually is about but the tmp file is deleted even if the script crashes. If you want to keep the tmp file find the line that starts with with NamedTemporaryFile
and add delete=False
, here's how it should look.
with NamedTemporaryFile(prefix="mpdecimate_trim.",delete=False) as fg:
from mpdecimate_trim.
Yes, @cdeneen is correct, the file gets deleted after the script completes, regardless of the outcome.
It looks like the filter script generated for ffmpeg is somehow incorrect.
The only case I know when this can happen is when the input file has no audio track(s). I might fix this at some point, but it is low priority for me.
Otherwise, it would be best if you could capture the filter file, like @cdeneen described.
Thanks!
from mpdecimate_trim.
@KenjiTakahashi , the resulting file only has audio track with the same length of the original video file. Looks like the audio track is written to the mp4 file and video is skipped.
from mpdecimate_trim.
@nvsankaran Would need more details. I.e. what OS you're running on, whether you use VAAPI acceleration, a capture of the file mentioned above wouldn't hurt either. If you can share the input file you're trying to transcode, that'd be great as well.
Regardless of that, doesn't seem related to this issue, please open a new one.
from mpdecimate_trim.
@nvsankaran Would need more details. I.e. what OS you're running on, whether you use VAAPI acceleration, a capture of the file mentioned above wouldn't hurt either. If you can share the input file you're trying to transcode, that'd be great as well. Regardless of that, doesn't seem related to this issue, please open a new one.
I'm having same issue. I am on Windows 10, using Python 3.7.9. Here's the console output.
If I missed some details, please lmk. I really don't know what's relevant.
from mpdecimate_trim.
from mpdecimate_trim.
I think there was an argument that I changed - true to false.
…
On Tue, Oct 11, 2022, 6:03 PM Lucario443 @.> wrote: @nvsankaran https://github.com/nvsankaran Would need more details. I.e. what OS you're running on, whether you use VAAPI acceleration, a capture of the file mentioned above wouldn't hurt either. If you can share the input file you're trying to transcode, that'd be great as well. Regardless of that, doesn't seem related to this issue, please open a new one. I'm having same issue. I am on Windows 10, using Python 3.7.9. Here's the console output. [image: Console] https://user-images.githubusercontent.com/25930893/195213717-6686af09-3cd8-45b1-b78a-f30d35e4c680.png — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKUAGQAMJYWK5T3KQUFTV3WCXW3HANCNFSM43HFZIGQ . You are receiving this because you were mentioned.Message ID: @.>
Is there any way to fix this?
from mpdecimate_trim.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpdecimate_trim.