Go to advanced search

by RPi_Mike
Sat Sep 01, 2018 6:46 pm
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

TO ALL THE READERS OUT THERE: Within the hour, I'll be posting a massive new update of my entire tutorial. I would describe it as "version 3.0". I'm very pleased with the results and it will probably be my final word on this subject – at least until Raspbian Buster, the next whole-number release of...
by RPi_Mike
Fri Aug 31, 2018 12:19 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

My thought was that if the GPU could simultaneously decode all those streams (up to about 30mBit max), it should be easy for the CPU to grab a frame FRAME-GRAB TEST: You got me curious so I did a frame-grab test. I used the latest version of FFmpeg to extract JPEG images from a completely standard ...
by RPi_Mike
Wed Aug 29, 2018 9:10 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

First, THANK YOU RPI_Mike for the great tutorial! I am able to play video from my webcam fullscreen with no problems at very low CPU utilization! I'm glad my tutorial worked perfectly for you! I'm wondering if you can advise on the following: I would like to grab JPG screenshots from a h.264 video ...
by RPi_Mike
Fri Aug 24, 2018 5:43 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

In fact, I've never seen a physical CD player that comes attached with a numeric keypad like a telephone. Seriously? Admittedly I've only seen a few. Otherwise the direct track select option is on the remote control keypad for all players that have one (which is most of larger ones). Yup, seriously...
by RPi_Mike
Fri Aug 24, 2018 1:02 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

Audio CDs play great after the modifications detailed immediately above. While it's easy to cycle through tracks with "Page Up" and "Page Down", I've not hit upon a means to jump to a specified track. Otherwise, flawless. Many thanks! I'm glad my theoretical procedure worked perfectly and that you ...
by RPi_Mike
Wed Aug 22, 2018 12:42 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

Can the capability to play audio CDs be added? Superb HOWTO, the best I've ever seen. Thanks! Wow, music CDs? I honestly haven't touched that dinosaur technology in at least one-tenth of a CENTURY. As you can tell from my tutorial, I carefully test my methods before I publish anything. Although I m...
by RPi_Mike
Wed Aug 08, 2018 9:52 pm
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

I was wondering if anyone has already tried it on Ubuntu Core with a snap? I try to get MPV running on Ubuntu Core but I am having some trouble. SO LET ME GET THIS STRAIGHT: You're trying to build a very intense video rendering program – mpv — and get it to work on an obscure, stripped-down, bare-b...
by RPi_Mike
Wed Jul 11, 2018 6:02 am
Forum: Graphics, sound and multimedia
Topic: GIANT UPDATE: Build FFmpeg and mpv – Automatically in 54 Minutes!
Replies: 239
Views: 124795

Re: TUTORIAL: Play or Encode High-Quality Video and Audio – with FFmpeg and mpv

Is it possible to use version 0.28 with your method and if so how hard would it be? I tried following your guide and installing 0.28 instead of 0.27 but i get errors at the step: NOTE TO READERS – JUST SO NO ONE GETS SCARED OFF BY MY TUTORIAL: This person chose to step outside my instructions and e...
by RPi_Mike
Thu Jun 28, 2018 2:05 am
Forum: General programming discussion
Topic: TUTORIAL: The True Nature of a Linux File – And its Timestamps
Replies: 18
Views: 2815

Re: TUTORIAL: The True Nature of a Linux File – And its Timestamps

If you need metadata to stick around, you have to write it to the file itself. Anything not written in the file will go the way of Classic Mac OS resource forks, AmigaDOS file comments and the writerly intent of deceased authors. I have no issue with your excellent observations. On the topic of tim...
by RPi_Mike
Tue Jun 26, 2018 12:44 am
Forum: General programming discussion
Topic: TUTORIAL: The True Nature of a Linux File – And its Timestamps
Replies: 18
Views: 2815

Re: TUTORIAL: The True Nature of a Linux File – And its Timestamps

Okay, very nicely done, but: does it matter that the file/folder paradigm is an “illusion”? Computers are built on abstractions, and a filesystem is one of many. On 99 out of 100 levels, the "illusion" of a file does NOT matter. For the great majority of people, it has no practical implication. But...
by RPi_Mike
Sun Jun 24, 2018 5:15 pm
Forum: General programming discussion
Topic: TUTORIAL: The True Nature of a Linux File – And its Timestamps
Replies: 18
Views: 2815

Re: TUTORIAL: The True Nature of a Linux File – And its Timestamps

Why are you giggling? I did no suggest that. I did say "...in layman's terms...". Let me remind the readers of what actually happened. Your very first sentence on this thread said the following: "What I find amazing is that there is even a need to explain, in layman's terms, what a "file" or "direc...
by RPi_Mike
Sun Jun 24, 2018 2:58 pm
Forum: General programming discussion
Topic: TUTORIAL: The True Nature of a Linux File – And its Timestamps
Replies: 18
Views: 2815

Re: TUTORIAL: The True Nature of a Linux File – And its Timestamps

What I find amazing is that there is even a need to explain, in layman's terms, what a "file" or "directory" is on a computer. Computers and their operating systems have had the notion of files and directories etc since forever. The general public has had access to computers since the microprocesso...
by RPi_Mike
Sun Jun 24, 2018 9:28 am
Forum: General programming discussion
Topic: TUTORIAL: The True Nature of a Linux File – And its Timestamps
Replies: 18
Views: 2815

