Lightroom Classic: Can't import videos

  • 3
  • Problem
  • Updated 4 weeks ago
  • Solved
  • (Edited)
Hey guys,

I know that this has been written about 1000 times (most of them years old) in this and in other forums, but I cannot import video files into the catalog.
Windows 10-64bit, LR 9.1 Build 201911291132

I tried: uninstall, purge video cache (both from the settings an in lightroom), switched off all kinds of acceleration, setup a new catalog, uninstalled quicktime, reinstalled quicktime, uninstalled VLC, and everything else I found on the web - with zero impact.

Any further ideas? Thanks for any helpful tips...

Cheers,
B.
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes

Posted 7 months ago

  • 3
Photo of john beardsworth

john beardsworth

  • 1348 Posts
  • 370 Reply Likes
What file formats?
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
.mp4 (GoPro - AVC high@L4, 30Mbps)
.mov (Nikon Z6 - AVC high@L5, 50 Mbps)
and others
Photo of john beardsworth

john beardsworth

  • 1348 Posts
  • 370 Reply Likes
Are they HEVC encoded? My guess is that it's because Adobe still hasn't enabled HEVC support in LR on Windows (it was in LR on Mac a year ago).
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
no. GoPro and Nikon Z.
Photo of john beardsworth

john beardsworth

  • 1348 Posts
  • 370 Reply Likes
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Thanks John for the time you are taking to help me, really appreciate it. However, no HEVC codec involved. 
Was this what you were pointing me towards? Or is there more / other parts, too, that I may have missed? 
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Don't think that's the case, really.
The error I am getting clearly relates to the dynamiclinkmediaserver.exe. Error code (1).
Also, I can import sometimes like 1-5 videos, sometimes none. Sometimes not.


Here is the Mediainfo:

General
Complete name : [...]\GOPR1753.MP4
Format : MPEG-4
Format profile : Base Media / Version 1
Codec ID : mp41 (mp41)
File size : 420 MiB
Duration : 1 min 56 s
Overall bit rate mode : Variable
Overall bit rate : 30.2 Mb/s
Encoded date : UTC 2015-01-01 01:34:26
Tagged date : UTC 2015-01-01 01:34:26
AMBA : x

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 1 frame
Format settings, GOP : M=1, N=25
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 56 s
Bit rate mode : Variable
Bit rate : 30.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.289
Stream size : 418 MiB (99%)
Title : GoPro AVC
Language : English
Encoded date : UTC 2015-01-01 01:34:26
Tagged date : UTC 2015-01-01 01:34:26
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 1 min 56 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 1.78 MiB (0%)
Title : GoPro AAC
Language : English
Encoded date : UTC 2015-01-01 01:34:26
Tagged date : UTC 2015-01-01 01:34:26

Other #1
ID : 3
Type : Time code
Format : QuickTime TC
Duration : 1 min 56 s
Time code of first frame : 01:34:27:24
Time code, striped : Yes
Title : GoPro TCD
Language : English
Encoded date : UTC 2015-01-01 01:34:26
Tagged date : UTC 2015-01-01 01:34:26
Bit rate mode : CBR

Other #2
Type : meta
mdhd_Duration : 116740
Bit rate mode : VBR
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1739 Posts
  • 601 Reply Likes
Do you see dynamiclinkmediaserver.exe running in the Task Manager? If not, check if your AntiVirus software are flagging dynamiclinkmediaserver.exe as malicious, try whitelist it if you can.

Does the import always fail on some video files or is it kind of random? Maybe you can try share a few of those video clips online to see if we can reproduce on a different system?
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hi, thank you for the suggestion.

To my knowledge, the dynamiclinkmediaserver is whitelisted. I use Kaspersky and it is in the “trusted” part of the application list. Is there any other place I shall add? Eg in the windows firewall or the bitdefender?
In all cases: had the same issue after I turned Kaspersky off. But I have not tried turning all the Windows stuff off. Can do that, too.

And yes, it is running and consuming some CPU as well. If I quit LR, it continues to run and consume CPU. I need to force it to end in the task mgr to be gone.

The issue is fairly consistent and only somewhat sporadic, but I can share some videos. They are standard GoPro Hiero 4 vids.

I have tried on a different machine with clean LR installation and got some 25 videos in before the same issue surfaced. It is not specific to a single file - happens across the board. AND I already had all of the files previously imported in a different location. Then reorganized a bit on the media archive and boom - problem appears. Then upgraded, etc. Was all stable prior. So I really don’t know...

