Jump to content

AMT - Auto-Movie-Thumbnailer [Updated 2024-Oct-13]


KaFu
 Share

Recommended Posts

"Dedicated Output File Directory" and "Dedicated Output File Directory - Create Source Sub-Directory Structure" are doing the same thing for me, just putting all the screenshots in the output directory without any sub-directories.

"Dedicated Output File Directory - Create Source Full-Directory Structure" works better, but also creates a directory named after the parent of the source, which i don't want.

How do I get this:

C:\Folder1
    movie1.mp4
C:\Folder2
    movie2.mp4
C:\Folder3
    movie3.mp4
    
D:\Screenshots\Folder1
    movie1.jpg
D:\Screenshots\Folder2
    movie2.jpg
D:\Screenshots\Folder3
    movie3.jpg

And not this:

C:\Folder1
    movie1.mp4
C:\Folder2
    movie2.mp4
C:\Folder3
    movie3.mp4
    
D:\Screenshots\C\Folder1
    movie1.jpg
D:\Screenshots\C\Folder2
    movie2.jpg
D:\Screenshots\C\Folder3
    movie3.jpg

 

Link to comment
Share on other sites

  • 1 month later...

This may be a bit off-topic, but I'm hoping someone has a solution. If I have AMT running, and I'm watching a movie, the picture flashes black when AMT starts on an input file. So every 10 seconds or so. This happens with MPC-HC and VLC. Doesn't seem to cause errors in screenshots, but I'd like to be able use my PC to watch a movie while AMT is running.

Link to comment
Share on other sites

Hmm, does not happen to me on Win10, maybe related to Directx<>Aero on Win7/8? Go to the "Settings" tab and change the "Video Driver" at the bottom to either direct3d or gl, maybe that fixes the issue.

Link to comment
Share on other sites

On 8/18/2020 at 2:29 AM, KaFu said:

Hmm, does not happen to me on Win10, maybe related to Directx<>Aero on Win7/8? Go to the "Settings" tab and change the "Video Driver" at the bottom to either direct3d or gl, maybe that fixes the issue.

Also Windows 10. Still happens no matter which video driver setting I choose. I've finished the bulk of my screenshots, so won't be much a of a problem for me anymore, but I figured I'd mention it.

I'm still having problems with the output directory setting.

I use "Dedicated Output File Directory - Create Source Sub-Directory Structure" and it works fine if I select all folders.
 

D:\Folder1
    movie1.mp4
D:\Folder2
    movie2.mp4
D:\Folder3
    movie3.mp4

Outputs like this
    
D:\Screenshots\Folder1
    movie1.jpg
D:\Screenshots\Folder2
    movie2.jpg
D:\Screenshots\Folder3
    movie3.jpg

But If I uncheck a folder, it no longer puts images into subfolders.

D:\Folder1
    movie1.mp4
D:\Folder3
    movie3.mp4

Outputs like this
    
D:\Screenshots
    movie1.jpg
    movie3.jpg

 

Link to comment
Share on other sites

  • 6 months later...

Please help.

 

I use your great AMT application and it worked great (on my old Win XP).

But on my new computer with Windows 7 it doesn't work.

In Preview window it seeks/renders each desired frame but it doesn't write it to the file

Here is LOG:

Quote

1253666| CANCEL - Processing canceled on your request - 2021-03-10, 19:12:53
1253666| FLUSH - SUCCESS
1253649| FLUSH - SUCCESS
1253617| FINISHED Processing Cycle in 189.5 seconds - 2021-03-10, 19:12:53 - Files: 3 / 14 (11 left) - Result: 0 / 0 / 1 / 2
1253609| #3-Result = FAILURE, output file was not created
1245528| 4: SEEK = 17.5
1245504| 3: DEFECT - File "1" NOT found and moved to "C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Temp\screenshots\shot00003.png"
1245504| ERROR - _FileMoveEx, File to move not found: \\?\1
1245497| 3: DEFECT - File "1" , File creation not finished in 60 seconds
1145419| 3: SEEK = 12.5
1145397| 2: DEFECT - File "1" NOT found and moved to "C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Temp\screenshots\shot00002.png"
1145396| ERROR - _FileMoveEx, File to move not found: \\?\1
1145390| 2: DEFECT - File "1" , File creation not finished in 60 seconds
1045314| 2: SEEK = 7.5
1045290| 1: DEFECT - File "1" NOT found and moved to "C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Temp\screenshots\shot00001.png"
1045290| ERROR - _FileMoveEx, File to move not found: \\?\1
1045285| 1: DEFECT - File "1" , File creation not finished in 60 seconds
0945183| 1: SEEK = 2.5
0945180| 1: MPLAYER - "Starting playback"
0945141| 1: MPLAYER - START = 1; Seek adjustment = 0
0945111| MPLAYER processing loop started - Filesize = 699.02MB; Amount of Shots = 20; Pictures per Row = 4; Pictures per Column = 5; Use Shortnames = True; Prepare fixed amount of screenshots = True; Pattern Time Priority = False; Duration in Seconds = 5422
0944896| MEDIAINFO data extraction
0944894| FLUSH - SUCCESS
0944806| #3-Output = "c:\filmy\Hitman-2-CZ-dabing franc.avi.jpg"
0944806| #3- Input = "c:\filmy\Hitman-2-CZ-dabing franc.avi"
0944806| -
0944716| #2-Result = SKIP, output file already exists
0944716| #2-Output = "c:\filmy\DenPredKrizi\Margin-Call-cz-dab.avi.jpg"
0944716| #2- Input = "c:\filmy\DenPredKrizi\Margin-Call-cz-dab.avi"
0944716| -
0944686| #1-Result = SKIP, output file already exists
0944686| #1-Output = "c:\filmy\Amélie-z-Montmartru.flv.jpg"
0944686| #1- Input = "c:\filmy\Amélie-z-Montmartru.flv"
0944686| -
0944108| STARTED Processing Cycle - 2021-03-10, 19:09:44
 

 

