I'm trying to sort my home video files into folders by date, but I am getting more frustrated as I go along. I cannot see the recorded dates of the video files within Windows Explorer and have to run a MediaInfo on each file in order to know which folder it should go in.
Here's a sample MediaInfo on one of my video files:
General
Complete name : E:\Vegas_Import\DV Camcorder\Tape 24\2007-10-05 Lauren & Emily's 12th & 10th birthday- bowling\Tape 24 - Clip 001.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DV
File size : 89.6 MiB
Duration : 25 s 80 ms
Overall bit rate mode : Constant
Overall bit rate : 30.0 Mb/s
Recorded date : 2007-10-05 20:59:09.000
TAPE : Tape 24
TCOD : 1600000
TCDO : 252400000
VMAJ : 4
VMIN : 0
STAT : 627 0 3.431312 1
DTIM : 29886354 2463321216
Video
ID : 0
Format : DV
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 25 s 80 ms
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Time code of first frame : 00:00:00:04
Time code source : Subcode time code
Stream size : 86.1 MiB (96%)
Encoding settings : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus
Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 25 s 80 ms
Bit rate mode : Constant
Bit rate : 1 024 kb/s
Channel(s) : 2 channels
Sampling rate : 32.0 kHz
Bit depth : 16 bits
Stream size : 3.06 MiB (3%)
Alignment : Aligned on interleaves
Interleave, duration : 279 ms (6.97 video frames)
Interleave, preload duration : 280 ms
I cannot find a way to view the "Recorded Date" in Windows Explorer. I have viewed all possible columns in the view setup and they all display the date the video was captured from DV camera to PC.
My system details are:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
+ Reply to Thread
Results 1 to 12 of 12
-
|
+-- Julian Milano
| -
From what I understand you want to be able to sort video files by the recorded date tag in Windows Explorer.
I don't think Windows supports this directly, you would likely need to set the Windows Modified Date of the file.
Windows Created Date would be the date the files have been copied.
As an alternative, you could just put the recorded date at the start of the filename.
If you have many videos you may want to do this automatically:
Check out the similar threads at the bottom of the page, the topic comes up from time to time.
I'll also throw in this one https://forum.videohelp.com/threads/400488-How-to-correct-date-of-AVI-file-transferred...iDV-with-WinDV -
If I understand correctly, Creatre a CMD file with the following text:
Code:setlocal enabledelayedexpansion @echo off @echo. > Dates.txt for %%a in ("*.mp4" "*.mpg" "*.flv") Do ( echo %%a >> Dates.txt cd %%~dpa C:\Users\Bud\Desktop\MediaInfo.exe "--Output=Video;Encoded Date=%%Encoded_Date%%\r\nRecorded Date=%%Recorded_Date%%\r\nTagged Date=%%Tagged_Date%%" "%%a" >>dates.txt @echo. >> Dates.txt )
004 srt subs_1.mp4
Encoded Date=
Recorded Date=
Tagged Date=
004.mp4
Encoded Date=UTC 2012-10-19 17:19:46
Recorded Date=
Tagged Date=UTC 2012-10-19 17:19:46
720i format_42587057.mp4
Encoded Date=UTC 2011-03-12 07:37:32
Recorded Date=
Tagged Date=UTC 2011-03-12 07:37:32 -
Thanks Budman, but I could not get the script to work. I changed the code to suit my environment:
Code:setlocal enabledelayedexpansion @echo off @echo. > Dates.txt for %%a in ("*") Do ( echo %%a >> Dates.txt cd %%~dpa C:\Program Files\MediaInfo\MediaInfo.exe "--Output=Video;Encoded Date=%%Encoded_Date%%\r\nRecorded Date=%%Recorded_Date%%\r\nTagged Date=%%Tagged_Date%%" "%%a" >>dates.txt @echo. >> Dates.txt )
Dates.txt
Tape 20 - Clip 001.avi
Tape 20 - Clip 002.avi
Tape 20 - Clip 003.avi
Tape 20 - Clip 004.avi
Tape 20 - Clip 005.avi
General
Complete name : E:\Vegas_Import\DV Camcorder\Tape 20\Tape 20 - Clip 001.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DV
File size : 112 MiB
Duration : 31 s 440 ms
Overall bit rate mode : Constant
Overall bit rate : 30.0 Mb/s
Recorded date : 2006-03-24 12:32:25.000
TAPE : Tape 20
TCOD : 10000000
TCDO : 324400000
VMAJ : 4
VMIN : 0
STAT : 786 0 3.433446 1
DTIM : 29773631 21828224|
+-- Julian Milano
| -
Avi may use a different search parameter than mp4. I'll check on it...
-
Just a thought.. you need to have mediainfo in same folder as videos. You should get
Encoded date=
Recoded Date=
Tagged Date=
Part of the media info output will write these lines even if they dates are blank. Since they are not shown in uour output, im assuming media info didnt run. -
Strangely, MediaInfo does not export well to text files. I tried the following in a command line:
Code:mediainfo --Output=$'General;File Name: %FileName%\\r\\n\\nDimensions: %Width%x%Height%\\r\\n' "Tape 20 - Clip 001.avi"
Code:mediainfo --Output=$'General;File Name: %FileName%\\r\\n\\nDimensions: %Width%x%Height%\\r\\n' "Tape 20 - Clip 001.avi" >> test.txt
Code:MediaInfo --help >> test.txt
|
+-- Julian Milano
| -
If the media gui opens from a script entry, it usually means only the mediainfo part worked. The script i showed works without opening gui. To actually see what goes on , remove echo off lines and add "pause" without quotes as an extra line. This will show everything that happens in a cmd screen that will remain open. You are using windows correct? Just wondered where you got the strange script line.
-
What is the byte count of your mediaingo file. There is a gui media info and a command line gui that can be downloaded from the media info site. May need the command line version. Hard for me to tell since most of my programs use the cli version that i named the same as the gui.
-
Last edited by Budman1; 30th May 2021 at 18:26.
Similar Threads
-
Batch renaming of different video file types based on Windows Date
By B784 in forum ComputerReplies: 4Last Post: 27th Aug 2021, 13:59 -
Cannot insert the video clip creation date on video output.
By ohuser in forum EditingReplies: 4Last Post: 6th Jan 2021, 02:38 -
Can I see video format metadata in Windows Explorer columns?
By Chris Dukes in forum Video ConversionReplies: 3Last Post: 18th Apr 2020, 08:29 -
Looking for something to show file encoding properties in Windows Explorer
By davevid in forum Newbie / General discussionsReplies: 2Last Post: 4th May 2019, 15:52 -
Windows 10 Pro 18.03 no video thumbnails in window explorer?
By flashandpan007 in forum Newbie / General discussionsReplies: 2Last Post: 8th Apr 2018, 13:47