[haiku-bugs] [Haiku] #9280: [MediaPlayer] No BE API colorspace definition for pixel format "(unknown)"

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Mon, 10 Dec 2012 15:29:36 -0000

#9280: [MediaPlayer] No BE API colorspace definition for pixel format 
"(unknown)"
--------------------------------------+------------------------------
 Reporter:  diver                     |        Owner:  stippi
     Type:  bug                       |       Status:  new
 Priority:  normal                    |    Milestone:  R1
Component:  Applications/MediaPlayer  |      Version:  R1/Development
 Keywords:                            |   Blocked By:
 Blocking:                            |  Has a Patch:  0
 Platform:  All                       |
--------------------------------------+------------------------------
 This is hrev44993 gcc2hybrid.

 I get black screen in MediaPlayer when opening a matroska file, audio is
 ok.
 {{{
 MediaPlayer
 Sherlock.Holmes.A.Game.of.Shadows.\(2011\).H.264.Hi10P.BDRip.mkv
 open playlist item:
 Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv
 Compiler did not align stack variables. Libavcodec has been miscompiled
 and may be very slow or crash. This is not a bug in libavcodec,
 but in the compiler. You may try recompiling using gcc >= 4.2.
 Do not report crashes to FFmpeg developers.
 No BE API colorspace definition for pixel format "(unknown)".
 MediaExtractor::MediaExtractor: AllocateCookie for stream 3 failed
 MediaExtractor::MediaExtractor: AllocateCookie for stream 4 failed
 MediaExtractor::MediaExtractor: AllocateCookie for stream 5 failed
 MediaExtractor::MediaExtractor: AllocateCookie for stream 6 failed
 MediaExtractor::CreateDecoder can't create decoder for stream 3: General
 system error
 MediaFileTrackSupplier: warning! track index 3 has no duration
 MediaFileTrackSupplier: track index 3 has unknown type
 MediaExtractor::CreateDecoder can't create decoder for stream 4: General
 system error
 MediaFileTrackSupplier: warning! track index 4 has no duration
 MediaFileTrackSupplier: track index 4 has unknown type
 MediaExtractor::CreateDecoder can't create decoder for stream 5: General
 system error
 MediaFileTrackSupplier: warning! track index 5 has no duration
 MediaFileTrackSupplier: track index 5 has unknown type
 MediaExtractor::CreateDecoder can't create decoder for stream 6: General
 system error
 MediaFileTrackSupplier: warning! track index 6 has no duration
 MediaFileTrackSupplier: track index 6 has unknown type
 _InitFromTrack(): keyframes: 1, frame count: 370792416
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: PIX_FMT_NONE => B_YCbCr422: NULL
 BMediaEventLooper: SchedulingLatency is 750
 BMediaEventLooper: SchedulingLatency is 3000
 VideoConsumer::CreateBuffers - ERROR CREATING VIDEO RING BUFFER (Index 0
 Width 912 Height 380 Colorspace 16384: Out of memory
 VideoConsumer::Connected - COULDN'T CREATE BUFFERS
 BMediaRoster::Connect: aborting after BBufferConsumer::Connected, status =
 0x80000000
 VideoProducer::Connect() - consumer error: Out of memory
 BMediaRoster::Connect: aborted
 Can't connect the video source to the video window... trying without
 overlays, error: Out of memory
 NodeManager::_SetupVideoNodes() - falling back to B_RGB32
 BMediaRoster::Connect connection established!
 BMediaRoster::ReleaseNode, trying to release reference counting disabled
 timesource, node 1, port 398, team 645
 BMediaEventLooper: SchedulingLatency is 750
 BMediaRoster::Connect connection established!
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: PIX_FMT_NONE => B_RGB32: NULL
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 BMediaEventLooper: SchedulingLatency is 6000
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 CPU is capable of running MMX SSE1 SSE2 SSE3 SSSE3
 resolve_colorspace: (unknown) => B_RGB32: NULL
 BMediaRoster::ReleaseNode, trying to release reference counting disabled
 timesource, node 2, port 478, team 645
 }}}

 VLC 0.86d plays this file ok:
 {{{
 main vlc : CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
 main vlc : looking for memcpy module: 3 candidates
 main vlc : using memcpy module "memcpymmxext"
 main playlist : waiting for thread completion
 main playlist : thread 3931 (playlist) created at priority 5
 (playlist/playlist.c:184)
 main playlist : waiting for thread completion
 main playlist : thread 3932 (preparser) created at priority 5
 (playlist/playlist.c:210)
 main interface : looking for interface module: 1 candidate
 main interface : using interface module "hotkeys"
 main interface : thread 3933 (interface) created at priority 5
 (interface/interface.c:231)
 main playlist : adding playlist item
 `Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv' (
 Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv )
 main interface : looking for interface module: 2 candidates
 main interface : using interface module "beos"
 main interface : thread 3942 (manager) created at priority 5
 (interface/interface.c:216)
 main playlist : creating statistics handler
 main playlist : creating new input thread
 main input : waiting for thread completion
 main input : thread 3943 (input) created at priority 10
 (input/input.c:265)
 main input :
 `Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv' gives
 access `' demux `' path
 `Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv'
 main input : creating demux: access='' demux=''
 path='Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv'
 main input : looking for access_demux module: 0 candidates
 main input : no access_demux module matched "any"
 main input : creating access ''
 path='Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv'
 main input : looking for access2 module: 2 candidates
 access_file input : opening file
 `Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv'
 main input : using access2 module "access_file"
 main input : pre-buffering...
 main input : received first data for our buffer
 main input : pre-buffering done 1408981 bytes in 0s - 362189 kbytes/s
 main input : creating demux: access='' demux=''
 path='Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv'
 main input : looking for demux2 module: 41 candidates
 mkv input : |   + Seek head
 mkv input : |   |   |   = cues at 2354068992
 mkv input : |   |   |   = chapters at 6035
 mkv input : |   + Unknown (Q27libebml8EbmlVoid)
 mkv input : |   + Information
 mkv input : |   |   + TimecodeScale=1000000
 mkv input : |   |   + Muxing Application=libebml v1.2.3 + libmatroska
 v1.3.0
 mkv input : |   |   + Writing Application=mkvmerge v5.2.1 ('A Far Off
 Place') built on Jan  2 2012 23:21:10
 mkv input : |   |   + Duration=7724842
 mkv input : |   |   + Date=Tue Apr 24 00:48:26 2012
 mkv input : |   |   +
 
Title=Sherlock.Holmes.A.Game.of.Shadows.2011.BDRip.x264.Hi10P.AAC5.1.Rus.Eng-E76
 mkv input : |   |   + UID=-1690099531
 mkv input : |   + Tracks
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=1
 mkv input : |   |   |   + Track UID=1
 mkv input : |   |   |   + Track Type=video
 mkv input : |   |   |   + Track Default=0
 mkv input : |   |   |   + Track Lacing=0
 mkv input : |   |   |   + Track MinCache=1
 mkv input : |   |   |   + Track CodecId=V_MPEG4/ISO/AVC
 mkv input : |   |   |   + Track CodecPrivate size=50
 mkv input : |   |   |   + Track Default Duration=41708332
 mkv input : |   |   |   + Track Name=Encode by Enclave76
 mkv input : |   |   |   + Track Video
 mkv input : |   |   |   |   + width=912
 mkv input : |   |   |   |   + height=380
 mkv input : |   |   |   |   + display width=912
 mkv input : |   |   |   |   + display height=380
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=2
 mkv input : |   |   |   + Track UID=3790332056
 mkv input : |   |   |   + Track Type=audio
 mkv input : |   |   |   + Track CodecId=A_AAC
 mkv input : |   |   |   + Track CodecPrivate size=5
 mkv input : |   |   |   + Track Default Duration=21333333
 mkv input : |   |   |   + Track Language=`rus'
 mkv input : |   |   |   + Track Name=Dub CEE
 mkv input : |   |   |   + Track Audio
 mkv input : |   |   |   |   + afreq=48000
 mkv input : |   |   |   |   + achan=6
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=3
 mkv input : |   |   |   + Track UID=3726288290
 mkv input : |   |   |   + Track Type=audio
 mkv input : |   |   |   + Track Default=0
 mkv input : |   |   |   + Track CodecId=A_AAC
 mkv input : |   |   |   + Track CodecPrivate size=5
 mkv input : |   |   |   + Track Default Duration=21333333
 mkv input : |   |   |   + Track Name=Original
 mkv input : |   |   |   + Track Audio
 mkv input : |   |   |   |   + afreq=48000
 mkv input : |   |   |   |   + achan=6
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=4
 mkv input : |   |   |   + Track UID=4156885900
 mkv input : |   |   |   + Track Type=subtitle
 mkv input : |   |   |   + Track Lacing=0
 mkv input : |   |   |   + Track CodecId=S_TEXT/UTF8
 mkv input : |   |   |   + Track Language=`rus'
 mkv input : |   |   |   + Track Name=forced
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=5
 mkv input : |   |   |   + Track UID=4051011476
 mkv input : |   |   |   + Track Type=subtitle
 mkv input : |   |   |   + Track Default=0
 mkv input : |   |   |   + Track Lacing=0
 mkv input : |   |   |   + Track CodecId=S_TEXT/UTF8
 mkv input : |   |   |   + Track Language=`rus'
 mkv input : |   |   |   + Track Name=voronine
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=6
 mkv input : |   |   |   + Track UID=3543386776
 mkv input : |   |   |   + Track Type=subtitle
 mkv input : |   |   |   + Track Default=0
 mkv input : |   |   |   + Track Lacing=0
 mkv input : |   |   |   + Track CodecId=S_TEXT/UTF8
 mkv input : |   |   + Track Entry
 mkv input : |   |   |   + Track Number=7
 mkv input : |   |   |   + Track UID=390396822
 mkv input : |   |   |   + Track Type=subtitle
 mkv input : |   |   |   + Track Default=0
 mkv input : |   |   |   + Track Lacing=0
 mkv input : |   |   |   + Track CodecId=S_TEXT/UTF8
 mkv input : |   |   |   + Track Name=SDH
 mkv input : |   + Unknown (Q27libebml8EbmlVoid)
 mkv input : |   + Chapters
 mkv input : |   |   + EditionEntry
 mkv input : |   |   |   + Unknown (Q211libmatroska20KaxEditionFlagHidden)
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 3958384539
 mkv input : |   |   |   |   + ChapterTimeStart: 0
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:00:00.000'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 1690916995
 mkv input : |   |   |   |   + ChapterTimeStart: 558266000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:09:18.266'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 1410371501
 mkv input : |   |   |   |   + ChapterTimeStart: 1177634000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:19:37.634'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 940435863
 mkv input : |   |   |   |   + ChapterTimeStart: 1846844000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:30:46.844'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 3621433782
 mkv input : |   |   |   |   + ChapterTimeStart: 2413702000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:40:13.702'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 1017129098
 mkv input : |   |   |   |   + ChapterTimeStart: 3029025000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:50:29.025'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 317853610
 mkv input : |   |   |   |   + ChapterTimeStart: 3585456000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '0:59:45.456'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 172482966
 mkv input : |   |   |   |   + ChapterTimeStart: 4160823000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '1:09:20.823'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 1522536623
 mkv input : |   |   |   |   + ChapterTimeStart: 4738275000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '1:18:58.275'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 2361654401
 mkv input : |   |   |   |   + ChapterTimeStart: 5408694000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '1:30:08.694'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 4119500184
 mkv input : |   |   |   |   + ChapterTimeStart: 5948734000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '1:39:08.734'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 3063882125
 mkv input : |   |   |   |   + ChapterTimeStart: 6590375000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '1:49:50.375'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   |   |   + ChapterAtom (level=0)
 mkv input : |   |   |   |   + ChapterUID: 1873148341
 mkv input : |   |   |   |   + ChapterTimeStart: 7224717000
 mkv input : |   |   |   |   + ChapterFlagHidden: no
 mkv input : |   |   |   |   + ChapterDisplay
 mkv input : |   |   |   |   |    + ChapterString '2:00:24.717'
 mkv input : |   |   |   |   |    + ChapterLanguage 'eng'
 mkv input : |   + Unknown (Q27libebml8EbmlVoid)
 mkv input : |   + Cluster
 mkv input : cannot find any cluster, damaged file ?
 mkv input : loading cues
 mkv input : loading cues done.
 mkv input : found 7 es
 main input : selecting program id=0
 mkv input : Starting the UI Hook
 main input : thread 3944 (mkv event thread handler) created at priority 5
 (mkv.cpp:2512)
 main input : using demux2 module "mkv"
 main input : looking for a subtitle file in /boot/home
 main decoder : looking for decoder module: 21 candidates
 ffmpeg decoder : libavcodec initialized (interface 3349504 )
 ffmpeg decoder : postprocessing disabled
 ffmpeg decoder : ffmpeg codec (h264) started
 main decoder : using decoder module "ffmpeg"
 main decoder : thread 3945 (decoder) created at priority 5
 (input/decoder.c:159)
 main decoder : looking for decoder module: 21 candidates
 main decoder : using decoder module "faad"
 main decoder : thread 3946 (decoder) created at priority 10
 (input/decoder.c:159)
 main input : meta information:
 main input :   - 'Title' =
 'Sherlock.Holmes.A.Game.of.Shadows.2011.BDRip.x264.Hi10P.AAC5.1.Rus.Eng-E76'
 main input :   - 'Date' = 'Tue Apr 24 00:48:26 2012'
 main input :
 `Sherlock.Holmes.A.Game.of.Shadows.(2011).H.264.Hi10P.BDRip.mkv'
 successfully opened
 main decoder : no usable vout present, spawning one
 main video output : window size: 912x380
 main video output : looking for video output module: 2 candidates
 main video output : using video output module "beos"
 main video output : waiting for thread completion
 main video output : Registering subpicture channel, ID: 2
 main video output : Registering subpicture channel, ID: 3
 main video output : Registering subpicture channel, ID: 4
 main video output : Registering subpicture channel, ID: 5
 beos video output : no possible overlay
 main video output : got 3 direct buffer(s)
 main video output : picture in 912x380 (0,0,912x380), chroma I420, ar
 12:5, sar 1:1
 main video output : picture user 912x380 (0,0,912x380), chroma I420, ar
 12:5, sar 1:1
 main video output : picture out 912x380 (0,0,912x380), chroma RV32, ar
 12:5, sar 1:1
 main video output : looking for chroma module: 9 candidates
 main video output : using chroma module "i420_rgb_mmx"
 main video output : indirect render, mapping render pictures 0-7 to system
 pictures 3-10
 main video output : thread 3947 (video output) created at priority 15
 (video_output/video_output.c:421)
 faad decoder : decoded zero sample
 message decoder : message queue overflowed
 main input : control type=1
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9280>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: