2011-07-19, 01:10
Well if its an ffmpeg issue from the ffmpeg main code tree (eg I would assume mpegvideo, h264 codec or flv format related) then the issue can be logged with the ffmpeg guys. Glad you persevered - most would not have.
Quote:I don't know what version of ffmpeg it had before that.Why not asking anssih? Does he already know about this problem?
Prof Yaffle Wrote:I've managed to successfully build ffmpeg, but not yet got XBMC to compile properly to use it. Hopefully more success this week - I did drop EricV a note but no reply yet (I was pretty vague about what help I was after, so I can't blame the silence necessarily!).
However, I've since noticed the problem on an SD flv/h.264 stream from a different television channel catchup service (Channel 5, for anyone following along in the UK). So that's the first non-BBC, non-HD file I've seen the problem on. I did some homework and the only things I could see that separate these files from working alternatives (e.g. YouTube Flash/H.264/HD stream) are:
1. The PAR isn't 1:1 - it's 90:90 or 180:180. If you recode in HandBrake, this is one of the things that gets changed. However, using ffmpeg to re-wrap the flv into MP4 and then MP4Box to change the PAR in this file made no difference. I also demuxed the files into separate H.264 and AAC streams and remuxed, but that made no difference. Interestingly, though, the standalone H.264 video stream still shows the error when played in XBMC, so it's definitely an error in this stream (or how it interacts with VDPAU, anyway). It's nothing to do with the container ... I'd re-wrapped from flv to both mkv and mp4 containers anyway, but that proves it.
2. The TrackID numbering convention isn't the usual 1, 2, 3... MP4Box reports 201, 202... - again, though, demuxing and remuxing makes no difference (and, obviously, the demuxed H.264 stream is a single-track file anyway).
3. There *may* be some errors in the header about the applicable H.264 profile (L4.1 versus not recorded). I need to look into this further and see if it's relevant and/or follows the video to the H.264 stream.
Anyway, I'm aiming to build a new vanilla Lucid system this week (easiest way to get a window manager on boot without playing with xubuntu-desktop) and then see what VLC, Mplayer and their ilk make of the files. I have tried ffplay on the current build, and that seems to choke immediately, but that's probably more symptomatic of my compilation and the configure options!
Still digging. I want my HD iPlayer back