I’ve installed Kubuntu so that I can run FFmpeg to join a large number of tiff files into a video. The tiffs are produced by a video enhance program that exports each frame of the video as a tiff.
I’ve installed FFmpeg from the console. I’m following the instructions found here: https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/#compiling-ffmpeg
The instructions are failing at this line:
cd nv-codec-headers && sudo make install && cd –
with an error ‘no such directory cd – ‘
I think that this could be due to my not starting in the correct directory, and therefore the command hasn’t got a directory to ‘go back to’. I am very new to this and I could be completely wrong! I do know that I am in ‘nv-codec-headers’ directory after the command has run, which matches the ‘cd’ at the start of the line.
If I carry on the command
./configure --enable-nonfree -–enable-cuda-sdk –enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
also fails, but I don’t know whether this is due to the above failing. It’s the ./configure part that is causing the problem.
Can anyone help with this, please?
cd
means change directory. It can only be followed by a path. This is why you are getting that error. Your instructions are incorrect. It's hard to advise any further because you didn't link to the directions and you also did not use any formatting in your post, so the commands that you typed are not possible for us to parse. Please edit your question and include the link to the directions you are following. You should also use the formatting tools so that we can parse these commands. Usemonospace
font for anything going into or from the terminal and retain all line breaks. – Nmath Feb 20 '21 at 20:33