-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key Error: height #5
Comments
i have the same error, ive tried changing the resolution, copying the file, re downloading the file. converting it into other files beside mp4. and yet cant get it to work. ive used the plugin for 3 other videos and no problem but for some reason this one just dosent want to work. please tell me if you find a fix. |
@NotRuben - what are you using to export out these videos. The tool that reads in the data here is "FFprobe" which comes with ffmpeg. It can not tell what the dimensions are for the video file. You can either try to link to the video file here, or manually run ffprobe from your computer to see where the video file is keeping that information. See this answer on how to check the video file manually with ffprobe... https://askubuntu.com/a/577431 |
I use sony vegas to render the clip... |
|
please help i cant do anything |
i have reinstalled krita, the plugin, and ffmpeg. ive restarted my pc. i have linked ffmpeg to krita and to environmental. but nothing is working. |
@NotRuben - You are going to have to attach a small video file that is having issues so I can see what is going on. I haven't changed this plugin for a while, so there hasn't been an update to this that might have broken something. I am guessing this Vegas program is creating a video file that is either storing things in a different place...or just isn't storing anything at all with the dimensions. |
I figured it out... kinda hard but..
i downloaded "virtualdub" a long time ago because i would make csgo edits and export the recordings as individual pngs for higher quality. open virtualdub file>open video file open krita this is the only way i have found to edit a clip from sony vegas and use it in krita... thanks for your help! |
alright. If you could send me a small sample video, I could try to import it and modify my plugin to look for other places that the height data might be stored in. That was the main reason I was interested in you uploading a video clip. That way you wouldn't need that workaround with however virtual dub is saving the video file. |
i can do that, the only reason why i haven't sent the video is because i haven't been home. ive just been using chrome remote desktop and Teamviewer. I can record a sample video when i get home. |
- Checks codec_type for video before setting which stream to use ( Should fix issue scottpetrovic#5 )
@NotRuben - Take a look at my pull request and see if it fixes your issue. Looking at your error report
Your first stream seems to be an AAC audio stream instead of a video stream. Obviously an audo stream has no height. The video stream is your 2nd stream. The patch goes through the streams and picks the first video stream instead of the first stream. That should address your issue. Try to see if it works. |
I encountered this problem when opening a mp4 file. It doesn't seem to be able to open it correctly. Ffmpeg is apparently working correctly.
This is the output I got, can't really work out what's the problem...
The text was updated successfully, but these errors were encountered: