The time now is Tue 24 Apr 2018, 23:20
All times are UTC - 4 |
Page 2 of 2 [20 Posts] |
Goto page: Previous 1, 2 |
Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sat 18 Dec 2010, 20:09 Post subject:
|
|
you _shouldn't_ see anything on the command line if you are redirecting stderr to a file because ffmpeg sporadically uses write(2,...) to output a lot to stderr, vice the traditional stdin which is write(1,...)
I don't know their reasoning for this - just that it makes it a PITA to parse the output.
piping through cat seems to work though
ffmpeg [parameters] 2>/dev/stdin |cat > [file]
or the equivalent
ffmpeg [parameters] 2>&1 |cat > [file]
if you want also to _see_ the output use tee instead of cat
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sat 18 Dec 2010, 22:41 Post subject:
|
|
Success!! Thanks technosaurus!
The problem... I had the code for this in a function, I put it in the main code...
Now I`m thinking some of the other suggestions will work also...
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Sat 18 Dec 2010, 23:00 Post subject:
|
|
technosaurus wrote: |
ffmpeg [parameters] 2>&1 |cat > [file]
if you want also to _see_ the output use tee instead of cat |
without the redirection symbol 'tee file'
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sun 19 Dec 2010, 02:27 Post subject:
|
|
Speech codecs: amr, vpx, speex, and z and bz filtered out of the GUI list.
And the video and audio codecs are separated into two lists.
I don`t see a codec for Mpeg 2, is it still illegal to have it without paying?
And I don`t see the Flash codec, it`s popular (web) but it`s loosing favor I hear.
How about codecs for Ipod, PSP, and other portable video devices?
Are there any other codecs I should be looking for? wma, wmv, mp4, mov, etc.?
Thanks guys... Now I need to write code to make the GUI`s varying radio boxes.
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 23 Dec 2010, 19:41 Post subject:
|
|
Quite a few people posted here with good info
but I took this as a puzzle only (I like puzzles) and was bored
since this thread was solved but that -e command still bugged me
its easy without the -e
that changes how the command line is read
giving you a named window
I got this one to work
Code: | xterm -hold -e "ffmpeg | cat >/tmp/4"
|
I saw that amigo said to use the " " around the command and
piping to cat from technosaurus
but with rxvt it wouldnt work ?
Joe
|
Back to top
|
|
 |
|
Page 2 of 2 [20 Posts] |
Goto page: Previous 1, 2 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|