It's a problem with caps your specifying for your required conversion.<div><br></div><div>gst_base_transform_acceptcaps:<capsfilter0><br><b><i>transform could not transform </i></b>video/x-raw-yuv, format=(fourcc)I420,<br>
width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)16/15,<br>framerate=(fraction)25/1, interlaced=(boolean)false<i><b> in </b></i><b><i>anything we<br>support</i></b></div><div><b><i><br></i></b></div><div>check what is expected and what your supplying and make sure they match.</div>
<div><br></div><div>Rohit<br><br><div class="gmail_quote">On Sun, Feb 6, 2011 at 9:10 PM, Stefano Balocco <span dir="ltr"><<a href="mailto:stefano.balocco@gmail.com">stefano.balocco@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
I have a strange error with a pipeline. I tried to run this pipeline:<br>
demuxer.current_audio ! a52dec mode=2 ! twolame bitrate=224 ! queue<br>
max-size-buffers=0 max-size-bytes=0 max-size-time=0 ! muxer.<br>
demuxer.current_video ! mpeg2dec ! ffdeinterlace ! ffvideoscale<br>
method=10 ! video/x-raw-yuv, width=352, height=576 ! mpeg2enc format=8<br>
aspect=2<br>
bitrate=2304 non-video-bitrate=224 quantisation=8<br>
motion-search-radius=32 reduction-4x4=1 reduction-2x2=1<br>
max-gop-size=15 closed-gop=true<br>
force-b-b-p=true intra-dc-prec=10 quant-matrix=1 bufsize=230<br>
interlace-mode=0 ! queue max-size-buffers=0 max-size-bytes=0<br>
max-size-time=0 ! muxer. mplex name=muxer format=8 vbr=true<br>
bufsize=230 ! filesink location=filename.mpg filesrc<br>
location=filename.vob ! dvddemux name=demuxer<br>
<br>
This pipeline end with this error:<br>
ERRORE dall'elemento /GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>
Errore interno nel flusso di dati. (that's the italian translation of<br>
internal data flow error)<br>
Informazioni di debug aggiuntive:<br>
gstbasesrc.c(2543): gst_base_src_loop ():<br>
/GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
<br>
Using GST_DEBUG="*:3" gst-launch-0.10 ...<br>
<br>
I notice a warning before the error:<br>
0:16:32.129169246 24389 0x7f7f10002090 WARN basetransform<br>
gstbasetransform.c:1054:gst_base_transform_acceptcaps:<capsfilter0><br>
transform could not transform video/x-raw-yuv, format=(fourcc)I420,<br>
width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)16/15,<br>
framerate=(fraction)25/1, interlaced=(boolean)false in anything we<br>
support<br>
0:16:32.130138551 24389 0x7f7f10002090 WARN basetransform<br>
gstbasetransform.c:1054:gst_base_transform_acceptcaps:<ffmpegscale0><br>
transform could not transform video/x-raw-yuv, format=(fourcc)I420,<br>
width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)16/15,<br>
framerate=(fraction)25/1, interlaced=(boolean)false in anything we<br>
support<br>
<br>
I tried also to change from dvddemux to ffdemux_mpeg and I received a<br>
different error:<br>
ERRORE: dall'elemento /GstPipeline:pipeline0/ffdemux_mpeg:demuxer:<br>
Internal data stream error.<br>
Informazioni di debug aggiuntive:<br>
gstffmpegdemux.c(1502): gst_ffmpegdemux_loop ():<br>
/GstPipeline:pipeline0/ffdemux_mpeg:demuxer:<br>
streaming stopped, reason not-negotiated<br>
<br>
I tried also to change the decoder from mpeg2dec to ffdec_mpeg2video<br>
but the error was the same.<br>
<br>
If I simply try to demux/mux it with a pipe like:<br>
demuxer.current_audio ! queue max-size-buffers=0 max-size-bytes=0<br>
max-size-time=0 ! muxer. demuxer.current_video ! queue<br>
max-size-buffers=0 max-size-bytes=0 max-size-time=0 ! muxer. mplex<br>
name=muxer format=8 vbr=true bufsize=230 ! filesink<br>
location=filename.mpg filesrc<br>
location=filename.vob ! dvddemux name=demuxer<br>
<br>
I receive no errors.<br>
<br>
I thought that was an error in the original file but the length of the<br>
outputs is different:<br>
1) Original file is 3609.84 sec long (but with mplayer I can see till<br>
3611.3, but is only a black screen after the end).<br>
2) The transcoded file that I obtained decoding with mpeg2dec is<br>
reported as 3605.14 sec long (but with mplayer I can see till 3608.4).<br>
3) The transcoded file that I obtained decoding with ffdec_mpeg2video<br>
is 3605.35 sec long (but with mplayer I can see till 3608.1).<br>
<br>
Regards,<br>
Stefano<br>
<br>
--<br>
Stefano Balocco<br>
<br>
------------------------------------------------------------------------------<br>
The modern datacenter depends on network connectivity to access resources<br>
and provide services. The best practices for maximizing a physical server's<br>
connectivity to a physical network are well understood - see how these<br>
rules translate into the virtual world?<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnlfb" target="_blank">http://p.sf.net/sfu/oracle-sfdevnlfb</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>