Is there any way to hide the configure command options?

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there any way to hide the configure command options?

Nitin Bodke
Hi All,

When we execute ffmpeg, ffmpeg displays configuration options.
e.g

configuration:
--prefix=/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/ffmpeg-0.5.1/release
--extra-cflags=-I/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/faac-1.28/release/include
--extra-cflags=-I/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/faad2-2.7/release/include
--extra-cflags=-I/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/x264-20100425-2245/release/include
--extra-cflags=-I/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/opencore-amr-0.1.2/release/include
--extra-cflags=-I/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/libgsm-1.0.13/inc/
--extra-ldflags=-L/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/faac-1.28/release/lib
--extra-ldflags=-L/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/faad2-2.7/release/lib
--extra-ldflags=-L/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/x264-20100425-2245/release/lib
--extra-ldflags=-L/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/opencore-amr-0.1.2/release/lib
--extra-ldflags=-L/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/libgsm-1.0.13/lib
--enable-gpl --enable-pthreads --enable-version3 --enable-nonfree
--enable-static --enable-shared --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfaac --enable-libfaad
--enable-libx264 --enable-libgsm --enable-libmp3lame
--extra-cflags=-I/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/lame.3.98.4/release/include
--extra-ldflags=-L/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/lame.3.98.4/release/lib

Is there any way to hide this?

Thanks,
Nitin.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Stefano Sabatini
On date Thursday 2011-04-21 20:18:01 +0530, Nitin Bodke encoded:
> Hi All,
>
> When we execute ffmpeg, ffmpeg displays configuration options.
> e.g
>
> configuration:
[...]
> Is there any way to hide this?

No, please add a feature request on the issue-tracker:
https://ffmpeg.org/trac/ffmpeg/report

since this is becoming a common complain.
--
ffmpeg-user random tip #11
One minute of video silence with ffmpeg:
ffmpeg -t 60 -s qcif -f rawvideo -pix_fmt rgb24 -r 25 -i /dev/zero \
    -y silence.mpeg
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Reindl Harald
In reply to this post by Nitin Bodke


Am 21.04.2011 16:48, schrieb Nitin Bodke:
> Hi All,
>
> When we execute ffmpeg, ffmpeg displays configuration options.
> e.g
>
> Is there any way to hide this?

AFAIK no, but i would like this too if there would be a otpion
like "ffmpeg -configure" to not get lost this information
if i have to work on a foreign server and nobody knows how
ffmpeg was built


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

signature.asc (269 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Christian Ebert
In reply to this post by Nitin Bodke
* Nitin Bodke on Thursday, April 21, 2011 at 20:18:01 +0530
> When we execute ffmpeg, ffmpeg displays configuration options.
> e.g
>
> configuration:
> --prefix=/sandbox/mmsc/schundi/workspace/CA/msg-platform/transcoder/alembik/codecs/ffmpeg-0.5.1/release

<snip>
 
> Is there any way to hide this?

Redirecting stderr to /dev/null seems to do what you want.

ffmpeg [... whatever ...] 2>/dev/null

Not entirely certain whether this could have any adverse
side-effects.

c
--
\black\trash movie   _SAME  TIME  SAME  PLACE_
               New York, in the summer of 2001

--->> http://www.blacktrash.org/underdogma/stsp.php
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Nicolas George-2
Le duodi 2 floréal, an CCXIX, Christian Ebert a écrit :
> Redirecting stderr to /dev/null seems to do what you want.
>
> ffmpeg [... whatever ...] 2>/dev/null
>
> Not entirely certain whether this could have any adverse
> side-effects.

Like... discarding error messages and other potentially helpful diagnostics,
for example?

Regards,

--
  Nicolas George

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Christian Ebert
* Nicolas George on Thursday, April 21, 2011 at 19:20:42 +0200

> Le duodi 2 floréal, an CCXIX, Christian Ebert a écrit :
>> Redirecting stderr to /dev/null seems to do what you want.
>>
>> ffmpeg [... whatever ...] 2>/dev/null
>>
>> Not entirely certain whether this could have any adverse
>> side-effects.
>
> Like... discarding error messages and other potentially helpful diagnostics,
> for example?

heh

one could not without reason classify compile time options under
"potentially helpful diagnostics" too ;-)

c
--
\black\trash movie           _COWBOY  CANOE  COMA_
            Ein deutscher Western/A German Western