Problem part is  here:

1045290| 1: DEFECT - File "1" NOT found and moved to "C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Temp\screenshots\shot00001.png"
1045290| ERROR - _FileMoveEx, File to move not found: \\?\1
1045285| 1: DEFECT - File "1" , File creation not finished in 60 seconds
0945183| 1: SEEK = 2.5
0945180| 1: MPLAYER - "Starting playback"
 

I don't know why there is attempt to read/write from/from file "1", exactly: \\?\1

Edited by Zedna
Link to comment
Share on other sites

Screenshot couldn't be uploaded.

Here is extended LOG:

Quote

22:10:17-395| CANCEL - Processing canceled on your request - 2021-03-10, 22:10:17
22:10:17-395| FLUSH - SUCCESS|LX=Temp files deleted - Size = 0
22:10:17-377| FLUSH - SUCCESS|LX=Temp files deleted - Size = 0
22:10:17-345| FINISHED Processing Cycle in 65.9 seconds - 2021-03-10, 22:10:17 - Files: 3 / 14 (11 left) - Result: 0 / 0 / 1 / 2
22:10:17-335| #3-Result = FAILURE, output file was not created|LX="C:\filmy\Hitman-2-CZ-dabing franc.avi.jpg"
22:10:12-426| 2: SCREENSHOT - Check for creation - |LX="1"
22:10:12-385| 2: SCREENSHOT - START|LX=screenshot|pause|
22:10:12-384| LX=MPLAYER-STDOUT = ANS_TIME_POSITION=410.8|ANS_PERCENT_POSITION=7|
22:10:12-358| LX=MPLAYER-STDOUT = sending VFCTRL_SCREENSHOT!|*** screenshot 'shot0001.png' ***|
22:10:12-358| 2: SEEK = 7.5|LX=seek 7.5 1|get_time_pos|get_percent_pos|
22:10:12-338| 2: FLUSH|LX=SUCCESS, current screenshot temp files successfully deleted
22:10:12-334| 1: DEFECT - File "1" NOT found and moved to "C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Temp\screenshots\shot00001.png"
22:10:12-334| ERROR - _FileMoveEx, File to move not found: \\?\1
22:10:12-322| 1: DEFECT - File "1" , File creation not finished in 60 seconds
22:09:12-319| 1: SCREENSHOT - Check for creation - |LX="1"
22:09:12-280| 1: SCREENSHOT - START|LX=screenshot|pause|
22:09:12-280| LX=MPLAYER-STDOUT = ANS_TIME_POSITION=143.5|ANS_PERCENT_POSITION=2|
22:09:12-261| LX=MPLAYER-STDOUT = [VD_FFMPEG] DRI failure.|
22:09:12-230| LX=MPLAYER-STDOUT = VO: [direct3d] 640x272 => 320x136 Planar YV12 [zoom]|
22:09:12-205| LX=MPLAYER-STDOUT = [swscaler @ 01c91e00]bicubic scaler, from yuv420p to rgb24 using MMXEXT|VO: [direct3d] 640x272 => 320x136 Planar YV12 [zoom]|
22:09:12-205| 1: SEEK = 2.5|LX=seek 2.5 1|get_time_pos|get_percent_pos|
22:09:12-202| 1: MPLAYER - "Starting playback"
22:09:12-202| LX=MPLAYER-STDOUT = Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)|==========================================================================|ID_VIDEO_CODEC=ffodivx|Clip info:| Software: VirtualDubMod 1.5.4.1 (build 2178/release)|ID_CLIP_INFO_NAME0=Software|ID_CLIP_INFO_VALUE0=VirtualDubMod 1.5.4.1 (build 2178/release)|ID_CLIP_INFO_N=1|ID_FILENAME=C:\filmy\HITMAN~2.AVI|ID_DEMUXER=avi|ID_VIDEO_FORMAT=XVID|ID_VIDEO_BITRATE=921336|ID_VIDEO_WIDTH=640|ID_VIDEO_HEIGHT=272|ID_VIDEO_FPS=25.000|ID_VIDEO_ASPECT=0.0000|ID_START_TIME=0.00|ID_LENGTH=5422.40|ID_SEEKABLE=1|ID_CHAPTERS=0|Audio: no sound|Starting playback...|
22:09:12-201| LX=MPLAYER-STDOUT = MPlayer sherpya-r38154+g9fe07908c3-8.3-win32 (C) 2000-2019 MPlayer Team|Setting process priority: abovenormal||C:\Windows\fonts\verdana.ttf doesn't look like a bitmap font description, ignoring.|Cannot load bitmap font 'C:\Windows\fonts\verdana.ttf'.||Playing C:\filmy\HITMAN~2.AVI.|libavformat version 58.35.101 (internal)|AVI file format detected.|ID_VIDEO_ID=0|[aviheader] Video stream found, -vid 0|ID_AUDIO_ID=1|[aviheader] Audio stream found, -aid 1|VIDEO: [XVID] 640x272 12bpp 25.000 fps 921.3 kbps (112.5 kbyte/s)|Opening video filter: [screenshot]|==========================================================================|Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family|libavcodec version 58.65.100 (internal)|
22:09:12-155| 1: MPLAYER - START = 1; Seek adjustment = 0|LX="C:\Program Files (x86)\AMT\AMT_Binaries\MPlayer-generic-r38154_x86\AMT-MPlayer.exe" -vo direct3d -slave -identify -vf screenshot -msglevel all=5 -zoom -x 320 -y 136 -nokeepaspect -wid 723740 -nokeepaspect -monitorpixelaspect 1 -priority abovenormal -progbar-align 95 -nofs -nodr -double -noslices -font "C:\Windows\fonts\verdana.ttf" -subfont-autoscale 3 -subfont-osd-scale 4 -subfont-outline 1 -subfont-blur 1 -noautosub -colorkey 0 -input nodefault-bindings -noconsolecontrols -nofontconfig -nomouseinput -nosound -ao null -af volume=-200:0 -osdlevel 3 -lavdopts threads=2 "C:\filmy\HITMAN~2.AVI"
22:09:12-132| 1: FLUSH|LX=SUCCESS, current screenshot temp files successfully deleted
22:09:12-129| MPLAYER processing loop started - Filesize = 699.02MB; Amount of Shots = 20; Pictures per Row = 4; Pictures per Column = 5; Use Shortnames = True; Prepare fixed amount of screenshots = True; Pattern Time Priority = False; Duration in Seconds = 5422
22:09:12-128| LX=4-Finished|""
22:09:11-999| MEDIAINFO data extraction|LX=4-Start|Using MediaInfo on C:\filmy\HITMAN~2.AVI #4
22:09:11-999| FLUSH - SUCCESS|LX=Temp files deleted - Size = 0
22:09:11-971| #3-Output = "C:\filmy\Hitman-2-CZ-dabing franc.avi.jpg"
22:09:11-971| #3- Input = "C:\filmy\Hitman-2-CZ-dabing franc.avi"
22:09:11-971| -
22:09:11-970| #2-Result = SKIP, output file already exists|LX=1|"C:\filmy\DenPredKrizi\Margin-Call-cz-dab.avi.jpg"
22:09:11-970| #2-Output = "C:\filmy\DenPredKrizi\Margin-Call-cz-dab.avi.jpg"
22:09:11-970| #2- Input = "C:\filmy\DenPredKrizi\Margin-Call-cz-dab.avi"|LX=Existing Output FileSize in Byte = 181.190
22:09:11-970| -
22:09:11-969| #1-Result = SKIP, output file already exists|LX=1|"C:\filmy\Amélie-z-Montmartru.flv.jpg"
22:09:11-969| #1-Output = "C:\filmy\Amélie-z-Montmartru.flv.jpg"
22:09:11-969| #1- Input = "C:\filmy\Amélie-z-Montmartru.flv"|LX=Existing Output FileSize in Byte = 541.482
22:09:11-969| -
22:09:11-961| FOOTER created|LX=C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Graphics\amt_footer.png
22:09:11-436| LX=AMT - Auto-Movie-Thumbnailer - v12 - (2019-Dec-21)|3.3.14.5|1|X64|7601|C:\Program Files (x86)\AMT\AMT.exe|WIN_7|WIN32_NT|1537|2|Tahoma|Arial|Lucida Console|C:\Users\zednik\AppData\Roaming\AMT_Workdir|1|1|C:\Program Files (x86)\AMT|1|C:\Program Files (x86)\AMT\AMT_Binaries\sqlite3.dll|1|C:\Program Files (x86)\AMT\AMT_Binaries\MPlayer-generic-r38154_x86\AMT-MPlayer.exe|1|C:\Program Files (x86)\AMT\AMT_Binaries\ImageMagick-6.9.10-68-portable-Q16-x86\AMT-Convert.exe|1|C:\Program Files (x86)\AMT\AMT_Binaries\ImageMagick-6.9.10-68-portable-Q16-x86\AMT-Montage.exe|1|C:\Program Files (x86)\AMT\AMT_Binaries\MediaInfo_DLL_19.09\AMT-MediaInfo.dll|1|C:\Program Files (x86)\AMT\AMT_Binaries\exiftool-11.73\AMT-ExifTool.exe|1
22:09:11-436| STARTED Processing Cycle - 2021-03-10, 22:09:11

 