Re: TUTORIAL: The True Nature of a Linux File – And its Timestamps

Very interesting - great explanation of noatime and relatime. I appreciate your feedback. To the other readers out there, jahboater is definitely a "top 10" poster in terms of his technical sophistication. Given this website has nearly a quarter-million registered members, that literally puts him a...
by RPi_Mike
Sun Jun 24, 2018 4:58 am
Forum: General programming discussion
Topic: TUTORIAL: The True Nature of a Linux File – And its Timestamps
Replies: 18
Views: 2815

TUTORIAL: The True Nature of a Linux File – And its Timestamps

INTRODUCTION: If you do a Google Images search for Linux "file structure" or "inodes" or "directory" – or any combination of these or similar terms – you'll see a whole bunch of diagrams that explain things from the vantage point of the Linux ext2, ext3, or ext4 FILESYSTEM . However, when you use a...
by RPi_Mike
Thu Jun 21, 2018 6:46 pm
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

YET ANOTHER UPDATE: I have now added a detailed graphic to my tutorial that reveals how all 4 timestamps are affected by common scenarios. So scroll up and check it out!
by RPi_Mike
Wed Jun 20, 2018 3:38 pm
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

MAJOR UPDATE: I have now created a total of 5 commands. Even the ones that existed before have been enhanced. One key improvement was converting the awkward-looking, unsortable date format generated by the debugfs command – which separates the year from the date and sticks the time in the middle: W...
by RPi_Mike
Wed Jun 20, 2018 2:21 pm
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

Copying from one ext4 filesystem to another: When you asked if crtime stays the same "if you move it to a different filesystem that supports it", I thought you meant a different filesystem – as in some kind of different, exotic filesystem technology I'm not familiar with that somehow "supports" crt...
by RPi_Mike
Wed Jun 20, 2018 3:28 am
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

Does crtime stay the same if you move it to a different filesystem that supports it? Although I've taken a fairly deep dive on the topic of crtime, it's only been in the context of common Linux systems like the Raspberry. So I'm certainly not some kind of guru that's familiar with the esoteric time...
by RPi_Mike
Wed Jun 20, 2018 2:01 am
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

Rather than using df to find the device for the root partition it might be more reliable to parse the output of mount. I wouldn't use the term "more reliable" – because my original script is perfectly reliable. I say this with great confidence because I put in the HARD WORK to thoroughly test my me...
by RPi_Mike
Mon Jun 18, 2018 2:11 pm
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

Re: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

Thanks! I learned something new about Linux ext filesystems. I use NOOBS exclusively, so that's what I used to develop and test this tutorial. In fact, I wrote the "sticky" on how to update NOOBS without re-installing it. You'll see it at the very top of the General Discussion forum. However, I rea...
by RPi_Mike
Sun Jun 17, 2018 3:42 pm
Forum: General programming discussion
Topic: TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!
Replies: 13
Views: 2637

TUTORIAL: Make Your Own Commands to Reveal a File's Hidden Creation Time!

INTRODUCTION: Many people know about the stat command. Among other things, it shows you 3 separate timestamps for a file – Modify Time (mtime), Change Time (ctime), and Access Time (atime). But what many people don't know is that there is a hidden 4th timestamp called Creation Time (crtime)! It rev...
by RPi_Mike
Sat Jun 16, 2018 7:58 pm
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 41
Views: 13474

Re: TUTORIAL: File Sorting on the Raspberry Pi

File sorting is an immensely personal thing. I agree – file sorting is certainly a very personal thing. ExifTool is quite robust and you did a good job extolling its merits. Like most tasks, it's all about having "the right tool for the job". When dealing specifically with image-related sorting, Ex...
by RPi_Mike
Sat Jun 16, 2018 3:12 am
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 41
Views: 13474

Re: TUTORIAL: File Sorting on the Raspberry Pi

exiftool is ridiculously complete, and sometimes a cheatsheet is useful. It can rename on millisecond timestamps based on several metrics. It almost feels like we're discussing different things. There are only two core scenarios when it comes to sorting images by time: 1: The imaging device recorde...
by RPi_Mike
Thu Jun 14, 2018 5:43 pm
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 41
Views: 13474

Re: TUTORIAL: File Sorting on the Raspberry Pi

Finally, my mv-based command lines have NO impact on the timestamps you mention – mtime, atime and crtime are all completely preserved. You are partly right. Here is an example from my Pi showing that ctime is not preserved (though I note that you mention crtime not ctime) I have edited out some ir...
by RPi_Mike
Thu Jun 14, 2018 2:34 pm
Forum: General programming discussion
Topic: TUTORIAL: File Sorting on the Raspberry Pi
Replies: 41
Views: 13474

Re: TUTORIAL: File Sorting on the Raspberry Pi

You seem intent on making the output of the ls command match your preferred format - creation time and/or numeric rather than text order, but I think this is just a step towards your actual goal. I don't know how you are getting the resulting files into ffmpg. Is file globbing order relevant, and i...

Go to advanced search