[Ffmpeg-devel] Decoding from blocks

Michel Bardiaux mbardiaux
Wed Jan 10 16:56:31 CET 2007

Emanuele Fumagalli wrote:
> hi, thanks for answering,

Please dont top-post. Read http://ffmpeg.mplayerhq.hu/mailinglists.html 
about netiquette.

> I'll try to be more accurate, basically I receive sequential packets 
> (let's say 250kb) of data so my entire file(avi) come in blocks i.e 
> (block1, block2 ....).

You still dont define *precisely* what a block is, and you hijack the 
word 'packet' which has a very specific technical meaning in multimedia.

> I want to decode the file while still receiving blocks, so I start when 
> I have at least 20s(so a certain number of blocks) and I'd like to 
> decode and render on video the blocks I have without interruption.
> Being at a first stage of my research I just be happy to know if this is 
> possible using FFMPEG.

Impossible to say until you indicate what the p2p protocol is, and what 
video format. Are you *sure* its avi? And using what codec?

> thanks again
> bye
> ----- Original Message ----- From: "Michel Bardiaux" 
> <mbardiaux at mediaxim.be>
> To: "FFmpeg development discussions and patches" 
> <ffmpeg-devel at mplayerhq.hu>
> Sent: Wednesday, January 10, 2007 4:33 PM
> Subject: Re: [Ffmpeg-devel] Decoding from blocks
>> Emanuele Fumagalli wrote:
>>> Hi all,
>>> I'm new to FFMpeg and I've just built it on my pc.
>>> Now I'd like to know how to use the libs to display a video that I'm
>>> getting get block by block, I mean I'm downloading blocks of the
>>> video in p2p and I'd like to decode and display while downloading. 
>>> I'm having difficulties in finding examples about that, should I use
>>> av_open_input_stream? Has someone some idea? thanks in advance for
>>> any tips on that
>>> bye
>>> emanuele
>> You dont even tell us what container the video uses, what codec, what 
>> p2p protocol, and what a block is exactly.
>> Rough guess: you will have to implement a new protocol.

Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles

More information about the ffmpeg-devel mailing list