Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Marton Balint


On Mon, 6 Feb 2017, יוסף אלון wrote:


because i need to record 36 seconds every 30 seconds and i cant find a
command to do this.


Are you sure you cannot do what you want with the segment muxer? Do you 
really need overlapping segments?


Regards,
Marton
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Nicolas George
L'octidi 18 pluviôse, an CCXXV, יוסף אלון a écrit :
> because i need to record 36 seconds every 30 seconds and i cant find a
> command to do this.

Unfortunately, ffmpeg does not yet support libtardis.

> So I wanted to build an a  c program to do it using ffmpeg libs.

You can definitely do that, but you are doing wrong. You need to rely
solely on the installed headers. Do not take ffmpeg.c as an example, it
is too complex and it uses a few internal APIs. Use the files in the
doc/example/ directory. And I recommend using pkg-config to get the
correct compile and link flags.

> 2017-02-06 11:18 GMT+02:00 Nicolas George :

Remember not to top-post on this mailing-list. If you do not know what
it means, look it up.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread יוסף אלון
because i need to record 36 seconds every 30 seconds and i cant find a
command to do this.
So I wanted to build an a  c program to do it using ffmpeg libs.

2017-02-06 11:18 GMT+02:00 Nicolas George :

> L'octidi 18 pluviôse, an CCXXV, יוסף אלון a écrit :
> > I am trying to compile only the includes in ffmpeg.c with a simple main,
>
> Why? Do not do that!
>
> Regards,
>
> --
>   Nicolas George
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>



-- 
בברכה, יוסף אלון
050-4916740
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread Nicolas George
L'octidi 18 pluviôse, an CCXXV, יוסף אלון a écrit :
> I am trying to compile only the includes in ffmpeg.c with a simple main,

Why? Do not do that!

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

2017-02-06 Thread יוסף אלון
Hello,

I am trying to compile only the includes in ffmpeg.c with a simple main,
but i recieve an error:
In file included from libavutil/internal.h:166:0,
 from newmain.c:30:
libavutil/libm.h:54:32: error: static declaration of ‘cbrt’ follows
non-static declaration
 static av_always_inline double cbrt(double x)
^

from libavutil/internal.h
I am using the flag -lavutil.
any help?

-
Yosef Alon
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".