8 More Discussions You Might Find Interesting
1. Web Development
Working on LP: 10. Lesson 1: Oracle JET 4.x - Lesson 1 - Part 4: Data Binding in this Oracle JET online course - Soar higher with Oracle JavaScript Extension Toolkit (JET), I have created this code for incidents.js
I cannot get the load average data in this Oracle JET test to update the... (4 Replies)
Discussion started by: Neo
4 Replies
2. Shell Programming and Scripting
I want to save a variablecontent in a Textfile. How can i do that?
These works only with ls shell_exec("ls > text.txt");Please use code tags, thanks (2 Replies)
Discussion started by: Linuxmann
2 Replies
3. Shell Programming and Scripting
My first post, so don't kill me :)
Say i open some textfile with some example like this.
on the table are handy, bread and wine
Now i know exactly what is in and i want to separate and sorted it in terminal to an existing file with another 2 existing lines in like this:
table
plane ... (3 Replies)
Discussion started by: schwatter
3 Replies
4. Windows & DOS: Issues & Discussions
So...
I have a text file that contains this (hex.txt):
#8C7CA6
#6C70A5
#75777C
#959A90
#7A7C6C
#867DAB
#80867E
#8A87BD
#6B71C6
#8F8A79
#9A9DCE
#7E87D0
#69709E
#82968C
#7C8F81
#A3917B (5 Replies)
Discussion started by: pasc
5 Replies
5. AIX
Every now and then I google: SecuringAIX (I write a blog by that name, so I am curious where it stands - and to my dismay I did not make the top5 today from my current location.
However, this unix.com/aix thread did make the top5- and, imho, it is lacking in clarity and ease. So, I thought I... (3 Replies)
Discussion started by: MichaelFelt
3 Replies
6. Shell Programming and Scripting
Hi everyone,
I need to make a script to take three parameters:
-> KEY
-> NEW_VALUE
-> FILE
The FILE is a text plane file.
The KEY is a variable to configure, for example:
KEY1 = HOLA
KEY2= HOLA
KEY3=HELLO
KEY4 =HOLA
And the... (4 Replies)
Discussion started by: Xedrox
4 Replies
7. Shell Programming and Scripting
Hi All,
So I found a cool way to change extensions to multiple files with:
for i in *.doc
do
mv $i ${i%.doc}.txt
done
However, what I want to do is move *.txt to *_0hr.txt but the following doesn't work:
for i in *.txt
do
mv $i ${i%.txt}_0hr.txt
done
My questions are (1) Why... (2 Replies)
Discussion started by: ScKaSx
2 Replies
8. UNIX for Advanced & Expert Users
This post captures my recent experience in getting my Dell XPS Gen 3 to support dual boot of Windows XP (Professional) and the Fedora 9 Linux distribution.
I searched quite a bit on the internet and found, of course, a variety of opinions regarding how to setup this type (dual boot) of... (1 Reply)
Discussion started by: rlandon@usa.net
1 Replies
yuvfps(1) MJPEG tools manual yuvfps(1)
NAME
yuvfps - Converts to a different frame rate
SYNOPSIS
yuvfps [-r Num:Den] [-s Num:Den] [-i Interlacing] [-I Interlacing] [-c] [-n] [-w] [-v 0-2] [-h]
DESCRIPTION
yuvfps is a general (UP or DOWN) resampling utility that is provided to allow the generation of video streams with the frame rates required
for each standard video format. yuvfps reads a YUV4MPEG stream from the standard input and outputs a YUV4MPEG stream to the standard output
in which frames from the original ones are skipped (downsampling) or duplicated (upsampling). This allows for other mjpegtools that
require a specific frame rate to process the stream.
yuvfps uses by default Bresenham's algorithm to do the resampling so that the new video stream is similar to the original one. Note, how-
ever, that downscaling is a non-reversible operation because frames are dropped. Moreover, the resulting video stream may not have the
exact same duration as the original one if the new frame rate is not a whole multiple of the original rate.
As an alternative to simply dropping or duplicating frames each output frame/field can be produced as a weighted average of the two tempo-
rally closest input frames/fields. In this mode, yuvfps can also change the interlacing mode of the stream.
yuvfps also can "fix" the framerate specified in the YUV4MPEG header. This allows for the generation of effects (fast-forwarding, slow
motion) and also when the source stream has some framerate that is very close, but not exactly, the rate required for some standard video
(for example, 24.9 vs 25).
OPTIONS
-r Num:Den
Specifies the resulting stream frame rate.
-s Num:Den
Ignores the frame rate in the input stream and assumes this frame rate for the input stream.
-i Interlacing
Specifies the interlacing mode of the resulting stream. The interlacing mode can be changed only when using the weighted average
resampling mode (the -w option).
p - progressive (non-interlaced)
t - top-field first
b - bottom-field first
-I Interlacing
Ignores the interlacing mode information in the input stream and assumes this interlacing mode for the input stream. The possible
values are the same as for the -i option.
-c
Changes the stream header frame rate and interlacing mode in the output stream but copies frames from the original stream without
changes. The -r and -i options specify the frame rate and interlacing mode for the output stream header.
-n
By default yuvfps tries to find a normalized framerate. Some programs create framerates like: 29969909:1000000 which is actually th
typical NTSC framerate of 30000:1001. yuvfps prints out the normalizes values and the original when it starts. If you think the nor-
malized value is not correct and want yuvfps to use the original given number you have to add that option. So yuvfps does not try to
normalize the values.
-w
Produce each output frame/field as a weighted average of the two temporally closest input frames/fields instead of simply dropping
or duplicating frames. The blending of two adjacent frames/fields reduces visible stepping compared to the default drop/duplicate
algorithm but as a drawback it makes fast moving objects appear blurred and is much slower.
-v [0,1,2]
Set verbosity level.
0 = warnings and error messages only.
1 = add informative messages, like the framerate conversation information.
2 = add chatty debugging message, too.
AUTHOR
This man page was written by Alfonso Garcia-Patino Barbolani.
Johannes Lehtinen added information about the weighted average resampling mode and the related options.
If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
For more info, see our website at
http://mjpeg.sourceforge.net/
SEE ALSO
yuvscaler(1), mjpegtools(1), lavpipe(1), lav2yuv(1) mpeg2enc(1)
MJPEG Linux Square 8 Jan 2006 yuvfps(1)