creating compressed mpeg from a sequence of images

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

creating compressed mpeg from a sequence of images

John Zhang-3
Hey,

I'm trying to create a compressed mpeg from a sequence of images and I was
wondering if anybody would mind directing me to some sample source code.

Thanks in advance!

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

Re: creating compressed mpeg from a sequence of images

Michel Bardiaux-2
John Zhang a écrit :
> Hey,
>
> I'm trying to create a compressed mpeg from a sequence of images and I was
> wondering if anybody would mind directing me to some sample source code.
>
Read FAQ 1.2. Then Read The F...ine Source.

Greetings,
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:[hidden email]

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: creating compressed mpeg from a sequence of images

Andy Civil
Michel Bardiaux wrote:

> Read FAQ 1.2. <snip>

There is no FAQ referenced in your (or anyone's) .sig
There is no FAQ referenced on the mailing list web page at
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
There is no FAQ referenced on the main website hosting the mailing list
- there is one under "documentation" but it appears to be for mplayer
rather than ffmpeg, and in any case, it has no section 1.2 as it starts
at section 5.
http://www.mplayerhq.hu/DOCS/HTML/en/faq.html

I believe that I've done all the sane things to search for a FAQ without
finding it - so where is it, please?

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

Re: creating compressed mpeg from a sequence of images

Ví­ctor Paesa
AUTHOR said Andy Civil

> Michel Bardiaux wrote:
>
>> Read FAQ 1.2. <snip>
>
> There is no FAQ referenced in your (or anyone's) .sig
> There is no FAQ referenced on the mailing list web page at
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
> There is no FAQ referenced on the main website hosting the mailing list
> - there is one under "documentation" but it appears to be for mplayer
> rather than ffmpeg, and in any case, it has no section 1.2 as it starts
> at section 5.
> http://www.mplayerhq.hu/DOCS/HTML/en/faq.html
>
> I believe that I've done all the sane things to search for a FAQ without
>  finding it - so where is it, please?

Ever heard of Google?

http://www.google.com/search?q=FAQ+ffmpeg


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

Re: creating compressed mpeg from a sequence of images

Michel Bardiaux-2
In reply to this post by Andy Civil
Andy Civil a écrit :

> Michel Bardiaux wrote:
>
>> Read FAQ 1.2. <snip>
>
> There is no FAQ referenced in your (or anyone's) .sig
> There is no FAQ referenced on the mailing list web page at
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
> There is no FAQ referenced on the main website hosting the mailing list
> - there is one under "documentation" but it appears to be for mplayer
> rather than ffmpeg, and in any case, it has no section 1.2 as it starts
> at section 5.
> http://www.mplayerhq.hu/DOCS/HTML/en/faq.html
>
> I believe that I've done all the sane things to search for a FAQ without
> finding it - so where is it, please?
>
http://ffmpeg.mplayerhq.hu/faq.html

I admit it is possible that you found the ffmpeg-user list via Google
and managed to subscribe, then to use ffmpeg, without ever going through
www.ffmpeg.org. But it is not very likely...

--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:[hidden email]

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: creating compressed mpeg from a sequence of images

Andy Civil
In reply to this post by Ví­ctor Paesa
Víctor Paesa wrote:

> Ever heard of Google?
>
> http://www.google.com/search?q=FAQ+ffmpeg

Of course, funny guy! I had a specific reason for not using google - a
particular section of the FAQ was mentioned, so I didn't want just ANY
FAQ, I wanted the SPECIFIC FAQ that was relevant in this context -
therefore using the list/website resources was entirely appropriate.

I admit that I was being slightly over-principled in trying to make the
point that the FAQ should be EASILY accessible to casual users; if we
tell people to use google to find something so fundamental, then we
might as well give up on any website structure, make everything
flat-file, and tell people to google for anything they need :-)

Thank you for answering.

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

Re: creating compressed mpeg from a sequence of images

Andy Civil
In reply to this post by Michel Bardiaux-2
Michel Bardiaux wrote:
> http://ffmpeg.mplayerhq.hu/faq.html
>
> I admit it is possible that you found the ffmpeg-user list via Google
> and managed to subscribe, then to use ffmpeg, without ever going through
> www.ffmpeg.org. But it is not very likely...

Aah... thanks!

I honestly can't remember how I got here.

I'm one of those people who thinks it's not the worst crime for newbies
to need pointing to the relevant section of the FAQ; on a sliding scale
depending on the size of the FAQ (it's harder if there's more) and the
obscurity of the jargon (it can be hard to find something if you want to
merge pictures and the FAQ tells you how to merge images) although I'd
like to see some indication that the poster had at least tried ;-)

And for that reason, I think the FAQ should really be a bit more "up
front". It should either be listed in the "auto-sig" or whatever it's
called that the list adds to the end of each post, or on the list signup
page which IS listed there.

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

Re: creating compressed mpeg from a sequence of images

Andy Civil
In reply to this post by John Zhang-3
John Zhang wrote:

> I'm trying to create a compressed mpeg from a sequence of images and I was
> wondering if anybody would mind directing me to some sample source code.

You can actually use ffmpeg as it is; read this:
http://ffmpeg.mplayerhq.hu/faq.html#SEC3

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

Re: creating compressed mpeg from a sequence of images

Ví­ctor Paesa
In reply to this post by Andy Civil
AUTHOR said Andy Civil

> Víctor Paesa wrote:
>
>> Ever heard of Google?
>>
>> http://www.google.com/search?q=FAQ+ffmpeg
>
> Of course, funny guy! I had a specific reason for not using google - a
> particular section of the FAQ was mentioned, so I didn't want just ANY
> FAQ, I wanted the SPECIFIC FAQ that was relevant in this context -
> therefore using the list/website resources was entirely appropriate.

Ahem, the link after my funny comment points right to the specific FAQ ...

> I admit that I was being slightly over-principled in trying to make the
> point that the FAQ should be EASILY accessible to casual users; if we
> tell people to use google to find something so fundamental, then we
> might as well give up on any website structure, make everything
> flat-file, and tell people to google for anything they need :-)
>
> Thank you for answering.
>
> --
> Andy
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user



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

