Bug Airplay renders only audio without video when buffering
#1
I tested the latest XBMC on Windows 7 x64 and on Raspberry Pi OpenELEC (latest).
The result is the same: via Airplay, there is no video rendered when the source is a live buffer.
However, Youtube and other sources work correctly.

The issue appears to be:
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] Could not find codec parameters (Video: h264 ([27][0][0][0] / 0x001B))
14:07:38 T:4892   ERROR: CDVDPlayerVideo::OpenStream - Invalid framerate 90000, using forced 25fps and just trust timestamps

Is this a known issue?
Any feedback is appreciated.


Here are many stream sources: http://www.idevice.ro/tv-live-pe-iphone-si-ipad/
For example: http://fms27.mediadirect.ro/live3/tvr1/playlist.m3u8 outputs this in the xbmc.log:

Note: i removed more than the half of the log because of posting restrictions (10K chars)

14:07:28 T:6756 NOTICE: Enabled debug logging due to GUI setting. Level 2.
14:07:32 T:6756 DEBUG: ------ Window Init (Home.xml) ------
14:07:35 T:3116 DEBUG: AIRPLAY Server: New connection detected
14:07:35 T:3116 INFO: AIRPLAY Server: New connection added
14:07:35 T:3116 DEBUG: AIRPLAY: got request /server-info
14:07:35 T:3116 DEBUG: AIRPLAY Server: New connection detected
14:07:35 T:3116 INFO: AIRPLAY Server: New connection added
14:07:35 T:3116 DEBUG: AIRPLAY: got request /play
14:07:35 T:3116 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/airplay/libplist.dll)
14:07:35 T:6756 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
14:07:35 T:6756 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
14:07:35 T:6756 INFO: XCURL:Big GrinllLibCurlGlobal::easy_aquire - Created session to http://fms3.mediadirect.ro
14:07:36 T:6756 DEBUG: CCurlFile::GetMimeType - http://fms3.mediadirect.ro/live3/_defins...b%20de_de) -> application/vnd.apple.mpegurl
14:07:36 T:6044 NOTICE: Thread CGUIDialogCache start, auto delete: true
14:07:36 T:6044 DEBUG: Thread CGUIDialogCache 6044 terminating (autodelete)
14:07:36 T:6756 DEBUG: CPlayerCoreFactory::GetPlayers(http://fms3.mediadirect.ro/live3/_defins...b%20de_de))
...
14:07:36 T:6756 NOTICE: DVDPlayer: Opening: http://fms3.mediadirect.ro/live3/_defins...b%20de_de)
14:07:36 T:6756 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
14:07:36 T:6756 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
14:07:36 T:6756 DEBUG: DXVA - cheking samples array size using 842094158 render target
14:07:36 T:6756 DEBUG: DXVA - cheking samples array size using 842094169 render target
14:07:36 T:4892 NOTICE: Thread CDVDPlayer start, auto delete: false
14:07:36 T:4892 NOTICE: Creating InputStream
14:07:36 T:4892 NOTICE: Creating Demuxer
14:07:36 T:4892 DEBUG: ffmpeg[131C]: Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
14:07:36 T:6756 DEBUG: Previous line repeats 1 times.
14:07:36 T:6756 DEBUG: ------ Window Init (DialogBusy.xml) ------
14:07:36 T:4892 DEBUG: ffmpeg[131C]: Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
14:07:38 T:4892 DEBUG: Previous line repeats 7 times.
14:07:38 T:4892 DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] max_analyze_duration 5000000 reached at 5013333
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] decoding for stream 0 failed
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] Could not find codec parameters (Video: h264 ([27][0][0][0] / 0x001B))
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] decoding for stream 1 failed
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] Could not find codec parameters (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16)
14:07:38 T:4892 DEBUG: ffmpeg[131C]: [applehttp] Estimating duration from bitrate, this may be inaccurate
14:07:38 T:4892 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
14:07:38 T:4892 INFO: ffmpeg[131C]: Input #0, applehttp, from 'http://fms3.mediadirect.ro/live3/_definst_/tvr1/playlist.m3u8?publisher=6':
14:07:38 T:4892 INFO: ffmpeg[131C]: Duration: N/A, bitrate: N/A
14:07:38 T:4892 INFO: ffmpeg[131C]: Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), 90k tbr, 90k tbn, 180k tbc
14:07:38 T:4892 INFO: ffmpeg[131C]: Metadata:
14:07:38 T:4892 INFO: ffmpeg[131C]: variant_bitrate : 250000
14:07:38 T:4892 INFO: ffmpeg[131C]: Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 0 channels, s16
14:07:38 T:4892 INFO: ffmpeg[131C]: Metadata:
14:07:38 T:4892 INFO: ffmpeg[131C]: variant_bitrate : 250000
14:07:38 T:4892 INFO: ffmpeg[131C]: Stream #0:2: Audio: aac, 48000 Hz, stereo, s16
14:07:38 T:4892 INFO: ffmpeg[131C]: Metadata:
14:07:38 T:4892 INFO: ffmpeg[131C]: variant_bitrate : 70623
14:07:38 T:4892 NOTICE: Opening video stream: 0 source: 256
14:07:38 T:4892 NOTICE: Creating video codec with codec id: 28
14:07:38 T:4892 DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:yes DXVA:yes
14:07:38 T:4892 DEBUG: FactoryCodec - Video: - Opening
14:07:38 T:4892 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
14:07:38 T:4892 DEBUG: FactoryCodec - Video: ff-h264 - Opened
14:07:38 T:4892 ERROR: CDVDPlayerVideo::OpenStream - Invalid framerate 90000, using forced 25fps and just trust timestamps
14:07:38 T:4892 NOTICE: Creating video thread
14:07:38 T:4892 NOTICE: Opening audio stream: 2 source: 256
14:07:38 T:4892 NOTICE: Finding audio codec for: 86018
14:07:38 T:4892 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
14:07:38 T:6604 NOTICE: Thread CDVDPlayerVideo start, auto delete: false
14:07:38 T:6604 NOTICE: running thread: video_thread
14:07:38 T:6604 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
14:07:38 T:4892 DEBUG: FactoryCodec - Audio: FFmpeg - Opened
14:07:38 T:4892 NOTICE: Creating audio thread
14:07:38 T:4984 NOTICE: Thread CDVDPlayerAudio start, auto delete: false
14:07:38 T:4984 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
14:07:38 T:4892 DEBUG: CDVDPlayer::SetCaching - caching state 3
14:07:38 T:4984 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
14:07:38 T:4984 INFO: CSoftAE::MakeStream - AE_FMT_S16NE, 48000, FL,FR
14:07:38 T:6616 DEBUG: CSoftAE::Run - Sink restart flagged
14:07:38 T:6616 DEBUG: CAESinkDirectSound::IsCompatible: Formats Incompatible due to different :Sample Rates
14:07:38 T:6616 INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
14:07:38 T:6616 DEBUG: CAESinkDirectSound:Big Grineinitialize: Cleaning up
14:07:38 T:3116 DEBUG: AIRPLAY: sending event: playing
14:07:38 T:6756 DEBUG: CGUIInfoManager::SetCurrentMovie(http://fms3.mediadirect.ro/live3/_defins...b%20de_de))
...
14:07:38 T:6756 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
14:07:38 T:6756 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
14:07:38 T:3116 DEBUG: AIRPLAY: got request /rate with rate 1
14:07:38 T:6616 DEBUG: AERemap: Downmix normalization is disabled
14:07:38 T:3116 DEBUG: AIRPLAY: got request /playback-info
14:07:38 T:3116 DEBUG: AIRPLAY: sending event: paused
14:07:38 T:6616 DEBUG: AERemap: Downmix normalization is disabled
14:07:38 T:6616 DEBUG: Previous line repeats 2 times.
14:07:38 T:6616 DEBUG: CSoftAEStream::CSoftAEStream - Converting from AE_FMT_S16NE to AE_FMT_FLOAT
14:07:38 T:4984 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
14:07:38 T:4892 DEBUG: CDVDPlayer::HandleMessages - player started 1
14:07:38 T:4892 DEBUG: CDVDPlayer::SetCaching - caching state 0
14:07:38 T:6616 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
14:07:38 T:6616 DEBUG: CSoftAE::Run - Sink restart flagged
14:07:38 T:6616 DEBUG: CAESinkDirectSound::IsCompatible: Formats compatible - reusing existing sink
14:07:38 T:6616 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 48000hz
14:07:38 T:6616 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
14:07:38 T:6616 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 3840
14:07:38 T:4984 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(21333.333333, 1)
14:07:38 T:4984 DEBUG: CDVDPlayerAudio:: Discontinuity - was:-11754.484030, should be:-11753.268388, error:1.215642
14:07:38 T:4984 ERROR: ffmpeg[1378]: [aac] channel element 2.4 is not allocated
14:07:38 T:4984 ERROR: CDVDPlayerAudio:Big GrinecodeFrame - Decode Error. Skipping audio packet
14:07:38 T:4984 DEBUG: CDVDPlayerAudio:Tonguerocess - Decode Error
Reply

Logout Mark Read Team Forum Stats Members Help
Airplay renders only audio without video when buffering0