Sponsored Content
Full Discussion: Ffmpeg
Special Forums Windows & DOS: Issues & Discussions Ffmpeg Post 303006273 by junorich on Monday 30th of October 2017 04:49:57 PM
Old 10-30-2017
Ffmpeg

Hello everyone, I am new here so forgive me if this is in the wrong place. I am new to shell script and am trying to write a script to use with a program called ffmpeg. Would this be something I could get help with here?

Code:
 set /p VIDEO=Enter full name of video file on desktop:
md "%userprofile%\desktop\frames"
ffmpeg.exe -y -i "%userprofile%\desktop\%VIDEO%.mp4" -an -r 10 "%userprofile%\desktop\frames\img%%3d.jpg"

This allows you to paste the name of an mp4 file in the window and it will automatically make a folder and print out a frame by frame of the video in it. This was given to me and I added the little mp4 extension to it but that is as far as I can go. Would anyone here be able or willing to show me how to edit this further to do a few other things?

Thank you all for your time and help.

Last edited by Don Cragun; 10-30-2017 at 06:10 PM.. Reason: Add CODE and ICODE tags.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Completing ffmpeg installation

Hello. i am new to unix, though have quite a substantial background of other systems. i recently installed ffmpeg and mencoder on a unix server, which holds a website, in order to use these programs from the website. after installation, i can activate both commands directly using putty, no... (1 Reply)
Discussion started by: noamon
1 Replies

2. OS X (Apple)

Video grab using ffmpeg?

Does anyone know how to grab video (screen) on Terminal using ffmpeg (not X11). I have written a unix library and I'd like to make a short movie (demo) of it. Tried: I already own SNapz Pro2 but it hangs the system (I have an old Powerbook 15" PPC). I guess my system is too slow for version... (0 Replies)
Discussion started by: sentinel
0 Replies

3. Shell Programming and Scripting

FFMPEG in linux box

Hi all, I have successfully used ffmpeg.exe in windows. But i dont know how to use it in linux:confused:. When i tried running a java program in linux using ffmpeg, I am getting, the following error even after having that ffmpeg.exe in my classpath: "java.io.IOException: java.io.IOException:... (3 Replies)
Discussion started by: ananthi_ku
3 Replies

4. UNIX for Dummies Questions & Answers

FFMPEG install problem on Unix

Guys, I'm new on Unix and I was hoping you could help me installing ffmpeg on Apple TV 1st Gen, which is a Unix based OS. This is the version of Unix. Darwin AppleTV.local 8.8.2 Darwin Kernel Version 8.8.2: Mon Jan 29 18:57:29 PST 2007; root:xnu-792.94.18~1/RELEASE_I386 i386 i386 I was... (6 Replies)
Discussion started by: ferrarih
6 Replies

5. Shell Programming and Scripting

a playlist for ffmpeg streamer

Hi, I hope I am posting in the right place. I use to stream to justin tv using ffmpeg with that command ffmpeg -re -i "path/to/input.avi" -vcodec libx264 -preset fast -crf 30 -acodec libfaac -ab 128k -ar 44100 -f flv rtmp://live.justin.tv/app/xxxxxxxxxxx I would like to know if a bash... (2 Replies)
Discussion started by: undercash
2 Replies

6. Windows & DOS: Issues & Discussions

FFMPEG command problem...

Hi, Currently having some trouble with FFMPEG.... I have the following files: 0001_.gif 0002_.gif ............. 0584_.gif 0585_.gif 0586_.gif 0587_.gif 0588_.gif 0589_.gif 0590_.gif 0591_.gif And am trying to use ffmpeg to join them to a video as follows: (7 Replies)
Discussion started by: pasc
7 Replies

7. UNIX and Linux Applications

Slideshow with ffmpeg converter

Hi, everyone! I'm on a Debian 9.0 GNU/Linux machine. I'm not a very experienced user, but I do my best to learn. So, I have a bunch of images PNG files. I'm trying to make a slideshow with these using the ffmpeg video converter. I also have an audio WAVE stereo file which I'd like to merge... (0 Replies)
Discussion started by: worov
0 Replies

8. Shell Programming and Scripting

To call ffmpeg in a loop

Hello, I was inquiring myself if it's possible to call ffmpeg in loop, an in each iteration, ffmpeg will pick one of the files in a directory and produce a new with a slightest different name. Can be as simple as a '*' in the beginning of the file name. I know how to use ffmpeg to do the... (2 Replies)
Discussion started by: colt
2 Replies
xscreensaver-getimage(1)					XScreenSaver manual					  xscreensaver-getimage(1)

NAME
xscreensaver-getimage - put some randomly-selected image on the root window SYNOPSIS
xscreensaver-getimage [-display host:display.screen] [--verbose] window-id [pixmap-id] DESCRIPTION
The xscreensaver-getimage program is a helper program for the xscreensaver hacks that manipulate images. This is not a user-level command. This program selects a random image, and puts it on the specified window or pixmap. This image might be a snapshot of the desktop; or a frame captured from the system's video input; or a randomly-selected image from disk. If only a window ID is specified, the image will be painted there. If both a window ID and a pixmap ID are specified, then the image will be painted on the pixmap; and the window may be modified as a side-effect. OPTIONS
xscreensaver-getimage reads the ~/.xscreensaver file for configuration information. It uses these settings: grabDesktopImages Whether it is acceptable to grab snapshots of the desktop. The security paranoid might want to turn this off, to avoid letting people see (but not touch!) your desktop while the screen is locked. grabVideoFrames Whether it is acceptable to grab frames of video from the system's video input. Grabbing of video is done by invoking the xscreen- saver-getimage-video(1) program. chooseRandomImages Whether it is acceptable to display random images found on disk. Selection and loading of images is done by invoking the xscreensaver- getimage-file(1) program. imageDirectory When loading images from disk, this is the directory to find them in. The directory will be searched recursively for images. It may also be the URL of an RSS or Atom feed, in which case a random image from that feed will be selected instead. The contents of the feed will be cached locally and refreshed periodically as needed. If none of the three options are set to True, then video colorbars will be displayed instead. BUGS
When grabbing desktop images, the window argument will be unmapped and have its contents modified, causing flicker. (This does not happen when loading image files or video frames.) SEE ALSO
X(1), xscreensaver(1) xscreensaver-demo(1) xscreensaver-getimage-file(1) xscreensaver-getimage-video(1) COPYRIGHT
Copyright (C) 2001-2011 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. AUTHOR
Jamie Zawinski <jwz@jwz.org>, 14-Apr-01 X Version 11 5.15 (28-Sep-2011) xscreensaver-getimage(1)
All times are GMT -4. The time now is 08:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy