ffenc_msmpeg4v2: failed to encode buffer

padam skaromana at wp.pl
Wed May 23 23:49:27 PDT 2012


Hi, reffering to 
http://gstreamer-devel.966125.n4.nabble.com/Gnonlin-question-extract-audio-video-clip-td2305307.html#a3063249
THIS  topic i created this pipe:

gst-launch gnlfilesource name=video
caps="video/x-raw-yuv,width=320,height=240" location=file:///D:\\source.avi
start=0 duration=23000000000 media-start=1188000000
media-duration=23000000000 ! identity single-segment=true ! progressreport
update-freq=1 ! ffmpegcolorspace ! ffenc_msmpeg4v2 bitrate=350000 ! avimux
name=mux ! filesink location=D:\\destination.avi gnlfilesource name=audio
caps="audio/x-raw-int,rate=16000,channels=1" location=file:///D:\\source.avi
start=0 duration=23000000000 media-start=1188000000
media-duration=23000000000 ! identity single-segment=true ! audioconvert !
lamemp3enc bitrate=32 ! mux.

When i launch this sometimes, on the same file, i get that errors:

0:00:11.781250000  2512   00B5F320 ERROR                 ffmpeg .:0:: Error,
Inv
alid timestamp=0, last=0
0:00:11.781250000  2512   00B5F320 ERROR                 ffmpeg
gstffmpegenc.c:7
23:gst_ffmpegenc_chain_video:<ffenc_msmpeg4v20> ffenc_msmpeg4v2: failed to
encode buffer

I have read that i should add to my pipe single-segment=true, but i already
have it in my pipe, so where is the problem?

And another problem is that i would like to set new properties for
destination.avi, but gstreamer seems to ignoring all my properties... Why is
that?

thanks for help

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ffenc-msmpeg4v2-failed-to-encode-buffer-tp4652677.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list