Hi! Attached is a hopefully correct version of the RoQ regression test patch, I added -pix_fmt yuv420p -r 25, and stddev has clearly improved. Carl Eugen
On Fri, Oct 17, 2008 at 01:12:13AM +0200, Carl Eugen Hoyos wrote:
Hi!
Attached is a hopefully correct version of the RoQ regression test patch, I added -pix_fmt yuv420p -r 25, and stddev has clearly improved.
iam fine with this assuming the test does not take unreasonable amounts of time relative to the other tests. If its very slow adding a -s some small size or just encoding fewer frames might be worth [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
Hi! Michael Niedermayer <michaelni <at> gmx.at> writes:
Attached is a hopefully correct version of the RoQ regression test patch, I added -pix_fmt yuv420p -r 25, and stddev has clearly improved.
iam fine with this assuming the test does not take unreasonable amounts of time relative to the other tests.
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply.
If its very slow adding a -s some small size or just encoding fewer frames might be worth
Carl Eugen
On Fri, Oct 17, 2008 at 12:13:13PM +0000, Carl Eugen Hoyos wrote:
Hi!
Michael Niedermayer <michaelni <at> gmx.at> writes:
Attached is a hopefully correct version of the RoQ regression test patch, I added -pix_fmt yuv420p -r 25, and stddev has clearly improved.
iam fine with this assuming the test does not take unreasonable amounts of time relative to the other tests.
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply.
1-2% but it should be at least 2-3 frames [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Opposition brings concord. Out of discord comes the fairest harmony. -- Heraclitus
Michael Niedermayer wrote:
On Fri, Oct 17, 2008 at 12:13:13PM +0000, Carl Eugen Hoyos wrote:
Hi!
Michael Niedermayer <michaelni <at> gmx.at> writes:
Attached is a hopefully correct version of the RoQ regression test patch, I added -pix_fmt yuv420p -r 25, and stddev has clearly improved. iam fine with this assuming the test does not take unreasonable amounts of time relative to the other tests. The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply.
1-2%
but it should be at least 2-3 frames
Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option... -Vitor
Hi! Vitor Sessak <vitor1001 <at> gmail.com> writes:
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply.
1-2%
but it should be at least 2-3 frames
Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option...
I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not available, together with -s 160x128, this still increases make test time by at least 5%, IIRC. IMO, time of make test should not be that important, testing as many features as possible should have precedence. Carl Eugen
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply. 1-2%
but it should be at least 2-3 frames Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option...
I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not
Yes, 15 frames. Until such time I get arround to making the demuxer smarter. -- -Mike Melanson
Mike Melanson wrote:
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply. 1-2%
but it should be at least 2-3 frames Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option... I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not
Yes, 15 frames. Until such time I get arround to making the demuxer smarter.
Do you think the following patch fix it? -Vitor
Vitor Sessak wrote:
Mike Melanson wrote:
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply. 1-2%
but it should be at least 2-3 frames Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option... I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not
Yes, 15 frames. Until such time I get arround to making the demuxer smarter.
Do you think the following patch fix it?
No. It will require a little more substantial rework. The scan approach is completely wrong. The demuxer should just start splitting apart the chunks and sending them to the streams, initializing the streams along the way if not already done. My mistake was in believing that all the streams had to be init'd when the file was first opened. The Interplay MVE demuxer has a similar design flaw. -- -Mike Melanson
Mike Melanson wrote:
Vitor Sessak wrote:
Mike Melanson wrote:
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
> The patch increases the time of "make test" by about 30%. If you > tell me a > reasonable amount, I'll change the test accordingly and apply. 1-2%
but it should be at least 2-3 frames Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option... I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not Yes, 15 frames. Until such time I get arround to making the demuxer smarter. Do you think the following patch fix it?
No. It will require a little more substantial rework. The scan approach is completely wrong. The demuxer should just start splitting apart the chunks and sending them to the streams, initializing the streams along the way if not already done. My mistake was in believing that all the streams had to be init'd when the file was first opened.
Are you sure it is not required? What if someone does $ ffmpeg -i file.roq out.avi The AVI muxer needs to know if there is an audio stream or not to write the header. If the RoQ demuxer only "finds" the audio stream at the tenth frame, how will FFmpeg do to write correctly the AVI header? -Vitor
Vitor Sessak wrote:
Mike Melanson wrote:
Mike Melanson wrote:
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
>> The patch increases the time of "make test" by about 30%. If you >> tell me a >> reasonable amount, I'll change the test accordingly and apply. > 1-2% > > but it should be at least 2-3 frames Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option... I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not Yes, 15 frames. Until such time I get arround to making the demuxer smarter. Do you think the following patch fix it? No. It will require a little more substantial rework. The scan approach is completely wrong. The demuxer should just start splitting apart the chunks and sending them to the streams, initializing the streams along
Vitor Sessak wrote: the way if not already done. My mistake was in believing that all the streams had to be init'd when the file was first opened.
Are you sure it is not required? What if someone does
$ ffmpeg -i file.roq out.avi
The AVI muxer needs to know if there is an audio stream or not to write the header. If the RoQ demuxer only "finds" the audio stream at the tenth frame, how will FFmpeg do to write correctly the AVI header?
Don't know, but the MPEG demuxer somehow gets away with this method. -- -Mike Melanson
On Sat, Nov 01, 2008 at 12:26:18PM -0700, Mike Melanson wrote:
Vitor Sessak wrote:
Mike Melanson wrote:
Mike Melanson wrote:
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
>>> The patch increases the time of "make test" by about 30%. If you >>> tell me a >>> reasonable amount, I'll change the test accordingly and apply. >> 1-2% >> >> but it should be at least 2-3 frames > Any news on this? Carl, if you are out of time, I don't mind sending > a new patch using the -vframes option... I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not Yes, 15 frames. Until such time I get arround to making the demuxer smarter. Do you think the following patch fix it? No. It will require a little more substantial rework. The scan approach is completely wrong. The demuxer should just start splitting apart the chunks and sending them to the streams, initializing the streams along
Vitor Sessak wrote: the way if not already done. My mistake was in believing that all the streams had to be init'd when the file was first opened.
Are you sure it is not required? What if someone does
$ ffmpeg -i file.roq out.avi
The AVI muxer needs to know if there is an audio stream or not to write the header. If the RoQ demuxer only "finds" the audio stream at the tenth frame, how will FFmpeg do to write correctly the AVI header?
Don't know, but the MPEG demuxer somehow gets away with this method.
yes, streams can be initialized late, thats because the m in ffmpeg stands for "magic" :) seriously, ffmpeg just buffers frames a little if AVFMTCTX_NOHEADER is set. So if one can create all streams at the begin that is prefered but if the information isnt available libavformat will happily do the buffering magic for the demuxer, duplicating that is not a good idea. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If a bugfix only changes things apparently unrelated to the bug with no further explanation, that is a good sign that the bugfix is wrong.
Carl Eugen Hoyos wrote:
Hi!
Vitor Sessak <vitor1001 <at> gmail.com> writes:
The patch increases the time of "make test" by about 30%. If you tell me a reasonable amount, I'll change the test accordingly and apply. 1-2%
but it should be at least 2-3 frames Any news on this? Carl, if you are out of time, I don't mind sending a new patch using the -vframes option...
I'm happy if you solve it: vframes has to be 15 at least, because (I think, did not RTFS) decoder searches 15 frames for audio and fails if they are not available, together with -s 160x128, this still increases make test time by at least 5%, IIRC.
Reimar should have fixed this in r17945. -Vitor
participants (5)
-
cehoyos@ag.or.at -
cehoyos@rainbow.studorg.tuwien.ac.at -
michaelni@gmx.at -
mike@multimedia.cx -
vitor1001@gmail.com