[gst-devel] question about converting a 3gp file
Terry Leung
terry83 at gmail.com
Tue Sep 18 05:31:12 CEST 2007
I've tried it
The result is:
Got Message from element "demuxer" (tag): taglist,
audio-codec=(string)"AMR\ audio"
Got Message from element "demuxer" (tag): taglist, video-codec=(string)H.263
Got Message from element "demuxer" (error): GstMessageError,
gerror=(GstGError)(NULL), debug=(string)"qtdemux.c\(1462\):\
gst_qtdemux_loop\ \(\):\ /pipeline0/demuxer:\012streaming\ stopped\,\
reason\ not-linked"
ERROR: from element /pipeline0/demuxer: GStreamer encountered a
general stream error.
Additional debug info:
qtdemux.c(1462): gst_qtdemux_loop (): /pipeline0/demuxer:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
It seems that they doesnt link together in the pipeline?
On 9/18/07, Stefan Kost <ensonic at hora-obscura.de> wrote:
> Terry,
>
> please try my examples. There is no need for two filesrc elements. The %02d was
> wrong in your example.
>
> Stefan
>
>
> Terry Leung wrote:
> > Hi,
> >
> > I have successfully make a pipeline to support this
> >
> > gst-launch -m ffmux_3gp name=mux ! filesink
> > location=/home/video/jill3.3gp {filesrc location=/home/video/jill.3gp
> > ! qtdemux name=demuxer ! ffdec_h263 ! ffenc_h263 bitrate=45000
> > rtp-payload-size=500 gop-size=3 me-method=4 ! queue }! mux.video_0
> > {filesrc location=/home/video/jill.3gp ! qtdemux name=demuxer2 !
> > queue }! mux.audio_0
> >
> > however, as I did use the filesrc two times, I am not sure if the
> > video and the audio are synchronize with each other. If I try to use
> > the same filesrc and demux, it doesnt work.
> > anyone got any idea on how to do that?
> >
> > On 9/16/07, Stefan Kost <ensonic at hora-obscura.de> wrote:
> >> Hi,
> >>
> >> the pipeline mostly looks good. Can you try "demuxer.audio_%d" instead of
> >> "demuxer.audio_%02d". Could you maybe also try this variant:
> >>
> >> gst-launch -m filesrc location=/jill.3gp ! qtdemux name=demuxer \
> >> ffmux_3gp name=mux ! filesink location=/jill3.3gp \
> >> demuxer.video_%d ! ffdec_h263 ! ffenc_h263 bitrate=50000 rtp-payload-size=500
> >> gop-size=3 me-method=4 ! mux.video_%d \
> >> demuxer.audio_%d ! mux.audio_%d
> >>
> >> If none works please file a bug?
> >>
> >> Stefan
> >>
> >> Terry Leung wrote:
> >>> Hi all,
> >>>
> >>> I am going to write a program to convert a 3gp file into a suitable
> >>> format(eg lower bitrate). I try to test the pipeline by using
> >>> gst-launch
> >>>
> >>> The pipeline I use here(The file is econded in h263 and amrnb):
> >>>
> >>> gst-launch -m filesrc location=/jill.3gp ! qtdemux name=demuxer !
> >>> ffdec_h263 ! ffenc_h263 bitrate=50000 rtp-payload-size=500 gop-size=3
> >>> me-method=4 ! ffmux_3gp name=mux ! filesink location=/jill3.3gp
> >>> demuxer.audio_%02d ! mux.audio_%d
> >>>
> >>> However, the converted file doesnt contain the sound(The video part
> >>> plays smoothly on quicktime)
> >>>
> >>> Any one got any idea on how to configure the pipeline in order to
> >>> obtain the correct result?
> >>>
> >>> -------------------------------------------------------------------------
> >>> This SF.net email is sponsored by: Microsoft
> >>> Defy all challenges. Microsoft(R) Visual Studio 2005.
> >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >>> _______________________________________________
> >>> gstreamer-devel mailing list
> >>> gstreamer-devel at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
More information about the gstreamer-devel
mailing list