tsdemux and avdec_h264 not connectable
Rapsey
rapsey at gmail.com
Fri Oct 5 06:37:59 PDT 2012
Source file: https://www.emitapp.com/romantica.ts
Working 0.10 pipeline:
gst-launch-0.10 --gst-debug-level=2 flvmux name=mflv1 ! filesink
location="high.flv" \
filesrc location="romantica.ts" ! tsdemux name=d \
d. ! queue ! mad ! queue ! audioconvert ! ffenc_aac bitrate=128000 ! queue
! mflv1. \
d. ! queue ! ffdec_h264 ! queue ! videoscale ! video/x-raw-yuv, width=640,
height=360 ! x264enc byte-stream=true bitrate=1024 speed-preset=superfast
! queue ! mflv1.
Should be equivalent but not working 1.0 pipeline:
gst-launch-1.0 --gst-debug-level=2 flvmux name=mflv1 ! filesink
location="high.flv" \
filesrc location="romantica.ts1" ! tsdemux name=d \
d. ! queue ! mad ! queue ! audioconvert ! avenc_aac bitrate=128000 ! queue
! mflv1. \
d. ! queue ! h264parse ! avdec_h264 ! queue ! videoscale !
video/x-raw,format=YV12, width=640, height=360 ! x264enc byte-stream=true
bitrate=1024 speed-preset=superfast ! queue ! mflv1.
The error is:
** (gst-launch-1.0:25804): CRITICAL **: gst_video_decoder_set_latency:
assertion `GST_CLOCK_TIME_IS_VALID (min_latency)' failed
Sergej
On Fri, Oct 5, 2012 at 2:25 PM, Edward Hervey <bilboed at gmail.com> wrote:
> On Fri, 2012-10-05 at 06:57 +0200, Rapsey wrote:
> >
> > On Thu, Oct 4, 2012 at 10:55 PM, Tim-Philipp Müller <t.i.m at zen.co.uk>
> > wrote:
> > On Thu, 2012-10-04 at 22:31 +0200, Felipe Contreras wrote:
> >
> > > > Because as I understand it he's using 1.0.
> > >
> > > I didn't see any mention of that. Is avdec_h264 only 1.0?
> >
> >
> > Yes. (Not directly related to whether ffmpeg or libav are used
> > under the
> > hood).
> >
> >
> >
> > Yes I was talking about 1.0. I went back to 0.10 though, because I
> > could not get anything but the most trivial graphs to work on 1.0.
> > Everything fails on some strange reason.
>
> If you give us more details, we could maybe help.
> The pipeline you described work fine here.
>
> Edward
>
> >
> >
> >
> >
> > Sergej
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121005/58797d99/attachment-0001.html>
More information about the gstreamer-devel
mailing list