xbox-scene.com archived forum

Author Topic: Playing .flv Files In Xbmc Freezing And Not Working  (Read 3 times)

chefelf

  • Archived-User
  • Newbie
  • *
  • Posts: 1395
    • View Profile
Playing .flv Files In Xbmc Freezing And Not Working
« on: October 21, 2006, 10:55:00 AM »

Hello all.  I did a search and came up with a few similar topics but they were a few months old.  I figured it'd be better to start up a new, more recent topic.  (IMG:style_emoticons/default/smile.gif)

Using XBMC 2006-10-03 T3CH

1.) I've been having hit-or-miss problems playing .flv video in XBMC.  Some work fine, some don't work at all.  With mplayer as the default I noticed that some videos played fine.  Others, when selected, simply did nothing (other than play the 'click' sound effect in XBMC).

2.) Through reading the forums I saw some suggested using the white button to select "Play with..." and then "DVDPlayer."  In doing that I found that the menu screen froze but I could hear audio for about 35-40 seconds before complete freezing.  Had to manually reboot machine.

3.) Decided to upgrade to most recent release version for testing.

Using XBMC 2006-10-15 T3CH

4.) Witht he same video file the video still doesn't play with mplayer default.  Trying DVDPlayer a black screen appeared.  No video.  Only audio.  I could move around using the D-pad for about 20 seconds before the system froze again.

5.) In debug mode I got the following errors:

Early in the file:

CODE
11:25:00 M: 54063104   ERROR: Unable to load T:\guisettings.xml, creating new T:\guisettings.xml with default values


Later on when trying to play video:

CODE
CPlayerCoreFactor::GetPlayers(smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv)
11:25:27 M: 39829504    INFO: mplayer play:smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv cachesize:2048
11:25:27 M: 39833600   DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://Mshome;xbox:xbox@computer/video/tv
11:25:27 M: 33464320   DEBUG:   msg:  set audio functions called
11:25:27 M: 33464320   DEBUG:   msg:  done
11:25:27 M: 33464320    INFO: Using -subcp enca:__:CP1252 to detect the subtitle charset
11:25:27 M: 33464320    INFO: Flipping bi-directional subtitles disabled
11:25:27 M: 33464320   DEBUG:   msg: mplayer_init()
11:25:27 M: 33464320   DEBUG:   msg: enable mplayer osd
11:25:27 M: 33464320   DEBUG:   msg: MPlayer dev-CVS-060924-20:59 (C) 2000-2004 MPlayer Team
11:25:27 M: 33464320   DEBUG:   msg: CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville
11:25:27 M: 33464320   DEBUG:   msg: (Family: 6, Stepping: 10)
11:25:27 M: 33464320   DEBUG:   msg: Detected cache-line size is 32 bytes
11:25:27 M: 33464320   DEBUG:   msg: CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
11:25:27 M: 33464320   DEBUG:   msg: Compiled for x86 CPU with extensions:
11:25:27 M: 33464320   DEBUG:   msg:  MMX
11:25:27 M: 33464320   DEBUG:   msg:  MMX2
11:25:27 M: 33464320   DEBUG:   msg:  SSE
11:25:27 M: 33464320   DEBUG:   msg:
11:25:27 M: 33464320   DEBUG:   msg:
11:25:27 M: 33443840   DEBUG:   msg: Creating config file: Q:\system\players\mplayer\config
11:25:27 M: 33443840   DEBUG:   msg:
11:25:28 M: 33128448   DEBUG:   msg: 88 audio & 199 video codecs
11:25:28 M: 33087488   DEBUG:   msg: mplayer_open_file(smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv)
11:25:28 M: 33087488    INFO: Stating file smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv.conf
11:25:28 M: 33087488    INFO: Stating file Q:\system\players\mplayer\sample video.flv.conf
11:25:28 M: 33087488   DEBUG:   msg: Playing smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv.
11:25:28 M: 33087488   DEBUG:   msg: find subtitles
11:25:28 M: 33087488   DEBUG:   msg: auto open Z:\subtitle
11:25:28 M: 33087488   DEBUG:   msg: protocol:smb
11:25:28 M: 33087488   DEBUG:   msg: use standard file for protocol:smb
11:25:28 M: 33087488   DEBUG:   msg: Option stream url: This URL doesn't have a username part.
11:25:28 M: 33087488   DEBUG:   msg: Option stream url: This URL doesn't have a hostname part.
11:25:28 M: 30420992   DEBUG:   msg:
Cache fill:  0.00% (0 bytes)
11:25:28 M: 30420992   DEBUG:   msg:
Cache fill:  6.25% (131072 bytes)
11:25:28 M: 30420992   DEBUG:   msg:
Cache fill: 12.50% (262144 bytes)
11:25:28 M: 30420992   DEBUG:   msg:
Cache fill: 18.75% (393216 bytes)
11:25:28 M: 30420992   DEBUG:   msg: demux_open(00C1F010,0,-1,-1,-1)
11:25:28 M: 30400512   DEBUG:   msg: TiVo file format detected.
11:25:28 M: 30400512   DEBUG:   msg: MPEG: No audio stream found -> no sound.
11:25:28 M: 30400512   DEBUG:   msg: MPEG: FATAL: EOF while searching for sequence header.
11:25:28 M: 30400512   DEBUG:   msg: Video: Cannot read properties.
11:25:28 M: 30400512   DEBUG:   msg: No stream found.
11:25:28 M: 30400512   ERROR: cmplayer::openfile() smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv failed
11:25:28 M: 30400512   DEBUG:   msg:  mplayer_close_file()
11:25:28 M: 30400512   DEBUG:   msg:
11:25:28 M: 30400512   DEBUG:   msg:  uninit_player
11:25:28 M: 33415168   DEBUG:   msg:  uninit_player - done
11:25:28 M: 33415168   DEBUG: Freeing FS segment @ 0xa935c0
11:25:28 M: 39796736   ERROR: Playlist Player: skipping unplayable item: 0, path [smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv]
11:25:28 M: 39796736   DEBUG: Playlist Player: no more playable items... aborting playback
11:25:29 M: 40337408   DEBUG: CApplication::OnKey: 271 pressed, action is 4
11:25:29 M: 40337408   DEBUG: CApplication::OnKey: 270 pressed, action is 3
11:25:36 M: 40337408   DEBUG: CApplication::OnKey: 261 pressed, action is 117
11:25:36 M: 40337408    INFO: Loading skin file: DialogContextMenu.xml
11:25:36 M: 40337408   DEBUG: CPlayerCoreFactor::GetPlayers(smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv)
11:25:37 M: 40226816   DEBUG: CApplication::OnKey: 271 pressed, action is 4
11:25:37 M: 40226816   DEBUG: CApplication::OnKey: 256 pressed, action is 7
11:25:37 M: 40325120    INFO: Loading skin file: DialogContextMenu.xml
11:25:39 M: 40226816   DEBUG: CApplication::OnKey: 271 pressed, action is 4
11:25:41 M: 40226816   DEBUG: CApplication::OnKey: 256 pressed, action is 7
11:25:41 M: 40329216  NOTICE: DVDPlayer: Opening: smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv
11:25:41 M: 40329216  NOTICE: CDVDPlayer::CloseFile()
11:25:41 M: 40329216  NOTICE: DVDPlayer: waiting for threads to exit
11:25:41 M: 40329216  NOTICE: DVDPlayer: finished waiting
11:25:41 M: 39804928  NOTICE: Creating InputStream
11:25:41 M: 39804928  NOTICE: Creating Demuxer
11:25:41 M: 39768064   DEBUG: Initializing FS_SEG..
11:25:41 M: 39768064   DEBUG: FS segment @ 0xa935c0
11:25:44 M:  1880064  NOTICE: Opening audio stream: 0
11:25:44 M:  1892352  NOTICE: Finding audio codec for: 86017
11:25:44 M:  1871872   DEBUG: FactoryCodec - Audio: passthrough - Opening
11:25:44 M:  1880064   DEBUG: FactoryCodec - Audio: passthrough - Failed
11:25:44 M:  1728512   DEBUG: FactoryCodec - Audio: libmad - Opening
11:25:45 M:  1622016   DEBUG: FactoryCodec - Audio: libmad - Opened
11:25:45 M:  1601536  NOTICE: Creating audio thread
11:25:45 M:  1077248  NOTICE: running thread: CDVDPlayerAudio::Process()
11:25:45 M:  1077248  NOTICE: Opening video stream: 1
11:25:45 M:  1077248   ERROR: CDVDPlayerVideo::OpenStream - Invalid framerate 1000, using forced 25fps and just trust timestamps
11:25:45 M:  1077248  NOTICE: Creating video codec with codec id: 22
11:25:45 M:  1077248   DEBUG: FactoryCodec - Video: FFmpeg - Opening
11:25:45 M:   929792   DEBUG: FactoryCodec - Video: FFmpeg - Opened
11:25:45 M:   909312  NOTICE: Creating video thread
11:25:45 M:   385024  NOTICE: running thread: video_thread
11:25:45 M:   385024   DEBUG: Playback has started
11:25:45 M:   385024   DEBUG: CDVDPlayerVideo::Process - Resync recieved.
11:25:45 M:   385024  NOTICE: Creating audio device with codec id: 86017, channels: 1, sample rate: 22050, no pass-through
11:25:45 M:   372736   DEBUG: CDVDPlayerVideo:: Resync - clock:0, delay:0
11:25:45 M:   372736   DEBUG: CDVDPlayerAudio:: Resync - clock:52122, delay:25097
11:25:45 M:   253952  NOTICE: Initializing video device
11:25:45 M:   253952   DEBUG: CXBoxRenderManager::PreInit - Selected RGB-Renderer
11:25:45 M:   253952   ERROR: Could not create RGB lookup textures
11:25:45 M:   253952  NOTICE:  fps: 25.000000, pwidth: 320, pheight: 240, dwidth: 320, dheight: 240
11:25:45 M:   253952  NOTICE: Display resolution AUTO : NTSC 4:3 (4)
11:25:45 M:    98304   DEBUG: Created YV12 texture 0
11:25:45 M:    98304   ERROR: CXBoxRenderer::CreateYV12Texture - Unable to allocate decode texture of 153600 bytes
11:25:45 M:    98304   ERROR: CDVDPlayerVideo::Process - Exception caught when outputing picture
11:25:45 M:    12288  SEVERE: DLL: Q:\system\players\dvdplayer\avcodec.dll : malloc failed, crash imminent (Out of memory requesting 19233 bytes)
11:25:45 M:    12288   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:45 M:    12288   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:45 M:    12288   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:45 M:    12288   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:45 M:    12288   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:45 M:    12288   DEBUG: Activating window ID: 12005
11:25:45 M:    12288   DEBUG: CDVDPlayerAudio:: Detected Audio Discontinuity, syncing clock. diff was: -8626, 557605, av: 274489
11:25:45 M:    24576   DEBUG: Checking if window ID 12005 is locked.
11:25:45 M:    40960  NOTICE: CDVDPlayer::OnExit()
11:25:45 M:    40960  NOTICE: DVDPlayer: eof, waiting for queues to empty
11:25:45 M:  4603904  NOTICE: DVDPlayer: closing audio stream
11:25:45 M:  4603904  NOTICE: Closing audio stream
11:25:45 M:  4603904   DEBUG: Deleted YV12 texture 1
11:25:45 M:  4603904    INFO: Loading skin file: VideoFullscreen.xml
11:25:45 M:  4603904    INFO: Loading skin file: VideoOSD.xml
11:25:45 M:  4022272    INFO: Loading skin file: VideoOSDSettings.xml
11:25:45 M:  3313664    INFO: Loading skin file: VideoOSDSettings.xml
11:25:45 M:  3272704   ERROR: exception in CApplication::FrameMove()
11:25:45 M:  3272704   DEBUG: CGUIInfoManager::SetCurrentMovie(smb://Mshome;xbox:xbox@computer/video/tv/sample video.flv)
11:25:45 M:  3239936   ERROR: exception in CApplication::Process()
11:25:51 M:  3244032   DEBUG: CApplication::OnKey: 271 pressed, action is 23
11:25:51 M:  3244032   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:51 M:  3244032   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:51 M:  3244032   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:51 M:  3244032   ERROR: Exception thrown when attempting to decode frame, skipping
11:25:51 M:  3244032   ERROR: Exception thrown when attempting to decode frame, skipping


That last line repeated over 300 times.

Any ideas what may be the issue here?  I have the complete log file available if anyone is interested in checking it out.  This is happening with multiple FLV files (while others play okay using mplayer).

Thanks in advance for any help!
Logged

elupus

  • Archived-User
  • Newbie
  • *
  • Posts: 211
    • View Profile
Playing .flv Files In Xbmc Freezing And Not Working
« Reply #1 on: October 21, 2006, 01:52:00 PM »

11:25:41 M: 39768064   DEBUG: FS segment @ 0xa935c0
11:25:44 M:  1880064  NOTICE: Opening audio stream: 0

something goes very wrong there.. it's using over 15megs of memory trying to open ffmpeg's demuxer..

mplayer total breaks down on that file and thinks it's a tivo file :/

a sample would be nice.

This post has been edited by elupus: Oct 21 2006, 06:52 PM
Logged

chefelf

  • Archived-User
  • Newbie
  • *
  • Posts: 1395
    • View Profile
Playing .flv Files In Xbmc Freezing And Not Working
« Reply #2 on: October 21, 2006, 05:23:00 PM »

QUOTE(elupus @ Oct 21 2006, 01:59 PM) '*'

a sample would be nice.


What should I send you a sample of?

Thanks for the reply.  (IMG:style_emoticons/default/smile.gif)
Logged

pike

  • Archived-User
  • Newbie
  • *
  • Posts: 222
    • View Profile
Playing .flv Files In Xbmc Freezing And Not Working
« Reply #3 on: October 21, 2006, 10:12:00 PM »

try enabling no cache in my videos OSD while playing the FLV and see if that makes a difference any way
Logged

chefelf

  • Archived-User
  • Newbie
  • *
  • Posts: 1395
    • View Profile
Playing .flv Files In Xbmc Freezing And Not Working
« Reply #4 on: October 21, 2006, 11:47:00 PM »

QUOTE(pike @ Oct 21 2006, 10:19 PM) '*'

try enabling no cache in my videos OSD while playing the FLV and see if that makes a difference any way


Hey, thanks, pike!  I had to restart a few times in order to get to the OSD menu fast enough (before it froze) but after I set at "no cache" and made it the default it seems to be working.

Thanks to everyone for the help! (IMG:style_emoticons/default/smile.gif)
Logged

pike

  • Archived-User
  • Newbie
  • *
  • Posts: 222
    • View Profile
Playing .flv Files In Xbmc Freezing And Not Working
« Reply #5 on: October 22, 2006, 08:09:00 AM »

It's kind of a design flaw imho. But it's due to the nature of the format of FLV, & also MOV.

This is why we (with AMT) save every downloaded trailer with a .conf file where it's specified that no cache should be used (when played back locally - opposite to stream).
Ideally we should do this auto for some formats...
Logged