problem here?

22:09:12-261| LX=MPLAYER-STDOUT = [VD_FFMPEG] DRI failure.|

 

Edited by Zedna
Link to comment
Share on other sites

Does this happen for all movies, or just some?

Download the latest  MPlayer build, change path with "Settings > Locate Executable".

Under "Settings > MPlayer Arguments" reduce cores for decoding to 1 (third drop-down).

Try a different Video Out Driver ("Settings > MPlayer Arguments" > first  drop-down), e.g. directx.

Link to comment
Share on other sites

For all movies.

Thanks for the tips, I wil try ...

 

EDIT:

Change of video driver from default D3D to DirectX solved my problem.

Thanks!

 

EDIT2: It works now but only sometimes 😞

some film previously once generated OK now  the same film didn't work

Edited by Zedna
Link to comment
Share on other sites

Did you try the other hints?

Does your account have full ownership / access to movie, program and temp dirs?

Is there enough disk space left on temp dir?

Try the "MPlayer functionality test" on the lower-right of the "Settings" tab.

Try Uninstall and Re-Install.

Take a look at the temp dir during processing and look what's happening there: "C:\Users\zednik\AppData\Roaming\AMT_Workdir\AMT_Temp\current\", normally the temp pictures "shot0001.png" etc. should appear there.

 

 

