may nothing | 1 Sep 2006 15:04
Picon
Favicon

ffmpeg.c doesn't compile

ffmpeg.c doesn't compile om my sparc box using gcc 4.1.1 and gnu ld

ffmpeg.o: In function `opt_default':
/space/ffmpeg/ffmpeg.c:3954: undefined reference to `ffm_nopts'
/space/ffmpeg/ffmpeg.c:3954: undefined reference to `ffm_nopts'
/space/ffmpeg/ffmpeg.c:3954: undefined reference to `ffm_nopts'
/space/ffmpeg/ffmpeg.c:3954: undefined reference to `ffm_nopts'
./libavformat/libavformat.a(rtp.o): In function `rtp_parse_close':
/space/ffmpeg/libavformat/rtp.c:513: undefined reference to `mpegts_parse_close'
./libavformat/libavformat.a(rtp.o): In function `rtp_parse_open':
/space/ffmpeg/libavformat/rtp.c:287: undefined reference to `mpegts_parse_open'
./libavformat/libavformat.a(rtp.o): In function `rtp_parse_packet':
/space/ffmpeg/libavformat/rtp.c:377: undefined reference to `mpegts_parse_packet'
/space/ffmpeg/libavformat/rtp.c:419: undefined reference to `mpegts_parse_packet'
collect2: ld returned 1 exit status
gmake: *** [ffmpeg_g] Error 1
bash-3.00#

any idea ?

TIA
Martin
mgberry | 1 Sep 2006 15:08

libavcodec/libavformat questions

I posted this on the users group and I realized I should have been  
asking this group.  I've been fighting with a series of questions that  
I was hoping
someone could help me answer.

1.I have been using the ffmpeg package for slackware with no problems.
   I think the build was 11/2005.  I recently switched the latest
source revision and built project.  Now my sound does not work and the
video is garbled using ffplay.   This is in a attempt to run a file
that uses the svq3 codec. I have run up and down the halls (not
literally) trying to figure this out with no results.  Any thoughts?

2.I am assuming that mplayer builds it own libs and does not use the
libs that I built in ffmpeg.  In looking at the source it appears to
be packaged and built with the source tree.  Is this correct?  ldd
does not show any links to libavcodec or libavformat.

3.I have been trying to access the shared libs using some sample
source from
http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html  It would
not compile and  I changed one of the structs from .codec to ->codec.
That seemed to fix one of the problems but I cant seem to resolve the
others.  The errors are:

	avcodec_sample.0.4.9.cpp: In function `int main(int, char**)':
	avcodec_sample.0.4.9.cpp:92: error: cannot convert `AVCodecContext**' to `
     	AVCodecContext*' in assignment
	avcodec_sample.0.4.9.cpp:105: error: 'struct AVCodecContext' has no member
   	named 'frame_rate'
	avcodec_sample.0.4.9.cpp:105: error: 'struct AVCodecContext' has no member
(Continue reading)

Picon

developer documentation of ffmpeg

Hi,
I'm a C++ developer,  and i want to contribute to ffmpeg. Can some body
provide or explain me architecture of ffmpeg. I also need some documentation
of code to understand.

Thanks.
--

