My logs are getting flodded with this:
Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333)
several times a second, non-stop
Any ideas?
On Montag, 14. November 2005 01:21, Dave wrote:
My logs are getting flodded with this:
Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333)
Softdevice version ? ffmpeg version ? gcc version ?
Please change in video.c (around line 373) the syslog message to:
// dsyslog("[VideoOut]: aspect changed (%d -> %d ; %f -> %f)", dsyslog("[VideoOut]: aspect changed (%d -> %d ; %llx -> %llx)",
So lets see whats is reported now.
Can you provide a short sample stream ?
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard Softdevice CVS as of 2 days ago. (reports 0.2.1) gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Im not sure where you want me to put test streams, so I put this one on a server, but its 27 megs.
http://ww2.wireit.biz:8080/~admin/vdr/test.vdr
If I comment out the line in video.c, nothing else appears appears in the log that doesnt look normal.
I also cant seem to get softdevice to save crop settings, they are gone after a restart.
Thanks
Stefan Lucke wrote:
On Montag, 14. November 2005 01:21, Dave wrote:
My logs are getting flodded with this:
Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333)
Softdevice version ? ffmpeg version ? gcc version ?
Please change in video.c (around line 373) the syslog message to:
// dsyslog("[VideoOut]: aspect changed (%d -> %d ; %f -> %f)", dsyslog("[VideoOut]: aspect changed (%d -> %d ; %llx -> %llx)",
So lets see whats is reported now.
Can you provide a short sample stream ?
On Montag, 14. November 2005 14:45, Dave wrote:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard Softdevice CVS as of 2 days ago. (reports 0.2.1) gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Im not sure where you want me to put test streams, so I put this one on a server, but its 27 megs.
Anyway thanks for the test stream, as thats my first NTSC dvb test case (29.97 fps, 544x480)
If I comment out the line in video.c, nothing else appears appears in the log that doesnt look normal.
Did you comment it out complete ? Or does the format change fix that for you ?
I wanted to report a different format and see why you just get flooded with "aspect changed" messages.
old format from syslog: Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: resolution changed: W(720 -> 544); H(576 ->480) Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: aspect changed (0 -> 0 ; 1,777778 -> 1,333333) Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: 544x480 [0,0 544x480] -> 1024x576 [128,0 768x576]
changed format: Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: resolution changed: W(720 -> 544); H(576 ->480) Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: aspect changed (0 -> 0 ; 3ffc71c71c71c71c -> 3ff5555555555555) Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: 544x480 [0,0 544x480] -> 1024x576 [128,0 768x576]
I also cant seem to get softdevice to save crop settings, they are gone after a restart.
Thanks
Stefan Lucke wrote:
On Montag, 14. November 2005 01:21, Dave wrote:
My logs are getting flodded with this:
Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333)
Softdevice version ? ffmpeg version ? gcc version ?
Please change in video.c (around line 373) the syslog message to:
// dsyslog("[VideoOut]: aspect changed (%d -> %d ; %f -> %f)", dsyslog("[VideoOut]: aspect changed (%d -> %d ; %llx -> %llx)",
So lets see whats is reported now.
Can you provide a short sample stream ?
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
sorry I Misunderstood, here is the new log
Nov 14 15:23:30 vdr vdr[7037]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:23:30 vdr vdr[7037]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:23:30 vdr vdr[7037]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:23:30 vdr vdr[7037]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:23:30 vdr vdr[7037]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555)
Thanks
Stefan Lucke wrote:
On Montag, 14. November 2005 14:45, Dave wrote:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard Softdevice CVS as of 2 days ago. (reports 0.2.1) gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Im not sure where you want me to put test streams, so I put this one on a server, but its 27 megs.
Anyway thanks for the test stream, as thats my first NTSC dvb test case (29.97 fps, 544x480)
If I comment out the line in video.c, nothing else appears appears in the log that doesnt look normal.
Did you comment it out complete ? Or does the format change fix that for you ?
I wanted to report a different format and see why you just get flooded with "aspect changed" messages.
old format from syslog: Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: resolution changed: W(720 -> 544); H(576 ->480) Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: aspect changed (0 -> 0 ; 1,777778 -> 1,333333) Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: 544x480 [0,0 544x480] -> 1024x576 [128,0 768x576]
changed format: Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: resolution changed: W(720 -> 544); H(576 ->480) Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: aspect changed (0 -> 0 ; 3ffc71c71c71c71c -> 3ff5555555555555) Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: 544x480 [0,0 544x480] -> 1024x576 [128,0 768x576]
I also cant seem to get softdevice to save crop settings, they are gone after a restart.
Thanks
Stefan Lucke wrote:
On Montag, 14. November 2005 01:21, Dave wrote:
My logs are getting flodded with this:
Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333)
Softdevice version ? ffmpeg version ? gcc version ?
Please change in video.c (around line 373) the syslog message to:
// dsyslog("[VideoOut]: aspect changed (%d -> %d ; %f -> %f)", dsyslog("[VideoOut]: aspect changed (%d -> %d ; %llx -> %llx)",
So lets see whats is reported now.
Can you provide a short sample stream ?
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Here is some more:
Nov 14 15:26:12 vdr vdr[7107]: ERROR: Text2Skin: Couldn't load font FontBold.ttf:26 Nov 14 15:26:12 vdr vdr[7107]: ERROR: Font file (/etc/vdr/plugins/text2skin/fonts/FontBold.ttf) could be opened or read, or simply it is broken Nov 14 15:26:12 vdr vdr[7107]: ERROR: Text2Skin: Couldn't load font FontBold.ttf:20 Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: resolution changed: W(736 -> 544); H(576 ->480) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5dddddddddddd -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: 544x480 [0,0 544x480] -> 800x600 [0,0 800x600] Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7104]: setting audio track to 1 (0) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7110]: [softdevice-audio] samplerate: 48000Hz, channels: #2 Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7110]: [softdevice-audio] Period size 1152 Buffer size 9216 Nov 14 15:26:13 vdr vdr[7110]: [softdevice-audio] Hardware initialized Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7075]: retuning due to modification of channel 247 Nov 14 15:26:13 vdr vdr[7075]: switching to channel 247 Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7104]: transfer thread ended (pid=7104, tid=163849) Nov 14 15:26:13 vdr vdr[7075]: buffer stats: 51512 (2%) used Nov 14 15:26:14 vdr vdr[7111]: transfer thread started (pid=7111, tid=278537)
Stefan Lucke wrote:
On Montag, 14. November 2005 14:45, Dave wrote:
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard Softdevice CVS as of 2 days ago. (reports 0.2.1) gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Im not sure where you want me to put test streams, so I put this one on a server, but its 27 megs.
Anyway thanks for the test stream, as thats my first NTSC dvb test case (29.97 fps, 544x480)
If I comment out the line in video.c, nothing else appears appears in the log that doesnt look normal.
Did you comment it out complete ? Or does the format change fix that for you ?
I wanted to report a different format and see why you just get flooded with "aspect changed" messages.
old format from syslog: Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: resolution changed: W(720 -> 544); H(576 ->480) Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: aspect changed (0 -> 0 ; 1,777778 -> 1,333333) Nov 14 20:49:35 jarada vdr[3026]: [VideoOut]: 544x480 [0,0 544x480] -> 1024x576 [128,0 768x576]
changed format: Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: resolution changed: W(720 -> 544); H(576 ->480) Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: aspect changed (0 -> 0 ; 3ffc71c71c71c71c -> 3ff5555555555555) Nov 14 20:52:00 jarada vdr[3199]: [VideoOut]: 544x480 [0,0 544x480] -> 1024x576 [128,0 768x576]
I also cant seem to get softdevice to save crop settings, they are gone after a restart.
Thanks
Stefan Lucke wrote:
On Montag, 14. November 2005 01:21, Dave wrote:
My logs are getting flodded with this:
Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333) Nov 13 19:13:05 vdr vdr[6916]: [VideoOut]: aspect changed (0 -> 0 ; 1.333333 -> 1.333333)
Softdevice version ? ffmpeg version ? gcc version ?
Please change in video.c (around line 373) the syslog message to:
// dsyslog("[VideoOut]: aspect changed (%d -> %d ; %f -> %f)", dsyslog("[VideoOut]: aspect changed (%d -> %d ; %llx -> %llx)",
So lets see whats is reported now.
Can you provide a short sample stream ?
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On Montag, 14. November 2005 21:24, Dave wrote:
Here is some more:
Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5dddddddddddd -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: 544x480 [0,0 544x480] -> 800x600 [0,0 800x600] Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555)
That should be identical values. Please try this inline patch.
Index: video.c =================================================================== RCS file: /cvsroot/softdevice/softdevice/video.c,v retrieving revision 1.36 diff -U3 -r1.36 video.c --- video.c 27 Oct 2005 05:30:52 -0000 1.36 +++ video.c 14 Nov 2005 20:56:35 -0000 @@ -319,7 +319,7 @@ void cVideoOut::CheckAspectDimensions(AVFrame *picture, AVCodecContext *context) { - double new_asp; + volatile double new_asp;
/* -------------------------------------------------------------------------- * check and handle changes of dimensions first
That seemed to do it! not only are the logs no longer getting flooded, but now the picture is even straight and perfect on the screen, before on the left edge there was a gap missing on the left side (blank space), that is gone now!
I see some "xrun" things in the logs, but have no idea what they are.
were you able to reproduce the problem with the test stream at your end?
thanks!
Stefan Lucke wrote:
On Montag, 14. November 2005 21:24, Dave wrote:
Here is some more:
Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5dddddddddddd -> 3ff5555555555555) Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: 544x480 [0,0 544x480] -> 800x600 [0,0 800x600] Nov 14 15:26:13 vdr vdr[7109]: [VideoOut]: aspect changed (0 -> 0 ; 3ff5555555555555 -> 3ff5555555555555)
That should be identical values. Please try this inline patch.
Index: video.c
RCS file: /cvsroot/softdevice/softdevice/video.c,v retrieving revision 1.36 diff -U3 -r1.36 video.c --- video.c 27 Oct 2005 05:30:52 -0000 1.36 +++ video.c 14 Nov 2005 20:56:35 -0000 @@ -319,7 +319,7 @@ void cVideoOut::CheckAspectDimensions(AVFrame *picture, AVCodecContext *context) {
- double new_asp;
volatile double new_asp;
/* --------------------------------------------------------------------------
- check and handle changes of dimensions first
On Montag, 14. November 2005 23:22, Dave wrote:
That seemed to do it! not only are the logs no longer getting flooded, but now the picture is even straight and perfect on the screen, before on the left edge there was a gap missing on the left side (blank space), that is gone now!
I see some "xrun" things in the logs, but have no idea what they are.
They are printed when we have nto enough audio data. Sound card plays a bit too fast or transmission sampled a bit to slow.
were you able to reproduce the problem with the test stream at your end?
No, that was not reproducable for me. But I re-read my own comment in that section. So there maybe some situations where compiler generated code uses a higher presicion than double for a previous calculated value. I changed the variable definition a short time ago from static volatile float to local / member double and did not see a difference as I'm still using the same gcc 3.3.1 mentioned in that comment. I've to redo the volatile way. Done, fix is in cvs.
Stefan Lucke