Hi, did you find a solution to this? i have 20gb .ts files, around 30 in a go and i wish to take a screen shot at 90 seconds in, i also wish to do this as a batch
I have the most up to date FFmeg a the time of this post, my code is
i know this is prob very wrong.. can any one help?
thanks.
UPDATE:
To work with the bigger files you need to have -ss before the -i, this stops it trying to cache the media before your time point and it just skips it and goes direct. My code (which now works) is:
FILEPUSH.BAT (this pushes the files with .ts extension to the FFMPEG batch)
FOR %%i IN (*.ts) DO (FFMpegBatch_V1.0.bat "%%i")
FFMpegBatch_V1.0.BAT
IF EXIST "%~d1%~p1%~n1.jpg" GOTO exit
@echo ————————— >> “%~d1%~p1%convert.log” @echo Conversion for %1 started on %DATE% %TIME% >> “%~d1%~p1%convert.log”
You dont really need all the log stuff, just the line with ffmpeg.exe (you only need the .exe if in xp) you also dont need the %~d1%~p1 as this is only for the log, but you will need %~n1 as this creates the jpeg in the same name as the video file. All this is run in the same folder as the videos, saves having to write about paths etc.. and you need to make sure that ffmpeg.exe is in the same folder as the video and these 2 batch files.
Thanks
PS worked on 50x20gb+ .ts files in about 40seconds
Just downloaded today's RC 1.0.2.5 and tried it on 30 movies taking 6 screenshots each movie. "Automatic Screenshots" works fine on ts-files (mpeg-2 and AVC) under 4 GB. THANK YOU!
On material over ca. 4 GB I very often got only two different pictures, the second one was repeated four times. This happened with mpeg-2 and AVC material, so I guess "size matters". Some AVC material over 4 GB had instead of repeated pictures grey, black or green "screenhots".
Nostra, thanks for your reply - but nothing changed. It still only works for *.mpeg, not for *.ts. Renaming my *.ts files to *.mpeg doesn't work neither (ts-containers contain mpeg files as far as I know).
using and loving this fine piece of software one of the most useful features for me is "Automatically create screenshots". It worked fine when I recorded my TV-movies as mpeg-2 files. When I changed my current recordings to the *.ts container format (containing mpeg-2=h.262 or mpeg-4=h.264 files) the automatic screenshots don't work while manually screenshots are still possibly. I use the latest ffmpeg static build and pvd 0.9.9.21 (also tried the pvd-beta).