Re: change resolution






2011/10/6 Jens Georg <mail jensge org>
On Do, 2011-10-06 at 13:34 +0200, andrea zambon wrote:
> Hi,
> Rygel 0.11 for my TV sony using a stream MPEG_TS_HD_NA_ISO resolution
> w. 720 pixel,
> Rygel 0.12 uses MPEG_TS_HD_NA_ISO w. 1024 pixel.

I suppose you mean 1280? Using 720 was a bug in 0.11.x.

I'm afraid 1280 is the lowest horizontal resolution that is valid for
this profile.

What you can do is modify rygel-mp2ts-transcoder.vala/.c and change 1280
to 720, the 720 in height to 480 and MPEG_TS_HD_NA_ISO to
MPEG_TS_SD_NA_ISO.

I wonder why we have SD for Europe and HD for North America though.



Yes, you're right. I see this with mplayer:

Rygel 0.11:
VIDEO: MPEG2 720x576 (aspect 4) 25.000 fps 0.0 kbps (0.0 kbyte / s)
Rygel 0.12:
VIDEO: MPEG2 1280x720 (aspect 1) 30.000 fps 0.0 kbps (0.0 kbyte / s)



Strange that my TV, set in Italian, uses MPEG_TS_HD_NA_ISO. For any codecs MPEG_TS_HD_NA_ISO prefer.

I tried with a sony bluray player:
MPEG4 video, profile used MPEG_TS_SD_EU_ISO (ok but with black trim).
Theora video, used profile "*" does not work
X264 Video. profile used "*" does not work (bluray panic!)

I changed Rygel-mp2ts-transcoder.c
static const gint RYGEL_MP2_TS_TRANSCODER_WIDTH [2] = {720, 720};
static const gint RYGEL_MP2_TS_TRANSCODER_HEIGHT [2] = {576, 576};
static const gint RYGEL_MP2_TS_TRANSCODER_FRAME_RATE [2] = {25, 25};


Profile MPEG_TS_HD_NA_ISO should support 1920x1080 resolution, 1440x1080, 1280x720. Strange that my TV works with 720x576. Better, though the source does not exceed 720.
Thanks for the tips, now everything works well and quickly.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]