Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the fifth word in this sentence?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: nostra
« on: September 27, 2013, 09:43:13 pm »

I am already using the -ss parameter, so it may work in PVD itself if you use the latest ffmpeg.exe
Posted by: Runawaygeek
« on: August 28, 2013, 04:28:05 pm »

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

IF EXIST "%~d1%~p1%#n1.jpg" GOTO exit

ffmpeg.exe -itsoffset -90 -i "%~d1%~p1%#n1.ts" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 640x360 "%~d1%~p1%#n1.jpg"

:exit

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”

ffmpeg.exe -ss 45 -i "%~d1%~p1%~n1.ts" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 640x360 "%~d1%~p1%~n1.jpg"



           @echo ————– DONE – SUCCESS ———————- >> “%~d1%~p1%convert.log”
            :exit

           @echo ——————————– >> “%~d1%~p1%convert.log”
           @echo “%~d1%~p1%~n1.mpg” already exists >> “%~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
Posted by: nostra
« on: April 15, 2013, 10:16:38 pm »

Well, I can reproduce the problems with 4GB+ TS files, but can't find a solution yet :(
Posted by: nostra
« on: April 13, 2013, 09:58:34 pm »

OK, I'll check what is going on with 4GB+ size files before release.
Posted by: marty
« on: April 13, 2013, 06:21:17 pm »

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".
Posted by: marty
« on: April 07, 2013, 09:11:11 pm »

Thank you nostra - my donation is on its way ...
marty
Posted by: nostra
« on: April 06, 2013, 10:31:56 pm »

Thx for the sample. I could find what was going wrong and will fix the problem in the next update.
Posted by: marty
« on: April 06, 2013, 12:45:24 pm »

Posted by: nostra
« on: April 05, 2013, 06:52:35 pm »

Can you upload a sample file somewhere?
Posted by: marty
« on: April 05, 2013, 03:04:11 pm »

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).

marty
Posted by: nostra
« on: April 04, 2013, 11:39:42 pm »

Try updating the ffmpeg utility
http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-latest-win32-static.7z

Copy ffmpeg.exe to the [PVD Installation folder]\ffmpeg
Posted by: marty
« on: April 01, 2013, 10:51:39 am »

Hi everybody,

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).

Does anybody has an idea?

Thanks!
Marty
anything