Bug 437598

Summary: Failed to create proxy: tag mp4a incompatible w/ codec
Product: [Applications] kdenlive Reporter: Matt Eastwood <mr.matt.eastwood>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: normal CC: julius.kuenzel, mazin07+kde
Priority: NOR    
Version: 21.04.1   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt Eastwood 2021-05-24 09:12:24 UTC
SUMMARY


STEPS TO REPRODUCE
1. Install Kdenlive flatpak on Linux Mint 20.1 Cinnamon
2. Record an mp4 with SimpleScreenRecorder (https://www.maartenbaert.be/simplescreenrecorder/)
3. Open new project in Kdenlive with proxiy clips enabled
4. Drag mp4 from step 2 in to project bin

OBSERVED RESULT
Kdenlive fails to create a proxy clip for the mp4 created in step 2, showing this error message: https://pasteboard.co/JZyHzI4.png

EXPECTED RESULT
Kdenlive should be able to create the proxy clip.


SOFTWARE/OS VERSIONS
Linux Mint 20.1 Cinnamon 64-bit
Qt Version: 5 I think

ADDITIONAL INFORMATION
My system specs: https://termbin.com/ab2c
Bug originally reported in the KDE forums here: https://forum.kde.org/viewtopic.php?f=272&t=171054

Full log from the command line:

thebrightside@CHAINSAWBOI:~/Appdata/Games/GZDoom/Tools/ZDL_3-1.1_Linux_x64$ flatpak run org.kde.kdenlive
Qt: Session management error: None of the authentication protocols specified are supported
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
=================BUILDING PROFILE REPOSITORY

========================
Invalid metadata for "telecide"
Failed to parse "telecide"
Invalid metadata for "deinterlace"
Failed to parse "deinterlace"
Invalid metadata for "jack"
Failed to parse "jack"
Invalid metadata for "avcolour_space"
Failed to parse "avcolour_space"
Invalid metadata for "avcolor_space"
Failed to parse "avcolor_space"
Invalid metadata for "avdeinterlace"
Failed to parse "avdeinterlace"
Invalid metadata for "swscale"
Failed to parse "swscale"
Invalid metadata for "swresample"
Failed to parse "swresample"
Invalid title/identifier for "vidstab"
Failed to parse "vidstab"
Invalid metadata for "glsl.manager"
Failed to parse "glsl.manager"
Invalid metadata for "movit.convert"
Failed to parse "movit.convert"
Invalid metadata for "movit.crop"
Failed to parse "movit.crop"
Invalid metadata for "movit.resample"
Failed to parse "movit.resample"
Invalid metadata for "movit.resize"
Failed to parse "movit.resize"
Invalid metadata for "audiochannels"
Failed to parse "audiochannels"
Invalid metadata for "audioconvert"
Failed to parse "audioconvert"
Invalid metadata for "data_feed"
Failed to parse "data_feed"
Invalid metadata for "imageconvert"
Failed to parse "imageconvert"
Invalid title/identifier for "crop_detect"
Failed to parse "crop_detect"
Unknown asset "avfilter.acompressor"
Unknown asset "avfilter.aecho"
Unknown asset "avfilter.agate"
Unknown asset "avfilter.atadenoise"
Unknown asset "avfilter.bwdif"
Unknown asset "avfilter.deblock"
Unknown asset "avfilter.dedot"
Unknown asset "avfilter.deflate"
Unknown asset "avfilter.derain"
Unknown asset "avfilter.doubleweave"
Unknown asset "avfilter.field"
Unknown asset "avfilter.framestep"
Unknown asset "avfilter.fspp"
Unknown asset "avfilter.graphmonitor"
Unknown asset "avfilter.hqdn3d"
Unknown asset "avfilter.inflate"
Unknown asset "avfilter.lagfun"
Unknown asset "avfilter.random"
Unknown asset "avfilter.removegrain"
Unknown asset "avfilter.separatefields"
Unknown asset "avfilter.shuffleplanes"
Unknown asset "avfilter.sr"
Unknown asset "avfilter.tmix"
Unknown asset "avfilter.w3fdif"
Unknown asset "avfilter.weave"
Unknown asset "avfilter.yadif"
Unknown asset "frei0r.baltan"
Unknown asset "frei0r.bgsubtract0r"
Unknown asset "frei0r.delay0r"
Unknown asset "frei0r.delaygrab"
Unknown asset "frei0r.facebl0r"
Unknown asset "frei0r.facedetect"
Unknown asset "frei0r.lightgraffiti"
Unknown asset "frei0r.lightgraffiti"
Unknown asset "movit.unsharp_mask"
Unknown asset "region"
Unknown asset "timewarp"
Unknown asset "vidstab"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
QObject::disconnect: Unexpected nullptr parameter
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:1868:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
=== REG FOCUS:  false
/////////// creatclipsfromlist (QUrl("file:///home/thebrightside/Multimedia/Videos/Random/2021-04-29 BB UI Enh Trailer/bb-enh-trailer-2021-04-29_08.59.48.mp4")) true "-1"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
 "Not connected to D-Bus server"
virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices()  error:  "org.freedesktop.DBus.Error.Disconnected"
/////////// createClipFromFile "/home/thebrightside/Multimedia/Videos/Random/2021-04-29 BB UI Enh Trailer/bb-enh-trailer-2021-04-29_08.59.48.mp4" "-1"
=== GOT DROPPED MIME:  "video/mp4"
/////////// final xml "<producer _checkProfile=\"1\">\n <property name=\"resource\">/home/thebrightside/Multimedia/Videos/Random/2021-04-29 BB UI Enh Trailer/bb-enh-trailer-2021-04-29_08.59.48.mp4</property>\n</producer>\n"
/////////// creatclipsfromlist return false
=== REG FOCUS:  false
################### JOB finished:  0
################### loadjob COMMIT
################### ProjectClip::setproducer
################### ClipController::updateProducer
################### ClipController::addmasterproducer
// SETTING CLIP PROPERTIES:  QMap(("kdenlive:proxy", "/home/thebrightside/.var/app/org.kde.kdenlive/cache/kdenlive/proxy/2d0dd16af062d3dd4f3c486dda5a4023.mov"))
/// FULL PROXY PARAMS:
 ("-hide_banner", "-y", "-stats", "-v", "error", "-vsync", "0", "-c:v", "h264_cuvid", "-resize", "640x360", "-i", "/home/thebrightside/Multimedia/Videos/Random/2021-04-29 BB UI Enh Trailer/bb-enh-trailer-2021-04-29_08.59.48.mp4", "-vcodec", "h264_nvenc", "-g", "1", "-bf", "0", "-acodec", "copy", "-sn", "-dn", "-map", "0", "/home/thebrightside/.var/app/org.kde.kdenlive/cache/kdenlive/proxy/2d0dd16af062d3dd4f3c486dda5a4023.mov")
------
=======

SETTING AUDIO DATA IN MON
QTextCursor::setPosition: Position '1' out of range
==== TESTING SELECTION END ANCHOR FROM:  -1  , MIN:  1
==== TESTING SELECTION END ANCHOR FROM:  0  , WORD:  ""
==== END POS SELECTION FOR:  ""  =  ""
==== GOT LAST FRAME:  0
=== ANCHORAs FOR :  0 ,  "" - ""  AT POS:  0
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT:  0
TRACK NOT IN TARGET :  2  =  (2)
################### JOB finished:  1
################### JOB finished:  3
ERROR: Trying to consume invalid results
MESSAGE LOG:  QPair("Failed to create proxy clip.","[mov @ 0x562a38ba44c0] Tag mp4a incompatible with output codec id '86021' ([0][0][0][0])\nCould not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input\nError initializing output stream 0:0 -- \n")
TRACK NOT IN TARGET :  2  =  (2)
################### JOB finished:  2
=== REG FOCUS:  false
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
=== REG FOCUS:  false
=== REG FOCUS:  false
=== REG FOCUS:  false
Comment 1 Mazin07 2022-01-30 05:08:02 UTC
Did not repro this on kdenlive 21.12.1 AppImage (Ubuntu 20.04) and simplescreenrecorder 0.3.11. Proxy generated as expected.
Comment 2 Julius Künzel 2022-02-04 21:36:58 UTC
Thanks for your report! Can you please try again with the latest version (21.12 atm)? 

If this is fixed, please close this report.

If it still happens, please attach the screenshot and the system specs again and directly in a file to this report ("Add an attachment" link), since the content on pasteboard and termbin does not seem to be available anymore.
Comment 3 Bug Janitor Service 2022-02-19 04:36:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-03-06 04:35:47 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!