Alexandre Ferrieux <[email protected]> added the comment:

Re-opening because further analysis shows that (1) the issue is in the 
muxer, so no need to ask for a per-codec report, and (2) what happens is 
clear: a missing flush, also explaining the varied effect depending on 
the codec (frame size and interdependencies).

Copy from ffmpeg-user exchanges on 20100721:

On 21/07/2010 14:03, Jamie Green wrote:
> Hi,
>
> I'm looking for a way to fill an empty file (0 kb) with the output of
> FFmpeg.
>
> I tried: ffmpeg -i inputFile -f wav ->  temporaryFile

Yikes, you're right, there's a problem !

One minute of investigation with strace shows that the file is 
truncated, the last buffer of <32768 bytes is not flushed. This doesn't 
happen when the output file is named directly, because fclose() calls 
fflush().

----------
status: closed -> open
substatus: invalid -> analyzed
topic: +avformat -avcodec

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue498>
________________________________________________

Reply via email to