--->> http://www.blacktrash.org/underdogma/ccc.php
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

nightsbird
In reply to this post by Nitin Bodke
I realize this is old but maybe just edit cmdutils.c and compile again.

Look for this line

    fprintf(stderr, "  configuration: " FFMPEG_CONFIGURATION "\n");

Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

rogerdpack2
> I realize this is old but maybe just edit cmdutils.c and compile again.
>
> Look for this line
>
>    fprintf(stderr, "  configuration: " FFMPEG_CONFIGURATION "\n");

+1 for not displaying it by default, maybe only display it if in
verbose mode or something (as mplayer does...)
-r
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Lou Logan
On Tue, 6 Dec 2011 10:13:26 -0700
Roger Pack <[hidden email]> wrote:

> > I realize this is old but maybe just edit cmdutils.c and compile
> > again.
> >
> > Look for this line
> >
> >    fprintf(stderr, "  configuration: " FFMPEG_CONFIGURATION "\n");
>
> +1 for not displaying it by default, maybe only display it if in
> verbose mode or something (as mplayer does...)
> -r

I prefer that the configure options are shown by default. Seeing the
configure options is useful when helping users in #ffmpeg/mailing
list/trac.

Asking the user to "show the ffmpeg command and the complete console
output" is easier to follow than "show the ffmpeg command with
verbosity enabled (-verbose) and the complete console output".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

rogerdpack2
> I prefer that the configure options are shown by default. Seeing the
> configure options is useful when helping users in #ffmpeg/mailing
> list/trac.

True.  Though I guess it scares non techy people, they won't be using
ffmpeg anyway, right?
-r
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Reindl Harald


Am 06.12.2011 20:31, schrieb Roger Pack:
>> I prefer that the configure options are shown by default. Seeing the
>> configure options is useful when helping users in #ffmpeg/mailing
>> list/trac.
>
> True.  Though I guess it scares non techy people, they won't be using
> ffmpeg anyway, right?

if someone is scared about informations and will not using software
because it does not hide it nobody can help him - not all people are
dump and the current development-road assume taht they are in many
projects should be left better today than tomorrow

the only thing you achive with such demands is that you get finally
more and more dumb users all over the world because they did not
learn it better


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

nightsbird
I see both points, I actually ran across this trying to get rid of them for the sole purpose of a cleaner command line. However I didnt realize that everyone would take such great offense to a solution to a persons problem. Last time I offer advice guaranteed. The people I have asked personally questions about compiling and or usage have responded with rude RTFM comments. The comments after my post seem to be the same closed minded type people. How would one learn with no true solutions offered. It would seem that not offering a solution would dumb down the persons ability to learn. Or better yet explain why you think they would need them.
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Carl Eugen Hoyos
In reply to this post by nightsbird
Roger Pack <rogerdpack2 <at> gmail.com> writes:

> > I realize this is old but maybe just edit cmdutils.c and compile again.
> >
> > Look for this line
> >
> >    fprintf(stderr, "  configuration: " FFMPEG_CONFIGURATION "\n");
>
> +1 for not displaying it by default, maybe only display it if in
> verbose mode or something (as mplayer does...)

What's wrong with ffmpeg -loglevel quiet / warning ?

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

nightsbird
I honestly have never used that option. So I couldnt tell what the output looks like. Will look at this this evening and see.
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to hide the configure command options?

Rhodri James
In reply to this post by Reindl Harald
On Tue, 06 Dec 2011 19:54:04 -0000, Reindl Harald <[hidden email]>  
wrote:

> if someone is scared about informations and will not using software
> because it does not hide it nobody can help him - not all people are
> dump and the current development-road assume taht they are in many
> projects should be left better today than tomorrow
>
> the only thing you achive with such demands is that you get finally
> more and more dumb users all over the world because they did not
> learn it better

Unfortunately putting too much information in front of people also
trains them to be dumb, because it trains them to not read it.  If
information isn't relevant 90% of the time, then you don't notice
it the 10% of the time it actually is relevant.  This is less
important for FFMPEG, where the huge swathe of output dumped on
you is relevant about 0% of the time (so piping it to /dev/null
in a script is "safe") but it does get you into very bad habits
for scripting with other programs.

--
Rhodri James
Kynesim Ltd
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user