[gst-devel] ffmux_mov: Failed to write file header - check codec settings
Angelo Difino
angelo.difino at gmail.com
Thu Nov 8 13:28:57 CET 2007
Hi all,
i've a problem with ffmux_mov (scenario is: copy elementary streams
from inside a mov to another mov). If i demux/mux an <h263 + raw
audio> no trouble
are reached, but if it try to do the same with <h263 +mp3> a "Failed
to write file header - check codec settings" message is reached.
Are there are any known compability issue between mov and mp3?
the correct media chain is: gst-launch-0.10 --gst-debug-level=3
filesrc location=testav_h263-raw.mov ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=d
{ d.video_00 ! queue ! identity ! queue ! m.video_00 }
{ d.audio_00 ! queue ! identity ! queue ! m.audio_00 }
ffmux_mov name=m ! filesink location=finale.mov
the bad media chain: gst-launch-0.10 --gst-debug-level=3
filesrc location=testav_h263-mp3.mov ! ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=d
{ d.video_00 ! queue ! identity ! queue ! m.video_00 }
{ d.audio_00 ! queue ! identity ! queue ! m.audio_00 }
ffmux_mov name=m ! filesink location=finale.mov
the media resources can be found here:
www.mxb.it/enigmahc/gstreamer/testav_h263-mp3.mov
and here www.mxb.it/enigmahc/gstreamer/testav_h263-raw.mov
The error reached is:
0:00:02.629000000 ←[333m 1508←[00m 0194B088 ←[32;01mINFO ←[00m ←[00;01;34m
GST_EVENT :0::←[00m creating newsegment update 0, rate 1.000000, format GST
_FORMAT_TIME, start 0:00:00.000000000, stop 99:99:99.999999999, position 0:00:00
.000000000
0:00:02.630000000 ←[333m 1508←[00m 0194AFF8 ←[32;01mINFO ←[00m ←[00;04m
default :0::<m:video_0>←[00m Sending event 01900A50 (tag) to all internally
linked pads
0:00:02.659000000 ←[333m 1508←[00m 0194AFC8 ←[31;01mERROR←[00m ←[00m
ffmpeg :0::←[00m track 1: codec frame size is not set
0:00:02.671000000 ←[333m 1508←[00m 0194AFC8 ←[33;01mWARN ←[00m ←[00;04m
default :0::<m>←[00m error: Failed to write file header - check codec settin
gs
0:00:02.682000000 ←[333m 1508←[00m 0194AFC8 ←[32;01mINFO ←[00m ←[00;01;31;47m
GST_ERROR_SYSTEM :0::<m>←[00m posting message: Could not configure supporting l
ibrary.
ERROR: from element /pipeline0/m: Could not configure supporting library.
0:00:02.695000000 ←[333m 1508←[00m 0194AFC8 ←[32;01mINFO ←[00m ←[00;01;31;47m
GST_ERROR_SYSTEM :0::<m>←[00m posted error message: Could not configure support
ing library.
Additional debug info:
E:\devel-release\src_releases\gst-ffmpeg\ext\ffmpeg\gstffmpegmux.c(475): (functi
on) (): /pipeline0/m:
Failed to write file header - check codec settings
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
More information about the gstreamer-devel
mailing list