What really makes me wonder is this log-file line:

                  1: DEFECT - File "1" , File creation not finished in 60 seconds

It seems that FileExists(1) does return true on your system?! Otherwise this line would never be triggered. Pls test this, this might be the root-cause.

Here's the latest Beta, where I removed the possibility for the FileExists(1) call at all:

https://funk.eu/wp-content/plugins/download-monitor/download.php?id=259

Edited by KaFu
Link to comment
Share on other sites

  • 3 weeks later...

Wanted to jump in and say I am having difficulty having AMT pick up my network drives (from a NAS)

I have three various drives created via network shares, however none of the four are being picked up by AMT, despite "Network Drives" being checkmarked.

Anything I need to do to resolve this issue?

Link to comment
Share on other sites

Might be UAC related, not related to AMT as such. See the link that is in the tooltip for the network drive checkbox.

http://support.microsoft.com/kb/937624/en-us

Maybe starting AMT as Admin might resolve this, else try the workaround mentioned at the bottom of the linked article.

Edited by KaFu
Link to comment
Share on other sites

  • 6 months later...

Hi KaFu,

Been using your program for a while now, and have been having a problem, especially with some wmv files.

Often, I'll get a contact sheet that has a portion of the video correct, then it will show the same image repeatedly for the remainder. Sometimes, I'll get just 1 thumb repeated for the entire movie.

I usually run with no preview, but have just run a test, and the preview, while showing various frames, but the generated image has just 1 thumb repeated. The thumb used is from about 90% of the way through the movie.

After trying different versions of mplayer, and fiddling with settings, it seems that if I use the 'Prepare fixed amount' of thumbs, it works fine, but not if I use the 'Prepare a variable'.

I prefer the latter, but if this is some issue outside your control, then I'll just have to adapt.

The video in question has keyframes every second (according to PotPlayer at least)

Fantastic piece of software, and I only just realised it was written in AutoIT.

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...
Link to comment
Share on other sites

  • KaFu changed the title to AMT - Auto-Movie-Thumbnailer [Updated 2022-Nov-13]

Just running the new version. On a folder of videos the previous version failed to generate thumbnails for. It's still not doing thumbnails, but ...

 

I get an error window when cancelling or completing the list of movies:

 

Title: ea1eb26f-d2e2-4504-ba31-c51fd60207bb

1 line of text: 0x00100A84

Link to comment
Share on other sites

  • KaFu changed the title to AMT - Auto-Movie-Thumbnailer [Updated 2024-Oct-13]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...