All pastes #75759 Raw Edit

Something

public text v1 · immutable
#75759 ·published 2006-06-30 15:14 UTC
rendered paste body
if I mux a video like this, it does not work:
gst-launch-0.10 filesrc location=XMen3Trailer.yuv blocksize=109824 ! video/x-raw-yuv,format='(fourcc)'I420,width=352,height=208,framerate='(fraction)'15/1 ! hantro4200enc stream-type="0" ! queue ! avimux name=m ! filesink location=XMen3Trailer_s0.avi filesrc location=XMen3Trailer.mp3 ! audio/mpeg,mpegversion=1,layer=3 ! queue ! m.

INFO  (0x80519d8 - 0:00:00.288685000)              filesrc(27994) gstfilesrc.c(869):gst_file_src_start:<audiosrc> opening file XMen3Trailer.mp3
DEBUG (0x80519d8 - 0:00:00.288891000)              filesrc(27994) gstfilesrc.c(899):gst_file_src_start:<audiosrc> using mmap for file
INFO  (0x80519d8 - 0:00:00.289164000)              filesrc(27994) gstfilesrc.c(869):gst_file_src_start:<videosrc> opening file XMen3Trailer.yuv
DEBUG (0x80519d8 - 0:00:00.289310000)              filesrc(27994) gstfilesrc.c(899):gst_file_src_start:<videosrc> using mmap for file
Pipeline is PREROLLING ...
WARN  (0x8122610 - 0:00:00.355123000)            hantroenc(27994) gsthantro4200enc.c(508):gst_hantro_4200_enc_new_buffer:   preparing buffer (49) for frame 0 ...
WARN  (0x8122610 - 0:00:00.362264000)            hantroenc(27994) gsthantro4200enc.c(508):gst_hantro_4200_enc_new_buffer:   preparing buffer (794) for frame 1 ...
WARN  (0x8122610 - 0:00:00.362476000)              basesrc(27994) gstbasesrc.c(1536):gst_base_src_loop:<videosrc> error: Internal data flow error.
WARN  (0x8122610 - 0:00:00.362598000)              basesrc(27994) gstbasesrc.c(1536):gst_base_src_loop:<videosrc> error: streaming task paused, reason not-negotiated
ERROR: from element /pipeline0/videosrc: Internal data flow error.
Additional debug info:
gstbasesrc.c(1536): gst_base_src_loop (): /pipeline0/videosrc:
streaming task paused, reason not-negotiated
ERROR: pipeline doesn't want to preroll.


But if I ommit the queue for the video-part it muxes:

gst-launch-0.10 filesrc location=XMen3Trailer.yuv blocksize=109824 ! video/x-raw-yuv,format='(fourcc)'I420,width=352,height=208,framerate='(fraction)'15/1 ! hantro4200enc stream-type="0" ! avimux name=m ! filesink location=XMen3Trailer_s0.avi filesrc location=XMen3Trailer.mp3 ! audio/mpeg,mpegversion=1,layer=3 ! queue ! m.