View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000560||Cinelerra-GG||[All Projects] Bug||public||2021-03-11 08:33||2021-03-16 01:18|
|Platform||X86_64||OS||Mint XFCE||OS Version||19.3|
|Target Version||Fixed in Version|
|Summary||0000560: Render errors not clear unless CinGG started from terminal|
|Description||Trying to render a 4K movie to DNxHR_HQX, it kept failing without telling me what was wrong.|
When I ran CinGG from a terminal it showed some errors:
[dnxhd @ 0x7f04dc0b1d80] pixel format is incompatible with DNxHR HQX profile
[dnxhd @ 0x7f04dc0b1940] ff_frame_thread_encoder_init failed
FFMPEG::open_encoder err: Operation not permitted
int FFMPEG::open_encoder(const char*, const char*):
open failed dnxhd:/home/mat/Videos/LG_trailer_4K_dnxhr_hqx.mov
The last two lines are displayed in a popup window, it would be helpful if the actual error "pixel format incompatible" was shown too.
|Tags||No tags attached.|
|Well, I was wrong because the error message: "[dnxhd @ 0x7f04dc0b1d80] pixel format is incompatible with DNxHR HQX profile" appears to come out of ffmpeg and not cinelerra so I can not fix that. Maybe when Andrew becomes available again, he can verify this for us.|
It is easy for even me to change. error messages printing inside of the Cinelerra popup window. All that needs to be changed is a "printf" to "eprintf". The only problem is which statements to change so as not to overwhelm users with error messages because sometimes they are only informative and Cinelerra can continue to operate. For example, this one:
"FFMPEG::open_decoder: some stream times estimated: /root/Downloads/animals_like_us_cultural_life_orcas_captivity_3min.avi
which can occur dozens or even hundreds of times when working on a file and it is not an error. I will see if I can determine which specific printf would need to be changed for the above listed lines. But there is no printf that only goes to the popup as far as I can tell.
Also, the error message that is shown is wrong.
It says "Could not open <filename>" which is wrong. It can open the file fine, the ffmpeg encoding fails.
In addition, there are three pop-up windows, where one should be enough:
window 1: Cinelerra: Messages
window 2: Cinelerra: Error (failed to open file)
window 3: Cinelerra: Error (error rendering data)
Maybe it is possible to just display the last one, with more info about why rendering failed, and point to the message log which then should be viewable via a main menu entry?
|2021-03-11 08:33||MatN||New Issue|
|2021-03-11 09:10||MatN||Note Added: 0004671|
|2021-03-13 02:19||PhyllisSmith||Assigned To||=> PhyllisSmith|
|2021-03-13 02:19||PhyllisSmith||Status||new => acknowledged|
|2021-03-13 02:19||PhyllisSmith||Note Added: 0004688|
|2021-03-13 02:20||PhyllisSmith||Note Edited: 0004688||View Revisions|
|2021-03-13 02:22||PhyllisSmith||Note Edited: 0004688||View Revisions|
|2021-03-13 02:37||PhyllisSmith||Note Edited: 0004688||View Revisions|
|2021-03-16 01:18||PhyllisSmith||Note Added: 0004693|