-- 
Sharique uddin Ahmed Farooqui
(C++/C# Developer. IT Consultant, Open Source Expert)
http://www.sharique.managefolio.com/
Read my Blogs at http://safknw.blogspot.com
A revolution is about to begin.
A world is about to change.
And you and me are "the initiator".
Benjamin Larsson | 1 Sep 2006 15:29
Picon

Re: developer documentation of ffmpeg

Hi.

Sharique uddin Ahmed Farooqui skrev:
> Hi,
> I'm a C++ developer,  and i want to contribute to ffmpeg. Can some body
> provide or explain me architecture of ffmpeg. I also need some 
> documentation
> of code to understand.
>
> Thanks.
This was written for the Google Summer of Code students, it might give 
you some hints:
http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto

Otherwise read the links on the documentation page. And when you feel 
adventurous enough you can pick a task in the TODO list. I'll try to 
fill it with some more entrys later today.

MvH
Benjamin Larsson
Rich Felker | 1 Sep 2006 15:47

Re: [OT] How to send e-mails compliant with mailman'sthreading with Thunderbird?

On Fri, Sep 01, 2006 at 12:47:24AM +0200, VĂ­ctor Paesa wrote:
> Hi,
> 
> > At first I used to write to the list using my Hotmail account and Outlook
> > Express. That combination obviously screwed up all quoting and the
> > threading in the archives. My e-mails were scattered all over the place
> > being identified as replies to anything (in the ffmpeg-devel archives)...
> >
> > So I switched to Thunderbird, but my e-mails still screwed up the
> > threading. Now I switched e-mail accounts to another server (I thought it
> > was Hotmail or the Hotmail plugin in ThunderBird that was doing something
> > non-compliant). But I see that I'm still causing the same problems in the
> > threads. Using SquirrelMail (Webmail) also caused the same thing, which is
> > weird, since I see other people using SquirrelMail with success on the
> > list.
> >
> 
> I also suffered that weird behaviour of Hotmail.
> I'm no mail expert, so I just switched to another webmail provider, that is
> offering SquirrelMail. Since in your case didn't work, I'm wondering
> if the problem is the mail server your provider uses, and not in the
> mail clients you are trying ...

If the mail server can break this it's beyond broken. The only thing
that matters for threading is that your "In-Reply-To:" header matches
the "Message-ID:" header of the mail you're replying to. Some systems
may use other heuristics to aid threading but that rule is the key.

Rich
(Continue reading)

Rich Felker | 1 Sep 2006 15:50

Re: developer documentation of ffmpeg

On Fri, Sep 01, 2006 at 03:29:17PM +0200, Benjamin Larsson wrote:
> Hi.
> 
> Sharique uddin Ahmed Farooqui skrev:
> >Hi,
> >I'm a C++ developer,  and i want to contribute to ffmpeg. Can some body
> >provide or explain me architecture of ffmpeg. I also need some 
> >documentation
> >of code to understand.
> >
> >Thanks.
> This was written for the Google Summer of Code students, it might give 
> you some hints:
> http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
> 
> Otherwise read the links on the documentation page. And when you feel 
> adventurous enough you can pick a task in the TODO list. I'll try to 
> fill it with some more entrys later today.

Also be aware that C is not C++, although if you know C++ then C
coding shouldn't be too difficult.

Rich
Diego Biurrun | 1 Sep 2006 16:13
Picon
Gravatar

overall license review - adding proper license headers

I took the time to look through all of the files in FFmpeg and review
the licensing conditions.  Not the most exciting thing in the world to
do, but I figured it would be worth the while.  I've stumbled across
some things that demand attention and/or clarification.  I'm willing to
commit the fixes, but I'll need your opinions, comments and permission.

libavcodec/fdctref.c claims all rights reserved.  This is non-free.
Houston, we have a problem.  Where does this file come from?

In libavformat/ dv1394.h is marked as GPL while dv1394.c is marked as
LGPL.  While this is probably an oversight, this makes FFmpeg versions
compiled with dv1394 support effectively GPL.  It's compiled in by
default on platforms that support it.  This looks like a simple
oversight, but probably the original author should be asked before this
is changed or the code put under CONFIG_GPL.

libavcodec/armv4l/simple_idct_arm.S is marked as GPL, but the original
commit message from Alex says:

  Optimized simple idct for arm by Frederic 'dilb' Boulay <...>.
  Currently licensed under the GPLv2, but the author
  allowed to license it under the LGPL, feel free to change

I think this should simply be switched to LGPL then.

libavcodec/i386/idct_mmx.c is marked as GPL but with the exception that
it can be used as LGPL in libavcodec.  IMO this is equivalent to
releasing it under the LGPL in libavcodec.  The licensing note should be
updated.

(Continue reading)

Aly Cisse | 1 Sep 2006 16:20
Picon

Re: developer documentation of ffmpeg

Hello

I am also atually works on documentation, if you are interested we can try
to achieve something together.

2006/9/1, Rich Felker <dalias <at> aerifal.cx>:
>
> On Fri, Sep 01, 2006 at 03:29:17PM +0200, Benjamin Larsson wrote:
> > Hi.
> >
> > Sharique uddin Ahmed Farooqui skrev:
> > >Hi,
> > >I'm a C++ developer,  and i want to contribute to ffmpeg. Can some body
> > >provide or explain me architecture of ffmpeg. I also need some
> > >documentation
> > >of code to understand.
> > >
> > >Thanks.
> > This was written for the Google Summer of Code students, it might give
> > you some hints:
> > http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
> >
> > Otherwise read the links on the documentation page. And when you feel
> > adventurous enough you can pick a task in the TODO list. I'll try to
> > fill it with some more entrys later today.
>
> Also be aware that C is not C++, although if you know C++ then C
> coding shouldn't be too difficult.
>
> Rich
(Continue reading)

Guillaume Poirier | 1 Sep 2006 16:23
Picon

Re: developer documentation of ffmpeg

Aly Cisse wrote:
> Hello
> 
> I am also atually works on documentation, if you are interested we can try
> to achieve something together.

Please sent your upcomming document patches as soon as you have smth
usable so that they can be reviewed quickly and put to the official doc.
It's always simpler to review small patches rather than bigger ones.

And please do not top post.

Guillaume
oz ozden | 1 Sep 2006 16:24
Picon
Favicon

sending raw video and audio to darwin streaming server

Hi all,
  I am trying to find away to send raw yuv and audio data from a socket to the darwin streaming server . Can i use
ffmpeg to convert the stream from the socket to .mov format without saving to a file ie on the fly and then
encapsulate the data with rtp before sending out to the server ? Has anyone done anything similar ? 
  Can this be done using ffserver ? From my understanding ffserver will stream but the source must be a device ,
is there a version that will read and stream live audio and video from a socket ( and the raw streams
converted to mov format ) ?
  Oz

 		
---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

Gmane