I don’t need video scrubbing - static image preview is fine. Is there a way to switch this off (and thereby not use the DLMS)?

Cheers,
B..
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hey guys,
bumping this thread...

Tried switching off all firewalls, but no difference in behavior. :-(

Cheers,
B.

Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hey guys, 

I have now removed all Adobe SW, wiped clean and installed a LR 8.3 - same problem. But I swear it worked prior...

So I started digging into other updates:
I noticed that I have updated Visual C++ 2005 Service Pack 1 (KB2538242) and I noticed that I have updated Visual C++ 2008 Service Pack 1 (KB2538243) in the days prior to the thing stopping to work.

Can this be the issue?

So I have now removed all Adobe Applications, cleaned out, updated Win to the 1909 version, and installed LR8.3 again - no success...

It is now consistently not importing a single video file...

(Edited)
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Removed the C++ libraries, no avail. 
Installed on another, fresh & up to date machine, no avail. 
Checked all windows / system / software log files, nothing noted. 

Have reached the end of my capability to poke around. 

Any more recommendations?

Or should I turn Lightroom off and move to e.g. Capture One (with all it's lacks in plugins, keywording, facial recognition, etc.)?


Photo of Helge Vejrup

Helge Vejrup

  • 16 Posts
  • 0 Reply Likes
hej check> go to System preferences>security&privacy>privacy, files and folders check that lr has rights for all volumens and disks, or give lr full disk access, why these are changed under
installation of new lr og catalina is a mystery.
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hey Helge, 

am on a PC... Do you know of something similar on a PC?
BTW: I can import RAWs from the same directory...

Cheers,
B.


Photo of Helge Vejrup

Helge Vejrup

  • 16 Posts
  • 0 Reply Likes
well im not an expert, but old user, try anything that has to do with security rules, i.e. rights to 
access disks, volumens, folders, files,  and read and writing rules - best hope for you.
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1739 Posts
  • 601 Reply Likes
>And yes, it is running and consuming some CPU as well. If I quit LR, it continues to run and consume CPU. I need to force it to end in the task mgr to be gone.

Normally this dynamiclinkmediaserver.exe should quit on its own after Lr quits. This might indicates it runs into some runtime difficulties. If you force quit dynamiclinkmediaserver.exe, does video import and playback work normally in the next Lightroom session?

Your sporadic video import issue might be due to dynamiclinkmediaserver.exe did not quit cleanly in the last Lr session.

>I noticed that I have updated Visual C++ 2005 Service Pack 1 (KB2538242) and I noticed that I have updated Visual C++ 2008 Service Pack 1 (KB2538243) in the days prior to the thing stopping to work.

Yes. It could be possible. The older VC++ might have installed some older version of Microsoft runtime libraries that dynamiclinkmediaserver.exe searched, found and loaded first.

>The issue is fairly consistent and only somewhat sporadic, but I can share some videos. They are standard GoPro Hiero 4 vids.

>I have tried on a different machine with clean LR installation and got some 25 videos in before the same issue surfaced. It is not specific to a single file - happens across the board. AND I already had all of the files previously imported in a different location. Then reorganized a bit on the media archive and boom - problem appears. Then upgraded, etc. Was all stable prior. So I really don’t know...

Could this be due to dynamiclinkmediaserver.exe wasn't quit cleanly in some earlier session?

Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hi Simon,

thanks for your insights!

I can not judge what it is due. Interestingly the issue deteriorated and is now consistent and not sporadic anymore.

Clean install of the entire CC suite (after CC cleaner multiple times, etc).

Same result after clean reboot. So no, an “unclean” termination isn’t issue. Also, created a new catalog- same issue.

If you know of tests I should perform, or install sequences of the various libraries, let me know, pls!

Cheers,
sbv
Photo of Sumeet Choudhury

Sumeet Choudhury, Employee

  • 64 Posts
  • 24 Reply Likes
Hi sbv, 

Hope you are doing great !

Sorry to hear about the problems faced by you.

Could you please share the video files which you are unable to import in Lightroom via Dropbox or Google Drive? We would like to test your scenario in-house and revert back.

Thanks,
Sumeet
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Sorry for the late reply: I have uploaded a number of files to wetransfer, here: 
https://we.tl/t-v4nDPzLQZB

Cheers,
B.
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hey Sumeet, 
did you download?

Thanks,
sbv
Photo of Sumeet Choudhury

Sumeet Choudhury, Employee

  • 64 Posts
  • 24 Reply Likes
Hi sbv,

I could download the files. Thanks.
Will look into the files and get back.
Photo of Sumeet Choudhury

Sumeet Choudhury, Employee

  • 64 Posts
  • 24 Reply Likes
Hi sbv,

Thanks for the patience. It sure seems to be an issue. Thanks for reporting.
We have logged a bug for the same.

Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hi, 

any idea about the timeline to resolution?

Cheers,
sbv.
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Oh - good to know. 
Do you have any idea of how long a fix will take?

Tx,
sbv
Photo of Helge Vejrup

Helge Vejrup

  • 16 Posts
  • 0 Reply Likes
try this: mac :  go to system preferences - safetyanonymous/privacy - localservices give lr full disk access, - good luck
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hi, 

sorry - PC. Full access rights granted (admin rights, even)

Cheers,
B.
Photo of Megan Bromley

Megan Bromley

  • 1 Post
  • 1 Reply Like
I have hit this issue a number of times. Today I took a more systematic approach to trying to isolate the trigger, and I seem to have made some small progress ...

If the set of videos to import includes some that are super-short (well under 1s) then dynamiclinkserver can't make sense of them - it just spins forever on them using 99% cpu (can verify with lsof that it sticks on these same files each time). If I move such source files aside them the import runs smoothly. The offending videos seem to have been produced on assorted iPad apps (kids playing) and (speculating) I think may also include Apple live photos (which is why the problem is worse in recent times; I removed all videos from catalog and started importing year by year or month by month - got to 2015 to find this issue, have not tried later years yet but based on inability to import from iPhones lately I am guessing live photos or mistaken video clips that are also short are the trigger).

I can supply some sample videos, but they are not difficult to find! From MediaInfo (Mac system) one of them shows the following (133ms duration):
$ cat MediaInfo.txt 
General
Complete name                            : /Users/pics/2015/2015/2015-01/2015-01-24/IMG_0255.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 363 KiB
Duration                                 : 133ms
Overall bit rate                         : 22.3 Mbps
Recorded date                            : 2015-01-24T12:33:45+1100
Encoded date                             : UTC 2015-01-24 01:33:48
Tagged date                              : UTC 2015-01-24 01:33:48
Writing application                      : 8.1
Writing library                          : Apple QuickTime
Model                                    : iPad
xyz                                      : -37.8332+145.0890+075.884/
Make                                     : Apple
com.apple.quicktime.location.ISO6709     : -37.8332+145.0890+075.884/
com.apple.quicktime.make                 : Apple
com.apple.quicktime.software             : 8.1
com.apple.quicktime.model                : iPad
com.apple.quicktime.creationdate         : 2015-01-24T12:33:45+1100
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3.1
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 133ms ... (rest cut)
Photo of Raul Cristian Aguirre

Raul Cristian Aguirre

  • 3 Posts
  • 3 Reply Likes
Exactly same behavior here, running LR Classic 9.2 on a Mac.
Photo of sb v3

sb v3

  • 17 Posts
  • 0 Reply Likes
Hi, just tried the update - didn‘t fix the problem...
Photo of Erich Schlaikjer

Erich Schlaikjer

  • 41 Posts
  • 7 Reply Likes
On my Sony RX100v7 I took some video of my 87 year old father telling family tales. They were not imported by Lightroom along with photos from the same card and same time. I forgot about them and reformatted the SD card later. I ran the latest version of SanDisk RescuePro but to no avail. 

I just rerecorded some example video and it goes into the directory \PRIVATE\M4ROOT\CLIP as MP4 files. 

There is nothing like emotional trauma for changing behavior, so I will definitely change what I do with SD cards. I will probably write a Python script to check that everything interesting has been uploaded via LR.

It would be nice if LR popped up a message after the import to say which files on the SD card it ignored.
Photo of Erich Schlaikjer

Erich Schlaikjer

  • 41 Posts
  • 7 Reply Likes
My mistake. I think I imported from \DCIM  instead of the root. MP4 files show up if I use the SD card root. Live and learn.

I wrote a Python script to check that everything imports to the right place, but I had to use file creation date rather than EXIF data as raw files don't have EXIF. So it's not ideal.