Have you ever captured multiple screenshots from a video — maybe a tutorial, lecture, or online course — and wanted to combine them into one organized PDF?
In this guide, you’ll learn how to easily convert your VLC Media Player screenshots into a single, well-ordered PDF file using a simple command-line tool on Ubuntu.
This method is fast, reliable, and keeps your image quality intact — perfect for study notes, presentations, or archiving your learning material.
🧰 Step 1: Install img2pdf
img2pdf is a lightweight, open-source utility that converts image files directly into PDF format without compressing or distorting the original images.
Install it using:
Once installed, you’re ready to start working with your screenshots.
📂 Step 2: Navigate to Your Screenshot Folder
Go to the folder where VLC saved your screenshots:
To verify the files are there, run:
🧩 Step 3: Combine Screenshots into a PDF
To merge all screenshots into one PDF, run:
This command creates a file named video_screenshots.pdf in the same directory.
🧠 Step 4: Confirm the PDF File
To make sure the file was successfully created, run:
Example output:
🖥️ Step 5: Open the PDF
You can view your newly created PDF directly from the terminal:
This will open the file in your default PDF viewer.
⏱️ Step 6: Create the PDF in the Correct Time Order (Oldest → Newest)
If your screenshots aren’t named in order, or filenames got mixed up, you can arrange them by capture time before converting:
💡 Explanation:
-
ls -1t→ sorts files by modification time (newest first) -
-r→ reverses the list (so oldest first) -
img2pdf $(...)→ merges images in that time order
✅ This ensures your PDF pages appear exactly in the sequence you captured them — ideal for video summaries or step-by-step learning notes.
🏁 Conclusion
And that’s it! 🎉
You’ve successfully combined your VLC video screenshots into a neatly organized, high-quality PDF — all from your Ubuntu terminal.
This workflow is perfect for:
Once you get the hang of it, you can even automate the process with a small script — making it just one command to turn all your video screenshots into a single, ready-to-share PDF.
This is a practical and easy-to-follow tutorial for converting VLC video screenshots into a single PDF on Ubuntu. Using img2pdf is a straightforward approach because it preserves the original image quality while combining multiple screenshots into one document. The step-by-step terminal commands make this method particularly useful for organizing lecture notes, tutorials, and educational materials.
ReplyDeleteImage processing techniques can also be useful in academic projects involving image manipulation, enhancement, and analysis. Image Processing Projects For Final Year can provide inspiration for students exploring practical applications of image processing.
Similarly, extracting and organizing visual information from video content is relevant to video analysis and computer vision applications. Video Processing Projects can help students explore project ideas involving video frames, visual data processing, and automated analysis.
ReplyDelete