2007-07-28, 11:04 PM
oh and add -deinterlace as it makes for better snaps...forgot about that..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
2007-07-28, 11:04 PM
oh and add -deinterlace as it makes for better snaps...forgot about that..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
2007-07-29, 01:44 AM
Strangely by adjusting the order of the parameters to the following made it fast. Same paremeters, different order.
Code: <CaptureScreenshotCmdLine>-y -ss {SECONDS} -vframes 1 -i "{SOURCE_FILE}" -f image2 -s 160x120 "{DEST_FILE}"</CaptureScreenshotCmdLine>
2007-07-29, 01:46 AM
mrxtc89117 Wrote:What is the version of ffmpeg that you are using. I have found that certain versions do not take the same commandline options such as -f or -img. Also, the output seems to be always named with a number such as img00001.jpg. I want to name it the same as the video filename so it comes out as a thumbnail image in gbpvr/pvrx2. ThanksAre you using the built in mechanism? If so, it should produce a file with the filename the same as the video but .jpg extension.
2007-07-29, 02:54 AM
Yes, these are the parameters I use and it works very well. Thanks
ffmpeg -y -ss 10 -vframes 1 -i "%*.mov" -f image2 -s 200x130 "%*.jpg" Now if I can just figure out how to write a batch file and go into all the subdirectories and run this command for each video file it sees.
2007-07-29, 08:03 AM
mrxtc89117 Wrote:Yes, these are the parameters I use and it works very well. Thanks What would be very cool would be if one of you could X-ref this with Comskips estimating routines, as the frames of one of the show lead-ins that comskip recognizes would make a great icon (for me). k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
2007-07-30, 08:01 PM
sub Wrote:Strangely by adjusting the order of the parameters to the following made it fast. Same paremeters, different order. ahhh,it's cuz you had the vframes 1 after the input file.. as i understand it, the new ffmpeg syntax changed to having all parameters before their intended target, so the input options have to be before the -i and all output opts just before the output, or at least has to be after the input.. [input opts] -i file [output opts] outputfile so the vframes needs to be before the input, and sizing after the input.. glad it works well for you now..really comes in handy..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
2007-07-31, 07:11 AM
in showburner i use that very thing..[actually i tried out several methods in fallback to lesser accurate ones]
i had to write a program to convert the comskip times to seconds so i could use with this parameter, also i made one where you would watch the video to where you wanted the snap in GPBVR and stop, the run batch and it snaps last viewed position.. [search the forums, i made a complete snap maker batch for use from video library transcode buttons,you can select your snap points]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
jksmurf Wrote:What would be very cool would be if one of you could X-ref this with Comskips estimating routines, as the frames of one of the show lead-ins that comskip recognizes would make a great icon (for me). Your wish is my command... [actually wanted to make one of these anyways] batch file only.,.. usage: save as snap.bat and type [snap.bat filename.mpg] it will save as filename.jpg in that dir,at native mpeg resolution,a snap 2 secs after first commercial ends.. instructions in batch for adjustments.. Code: @echo off Enjoy!
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
mrxtc89117 Wrote:Now if I can just figure out how to write a batch file and go into all the subdirectories and run this command for each video file it sees. If you use pBS' snap.bat, this code will go through dir and sub-dirs and create a jpg for all recordings/videos: Code: FOR /R D:\Download\video\ %%G IN (*.mpg *.avi *.wmv *.mpeg *.mov) DO D:\Download\video\snap "%%G"
Michael Larsen
[SIZE="1"]HTPC: Asus AMD 785G- M4A785TD-M/EVO, ATI 4200 HDMI, AMD Phenom II X2 550 - 3.0 GHz, 2 GB Ram, 500 GB Seagate Barracuda Terratec Cinergy C PCI HD, NVidia PureVideo, Cyberlink Windows 7 ULT, NPvr v1.5.33[/SIZE] Website
2007-07-31, 01:47 PM
pBS Wrote:Your wish is my command... [actually wanted to make one of these anyways] Thank you pBs :-) ..I'll give it a whirl .. k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
|
|