[gstreamer-bugs] [Bug 310945] New: gst-ffmpeg plugin-"ffdemux_mov_mp4_m4a_3gp" read mov files error on ARM platform
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Tue Jul 19 18:22:03 PDT 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=310945
GStreamer | gst-ffmpeg | Ver: HEAD CVS
Summary: gst-ffmpeg plugin-"ffdemux_mov_mp4_m4a_3gp" read mov
files error on ARM platform
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-ffmpeg
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: nwang at ihopen.cn
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
Dear all,
I develop gstreamer software ,use gst-ffmpeg-0.8.4 ,running on ARM platform
and find a problem.
when play mov files , for example,
gst-launch filesrc location=/mnt/nfs/dragonballv_default.mp4 ! ffdemux_mov_mp4
_m4a_3gp
will report errors that said read mov header error.
I traced in source code and find reasons:
in gst-libs/ext/ffmpeg/libavformat/utils.c function av_open_input_stream()
err = ic->iformat->read_header(ic, ap);
this line will return error.
In fact ,it calls mov_read_header.
in mov.c
function mov_read_header() first call atom.size = url_filesize(url_fileno
(pb));
url_filesize will call seek functions in ext/ffmpeg/gstffmpegprotocol.c
Although the return value is ok and return current file pointer is OK ,
Next seek, the return data are error :The return data are 32kbytes
offset from file header !
You know ,in aviobuf.c ,the buffer size is 32k bytes so I doubt it is realtive
with the
buffer operation. gst_bytestream_seek return new pos are OK ,but the data read
from file are error !
32k bytes offset !
But all of these are all OK in X86 system ,only on ARM ,decode mov format files
I found this error !
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list