Sponsored Content
Top Forums UNIX for Advanced & Expert Users trim 165 MB video clip with ffmpeg (only last 3 minutes) Post 302575528 by mirni on Tuesday 22nd of November 2011 02:30:00 AM
Old 11-22-2011
I was able to trim a test video on my machine with the syntax you provided, so I think it is correct. What I meant in the previous post was to double check the duration of the video (launch it in mplayer or some other player and skip to the end, see what is the duration). It may be that the video is shorter than 52 minutes, in which case you are telling ffmpeg to skip beyond the end of file.
Is it working, if you are trying to trim the first 3 minutes? or the 3 minutes somewhere in the middle of file?
Is it working with some other .flv file?
 

6 More Discussions You Might Find Interesting

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

2. UNIX for Advanced & Expert Users

Ffmpeg (avconv) + crtmpserver Linux streaming video, no player to play it

Hello Linux experts, I'm working on live video streaming project, and my job is to create video streaming server using Ubuntu 13.04 Here is what I've done so far: 1. Installed crtmpserver from Ubuntu's repositories. 2. Installed ffmpeg To test the server i use webcam as source of video,... (0 Replies)
Discussion started by: +Yan
0 Replies

3. Shell Programming and Scripting

Recursive (Into subdirectories) ffmpeg generate jpg from video

My question is how to modify my existing script to generate from videos (mp4,avi,mkv etc...) jpegs via ffmpeg and keep folder name of generated jpg file? So if i have video in /home/videos/MyParty2009/SOmeDirR/VideoSomeTitle.mp4 and it will generate jpg with name of MyParty2009.jpg so the... (2 Replies)
Discussion started by: ZerO13
2 Replies

4. UNIX for Beginners Questions & Answers

How to convert days hours minutes seconds to minutes?

Hi, please help with below time conversion to minutes. one column values: 2 minutes 16 seconds 420 msec 43 seconds 750 msec 0 days 3 hours 29 minutes 58 seconds 480 msec 11 seconds 150 msec I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies

5. Shell Programming and Scripting

Grep a log file for the last 5 minutes of contents every 5 minutes

Hi all, System Ubuntu 16.04.3 LTS i have the following log INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042 INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies

6. UNIX for Beginners Questions & Answers

Length of video file in minutes

I need to extract the length of a video file in minutes, not seconds or hours. How do I get the amount of minutes exclusively? (2 Replies)
Discussion started by: locoroco
2 Replies
qwavfade(1)							 quelcom man pages						       qwavfade(1)

NAME
qwavfade - fade in/out wav files SYNOPSIS
qwavfade [option]... file... DESCRIPTION
qwavfade modifies a wav file applying on it a fade in or a fade out or both. a fade consists in modifying progressively the level of the wav as if you were slowly increasing or decreasing the volume. a fade in con- sists in increasing the volume starting from a low level at the beginning of the wav. a fade out consists in decreasing the volume to a low level at the end of the wav. OPTIONS
-d <duration>[<format>], --duration=<duration>[<format>] duration is a positive integer that specifies the duration of the fade. the value is treated as a sample number unless a format specifier is used. see the FORMATS section below for information. the default value is five seconds. this option overrides the --length option explained below. -h, --help show a brief help and exit. -i, --in just fade in. don't fade out. by default, fade in and fade out. -l <time point>, --length=<time point> time point specifies the length(=duration) of the fade. see the TIME POINTS section below for information. this option is quite sim- ilar to the --duration option above. its easier to use though not as powerful than the previous one. the default value is five sec- onds. this option overrides the --duration option explained above. -o, --out just fade out. don't fade in. by default, fade in and fade out. -t, --test this option can be used to create and fade a tests files instead of modifying to original file. a test file will be created for each type of selected fade (in or out). the name of the test file will be fadein.<file> or fadeout.<file. the duration of the test files is the fade duration plus two seconds. -v, --verbose show more detailed info. -V, --version show version and exit. TIME POINTS
the time points is a easier way to specify the length (or duration) of a fade with a millisecond resolution. here's its formal form: [h:[m:]]s[.ms] where h value is a positive integer meaning hours. m value is a positive integer meaning minutes. s value is a positive integer meaning seconds. ms value is a positive integer meaning milliseconds. only the seconds specifier is required. here are a couple of examples: 1:23:45.67 2:0.001 FORMATS
the --duration option can have also an optional modifier. if this modifier is not used, then the value provided with the corresponding cut option will be interpreted as a number of samples. since most of the times will be difficult to specify a duration in terms of samples, the following modifiers are provided: j value is interpreted as milliseconds. m value is interpreted as minutes. s value is interpreted as seconds. b value is interpreted as bytes. k value is interpreted as kbytes (1024 bytes). M value is interpreted as megabytes (1024 kbytes). in either case, the values specified will be rounded to get an integer number of samples. EXAMPLE
suppose you want to fade in and out the fantastic song live.in.concert.wav using a fade duration of 5 seconds: first we are going to test: qwavfade -t -d 7s live.in.concert.wav hear the test fades: my-favourite-wav-player fadein.live.in.concert.wav my-favourite-wav-player fadeout.live.in.concert.wav if you want to try with another duration, jump to the first step and change the duration argument. and if you're happy with the tests: qwavfade -d 5s live.in.concert.wav NOTES
qwavfade doesn't allow both types of fades (in and out) to overlap. if you want to fade in and out a wav file, and the two regions to fade overlap, then probably you made a mistake. in any case, you can do it fading separately. BUGS
tests has been done only with 44100 Hz 16 bit stereo files, though it may work with mono/stereo 8/16 bits files. AUTHOR
dmanye@etse.urv.es http://www.etse.urv.es/~dmanye/quelcom/quelcom.html SEE ALSO
qwavinfo(1), qwavjoin(1), qwavcut(1), qwavsilence(1), qwavheaderdump(1) qmp3info(1), qmp3join(1), qmp3cut(1), qmp3check(1), qmp3report(1) quelcom 0.4.0 february 2001 qwavfade(1)
All times are GMT -4. The time now is 11:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy