microsnakey
Posts: 11
Joined: Wed Jun 20, 2012 9:09 pm

OpenElec AVI resolution

Mon Nov 12, 2012 11:50 pm

HI,
I use OpenElec in my room on my monitor via HDMI and the avi's work fine.

Downstairs I have a TV that hdmi doesn't work on so I bought a HDMI to vga converter and the pi works fine with mkv's and mp4s(Not all though)

But avi's and some mp4's only play sound at my tv goes out of range.

I think the problem is the vga converter reports it can do every resolution the pi sends it a resolution for the avi file that it thinks the tv can handle it converts it to vga then the tv can not handle that resolution.( I think 1280*720 doesn't work)

But everything works fine with the mkvs(Actually human planet doesn't work)

So my question is, is they anyway to force the avis at a resolution or anyone else with a similar problem and solution.

Here is media info for files which DO NOT WORK

Code: Select all

General
Complete name                            : \\192.168.1.104\Videos\TV Shows\The IT Crowd\Season 1\the.it.crowd.s01e01.dvdrip.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 233 MiB
Duration                                 : 23mn 15s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 398 Kbps
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library                          : VirtualDubMod build 2540/release

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Muxing mode                              : Packed bitstream
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 23mn 15s
Bit rate                                 : 1 253 Kbps
Width                                    : 608 pixels
Height                                   : 336 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.245
Stream size                              : 208 MiB (90%)
Writing library                          : XviD 1.0.3 (UTC 2004-12-20)

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 23mn 15s
Bit rate mode                            : Variable
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 21.9 MiB (9%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 24 ms (0.60 video frame)
Interleave, preload duration             : 497 ms
Writing library                          : LAME3.90.
Encoding settings                        : -m j -V 4 -q 2 -lowpass 17.6 --abr 128

Code: Select all

General
Complete name                            : \\192.168.1.104\Videos\TV Shows\Human Planet\human.planet.s01e07.720p.bluray.x264.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 2.65 GiB
Duration                                 : 58mn 40s
Overall bit rate                         : 6 457 Kbps
Writing application                      : x264.exe
Writing library                          : mkv2rls v1.3 (date: 2010 aug 28)

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Bit rate                                 : 4 946 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Original frame rate                      : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.215
Writing library                          : x264 core 114 r1900 60ef1f8
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=4946 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 58mn 40s
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 634 MiB (23%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.000                             : en:00:00:00.000
00:10:05.760                             : en:00:10:05.760
00:19:59.240                             : en:00:19:59.240
00:30:43.320                             : en:00:30:43.320
00:38:42.480                             : en:00:38:42.480
00:48:46.640                             : en:00:48:46.640

THESE BELOW WORK

Code: Select all

General
Complete name                            : \\192.168.1.104\Videos\TV Shows\The Simpsons\Season 4\Homer the Heretic.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 186 MiB
Duration                                 : 23mn 1s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 130 Kbps
Movie name                               : Homer the Heretic
Genre                                    : Comedy
Encoded date                             : UTC 2008-11-28 19:57:54
Tagged date                              : UTC 2008-12-31 03:19:13
tvsh                                     : The Simpsons
tvsn                                     : 4
tven                                     : Homer the Heretic
tves                                     : 3

Video
ID                                       : 1
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L1
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : 20
Duration                                 : 23mn 1s
Bit rate mode                            : Variable
Bit rate                                 : 999 Kbps
Maximum bit rate                         : 4 686 Kbps
Width                                    : 624 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 23.964 fps
Maximum frame rate                       : 23.988 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.139
Stream size                              : 164 MiB (88%)
Writing library                          : Lavc51.40.4
Language                                 : English
Encoded date                             : UTC 2008-11-28 19:57:54
Tagged date                              : UTC 2008-11-28 20:12:56

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 23mn 0s
Bit rate mode                            : Variable
Bit rate                                 : 128 Kbps
Maximum bit rate                         : 156 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 21.1 MiB (11%)
Language                                 : English
Encoded date                             : UTC 2008-11-28 19:57:54
Tagged date                              : UTC 2008-12-31 03:19:13

Text
ID                                       : 3
Format                                   : Apple text
Codec ID                                 : text
Duration                                 : 23mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 1 bps
Stream size                              : 144 Bytes (0%)
Language                                 : English
Encoded date                             : UTC 2008-11-28 19:57:54
Tagged date                              : UTC 2008-11-28 20:12:56

Code: Select all

General
Unique ID                                : 38917383699345430657616192132918310529 (0x1D4737288AD9C47E29C8E81AA5607681)
Complete name                            : \\192.168.1.104\Videos\TV Shows\South Park\Season 1\South Park - S01E03 - Volcano.mkv
Format                                   : Matroska
Format version                           : Version 1
File size                                : 84.1 MiB
Duration                                 : 23mn 13s
Overall bit rate                         : 506 Kbps
Writing application                      : DivXMKVMux 3.4.1.0004
Writing library                          : libDivXMediaFormat 3.4.1.0004

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
MultiView_Count                          : 2
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Format settings, GOP                     : M=4, N=48
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 23mn 13s
Bit rate                                 : 368 Kbps
Width                                    : 464 pixels
Height                                   : 352 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.094
Stream size                              : 61.1 MiB (73%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601

Audio
ID                                       : 2
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Codec ID                                 : A_MPEG/L3
Codec ID/Hint                            : MP3
Duration                                 : 23mn 13s
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 21.3 MiB (25%)
Language                                 : English
Default                                  : Yes
Forced                                   : No


User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: OpenElec AVI resolution

Tue Nov 13, 2012 12:22 am

I don't have HDMI but from what I understand you can force specific HDMI modes via config.txt - http://elinux.org/RPi_config.txt

Richard S.

microsnakey
Posts: 11
Joined: Wed Jun 20, 2012 9:09 pm

Re: OpenElec AVI resolution

Tue Nov 13, 2012 10:42 am

redhawk wrote:I don't have HDMI but from what I understand you can force specific HDMI modes via config.txt - http://elinux.org/RPi_config.txt

Richard S.
Apparently openelec seems to ignore this

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenElec AVI resolution

Tue Nov 13, 2012 10:46 am

microsnakey wrote:
redhawk wrote:I don't have HDMI but from what I understand you can force specific HDMI modes via config.txt - http://elinux.org/RPi_config.txt

Richard S.
Apparently openelec seems to ignore this
No, I don't believe it can.

If you specific a hdmi_mode and hdmi_group, then TV service won't detect other modes, and so XBMC/OpenELEC cannot see any other modes.
(Try tvservice -m CEA and tvservice -m DMT to confirm only your mode is visible).

Return to “Media centres”