Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

right resolution at fullscreen without dga?

2007-04-27
2013-04-30
  • I have a 16:10 monitor and when I switch to fullscreen, the picture is always stretched. I tried to specify different fullscreen resolution values in .xdtvrc file but is has no affect. After some web search I found that the problem probably is in missing DGA support (nVidia seem to removed it from their driver) which means "CLASSICAL OVERLAY IS DISABLED !" Is there any way to get the right resolution in fullscreen without DGA?
    Thank you in advance!

     
    • yes but only with the current CVS with the -force-ratio option.

      xdtv -force-ratio
      that only work in fullscreen, you have to use the 'M' keyboard to test the good change you want

      Pingus

       
      • xdtv -force-ratio worked great with the latest CVS - thank you very much!
        There is now another problem though - I could not compile the latest CVS with ffmpeg because of the following error:

        allformats.c: In function ‘av_register_all’:
        allformats.c:135: error: ‘ENABLE_REDIR_DEMUXER’ undeclared (first use in this function)
        allformats.c:135: error: (Each undeclared identifier is reported only once
        allformats.c:135: error: for each function it appears in.)
        allformats.c:136: error: ‘ENABLE_RTP_MUXER’ undeclared (first use in this function)
        allformats.c:137: error: ‘ENABLE_RTSP_DEMUXER’ undeclared (first use in this function)
        allformats.c:138: error: ‘ENABLE_SDP_DEMUXER’ undeclared (first use in this function)
        make[2]: *** [allformats.o] Error 1

        Running ffmpeg_patch.sh did not help. The same problem appeared when I tried to use the latest nightly tarball.

         
        • yes I know I actually work on it.
          so be patient (and the CVS is down I can't commit anything actually)

          Pingus

          PS: you can test without ffmpeg

           
    • here a patch that may work (but not for amrnb / amrwb)

      --- xawdecode/patch/Makefile.codec    2007-03-24 15:43:29.000000000 +0100
      +++ xdtv/patch/Makefile.codec    2007-04-28 10:50:20.000000000 +0200
      @@ -114,6 +114,7 @@
      ifeq ($(CONFIG_AC3_ENCODER),yes)
            OBJS+= ac3enc.o
            OBJS+= ac3.o
      +     OBJS+= ac3tab.o
      endif

      ifeq ($(CONFIG_PCM_S16LE_ENCODER),yes)
      --- xawdecode/configure.in    2007-04-27 19:55:37.000000000 +0200
      +++ xdtv/configure.in    2007-04-28 10:54:22.000000000 +0200
      @@ -2343,6 +2343,7 @@

              dnl ------------------ ffmpeg protocols ---------------------------------
              AC_DEFINE(ENABLE_FILE_PROTOCOL,1,FFMPEG is inside XdTV now!)
      +       echo "CONFIG_FILE_PROTOCOL=yes" >> config.mak.in

              AC_DEFINE(ENABLE_HTTP_PROTOCOL,0,FFMPEG is inside XdTV now!)
              AC_DEFINE(ENABLE_PIPE_PROTOCOL,0,FFMPEG is inside XdTV now!)

       
    • ooopppsss:

      --- xawdecode/patch/Makefile.codec    2007-03-24 15:43:29.000000000 +0100
      +++ xdtv/patch/Makefile.codec    2007-04-28 10:50:20.000000000 +0200
      @@ -114,6 +114,7 @@
      ifeq ($(CONFIG_AC3_ENCODER),yes)
            OBJS+= ac3enc.o
            OBJS+= ac3.o
      +     OBJS+= ac3tab.o
      endif

      ifeq ($(CONFIG_PCM_S16LE_ENCODER),yes)
      --- xawdecode/configure.in    2007-04-27 19:55:37.000000000 +0200
      +++ xdtv/configure.in    2007-04-28 11:06:50.000000000 +0200
      @@ -2336,13 +2336,14 @@
              AC_DEFINE(ENABLE_BETHSOFTVID_DEMUXER,0,FFMPEG is inside XdTV now!)
              AC_DEFINE(CONFIG_APC_DEMUXER,0,FFMPEG is inside XdTV now!)

      -       AC_DEFINE(CONFIG_REDIR_DEMUXER,0,FFMPEG is inside XdTV now!)
      -       AC_DEFINE(CONFIG_RTP_MUXER,0,FFMPEG is inside XdTV now!)
      -       AC_DEFINE(CONFIG_RTSP_DEMUXER,0,FFMPEG is inside XdTV now!)
      -       AC_DEFINE(CONFIG_SDP_DEMUXER,0,FFMPEG is inside XdTV now!)
      +       AC_DEFINE(ENABLE_REDIR_DEMUXER,0,FFMPEG is inside XdTV now!)
      +       AC_DEFINE(ENABLE_RTP_MUXER,0,FFMPEG is inside XdTV now!)
      +       AC_DEFINE(ENABLE_RTSP_DEMUXER,0,FFMPEG is inside XdTV now!)
      +       AC_DEFINE(ENABLE_SDP_DEMUXER,0,FFMPEG is inside XdTV now!)

              dnl ------------------ ffmpeg protocols ---------------------------------
              AC_DEFINE(ENABLE_FILE_PROTOCOL,1,FFMPEG is inside XdTV now!)
      +       echo "CONFIG_FILE_PROTOCOL=yes" >> config.mak.in

              AC_DEFINE(ENABLE_HTTP_PROTOCOL,0,FFMPEG is inside XdTV now!)
              AC_DEFINE(ENABLE_PIPE_PROTOCOL,0,FFMPEG is inside XdTV now!)

      Pingus

       
    • Awesome - it seems that everything is working flawlessly with this patch now, including correct fullscreen resolution and ffmpeg! Thank you for great support!