Android ffmpeg error reading header
#1
Edit: the issue might be due to network errors. The same video plays when tried a second time.

I am getting a "ffmpeg error reading header" error when trying to stream a mp4 file. Using Gotham nightly from a couple of days back.

Here is a snapshot of the logs. The complete logs are at - http://xbmclogs.com/show.php?id=128741

12:52:59 T:1745525960 ERROR: ffmpeg[680A9CC8]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header: -541478725
12:52:59 T:1745525960 ERROR: bool CDVDDemuxFFmpeg::Open(CDVDInputStream*) - Error, could not open file http://cs532508.vk.me//u172608465/videos...54.480.mp4
12:52:59 T:1745525960 ERROR: bool CDVDPlayer::OpenDemuxStream() - Error creating demuxer

The same file works okay with other players like MoboPlayer (which uses ffmpeg) etc on Android.

Here is the mediainfo of the file:
----
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 164 MiB
Duration : 2h 0mn
Overall bit rate : 189 Kbps
Writing application : Lavf54.59.106

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 0mn
Bit rate : 600 Kbps
Width : 854 pixels
Height : 360 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.078
Stream size : 504 MiB
Writing library : x264 core 129
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / 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=24 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=600 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 0mn
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Delay relative to video : 80ms
Stream size : 111 MiB (68%)
-------

--
Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
ffmpeg error reading header0