Re: creating compressed mpeg from a sequence of images

Andy Civil
Víctor Paesa wrote:
>
> Ahem, the link after my funny comment points right to the specific FAQ ...

And my kid responds to being told not to do something dangerous by
telling me that "I didn't hurt myself, Daddy". The principle is
unaffected by getting lucky this time.

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

Re: creating compressed mpeg from a sequence of images

Rich Felker
On Mon, Jan 07, 2008 at 12:39:11PM -0500, Andy Civil wrote:
> Víctor Paesa wrote:
> >
> > Ahem, the link after my funny comment points right to the specific FAQ ...
>
> And my kid responds to being told not to do something dangerous by
> telling me that "I didn't hurt myself, Daddy". The principle is
> unaffected by getting lucky this time.

The analogy does not work. Google will always give you the most
relevant hit unless your search is for something that might also have
a commercial interpretation. With "always" meaning "it's at least as
correct and probably more correct than a human would do"...

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

Re: creating compressed mpeg from a sequence of images

Andy Civil
Rich Felker wrote:
> The analogy does not work. Google will always give you the most
> relevant hit unless your search is for something that might also have
> a commercial interpretation. With "always" meaning "it's at least as
> correct and probably more correct than a human would do"...

But for "relevant" to have any meaning, you have to have told google
what you were looking for. With the benefit of hindsight, including the
term "site%3Amplayerhq.hu" would have pretty much guaranteed the right
answer, without that, google has no way of knowing WHICH ffmpeg FAQ I
want. And what if, hypothetically, it had been hosted on ffmpeg.org?
Look, I can only make suggestions, and I stand by everything I've said;
if no one cares, or people don't understand, fine, it doesn't matter to me.

This is getting way off topic, I'll try to do my part in dropping it
(unless someone posts something ludicrous!).

--
Andy

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

Re: creating compressed mpeg from a sequence of images

John Zhang-3
In reply to this post by Andy Civil
>
> You can actually use ffmpeg as it is; read this:
> http://ffmpeg.mplayerhq.hu/faq.html#SEC3
>

Hey guys,

Sorry, I should've clarified earlier--is there any way to this using
libavcodec/libavformat? This site:
http://issaris.org/~takis/projects/ffmpeg/docs/examples.html has code for
doing something similar to what I want but there does not appear to be any
way to control the rate of compression.

Thanks for the link nonetheless.

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

Re: creating compressed mpeg from a sequence of images

Kyle Mallory-2
On Mon, 2008-01-07 at 12:52 -0700, John Zhang wrote:

> >
> > You can actually use ffmpeg as it is; read this:
> > http://ffmpeg.mplayerhq.hu/faq.html#SEC3
> >
>
> Hey guys,
>
> Sorry, I should've clarified earlier--is there any way to this using
> libavcodec/libavformat? This site:
> http://issaris.org/~takis/projects/ffmpeg/docs/examples.html has code for
> doing something similar to what I want but there does not appear to be any
> way to control the rate of compression.

John,

I have a wrapper API for ffmpeg, that is very easy to use, and given
your own code to read the image sequence, should be relatively easy to
use for encoding.

Here is a link to my post which includes the source for the API (as an
attachment).  Perhaps you'll find it useful:

http://article.gmane.org/gmane.comp.video.ffmpeg.user/14509

Kyle


> Thanks for the link nonetheless.
>
> John
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: creating compressed mpeg from a sequence of images

John Zhang-3
>
>
> http://article.gmane.org/gmane.comp.video.ffmpeg.user/14509
>
> Hey Kyle,

Thanks--I'm definitely intrigued and would like to try it out. However, the
attachment link on that site does not appear to be working correctly so
would you mind sending me your wrapper api directly?

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

Re: creating compressed mpeg from a sequence of images

Kyle Mallory-2
On Mon, 2008-01-07 at 13:38 -0700, John Zhang wrote:
> >
> >
> > http://article.gmane.org/gmane.comp.video.ffmpeg.user/14509
> >
> > Hey Kyle,
>
> Thanks--I'm definitely intrigued and would like to try it out. However, the
> attachment link on that site does not appear to be working correctly so
> would you mind sending me your wrapper api directly?

Interesting, and unfortunate.  Regardless, here it is again...

Kyle

> John
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user

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

ffmpeg_lightweight_api.tar.gz (25K) Download Attachment