rtsp / h264 / mp4mux

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

rtsp / h264 / mp4mux

florian iragne-2
hi,

i'm trying to dump the rtsp stream from an Axis Q1755 camera into an mp4
file, using gstreamer.

here is the pipeline i use for testing purposes :
gst-launch rtspsrc
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF"
latency=100 ! rtph264depay ! ffdec_h264 ! xvimagesink

it works perfectly.

Now, if i want to dump the stream, i use :
gst-launch -e rtspsrc
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF"
latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink
location=./test.mp4

And it doesn't work

Here are some debug messages that you may find relevant :
0:00:01.138615711 25335  0x894d850 WARN                 qtmux
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0
refused caps video/x-h264

0:00:01.138819402 25335  0x894d850 WARN                 qtmux
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0
refused caps video/x-h264

0:00:01.168744570 25335  0x88cfe18 INFO               basesrc
gstbasesrc.c:2282:gst_base_src_loop:<udpsrc1> pausing after
gst_pad_push() = not-negotiated

0:00:01.168818368 25335  0x88cfe18 WARN               basesrc
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: Erreur interne de
flux de données.

0:00:01.168840388 25335  0x88cfe18 WARN               basesrc
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: streaming task
paused, reason not-negotiated (-4)

0:00:01.168892191 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM
gstelement.c:1677:gst_element_message_full:<udpsrc1> posting message:
Erreur interne de flux de données.

0:00:01.168949578 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM
gstelement.c:1700:gst_element_message_full:<udpsrc1> posted error
message: Erreur interne de flux de données.


Does anybody have an idea about the problem? I've tried many options and
ways to do this, without any success (i've also tried ffmux_mp4)

i use gstreamer 0.10.23 from debian (testing)

thanks for any help

Florian

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtsp / h264 / mp4mux

Thiago Sousa Santos-2


On Thu, Jun 4, 2009 at 6:19 AM, florian iragne <[hidden email]> wrote:
hi,

i'm trying to dump the rtsp stream from an Axis Q1755 camera into an mp4
file, using gstreamer.

here is the pipeline i use for testing purposes :
gst-launch rtspsrc
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF"
latency=100 ! rtph264depay ! ffdec_h264 ! xvimagesink

it works perfectly.

Now, if i want to dump the stream, i use :
gst-launch -e rtspsrc
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF"
latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink
location=./test.mp4

Re-run with -v and give us the output, so we can see the caps of each pad/element.
 

And it doesn't work

Here are some debug messages that you may find relevant :
0:00:01.138615711 25335  0x894d850 WARN                 qtmux
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0
refused caps video/x-h264

0:00:01.138819402 25335  0x894d850 WARN                 qtmux
gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0
refused caps video/x-h264

0:00:01.168744570 25335  0x88cfe18 INFO               basesrc
gstbasesrc.c:2282:gst_base_src_loop:<udpsrc1> pausing after
gst_pad_push() = not-negotiated

0:00:01.168818368 25335  0x88cfe18 WARN               basesrc
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: Erreur interne de
flux de données.

0:00:01.168840388 25335  0x88cfe18 WARN               basesrc
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: streaming task
paused, reason not-negotiated (-4)

0:00:01.168892191 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM
gstelement.c:1677:gst_element_message_full:<udpsrc1> posting message:
Erreur interne de flux de données.

0:00:01.168949578 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM
gstelement.c:1700:gst_element_message_full:<udpsrc1> posted error
message: Erreur interne de flux de données.


Does anybody have an idea about the problem? I've tried many options and
ways to do this, without any success (i've also tried ffmux_mp4)

i use gstreamer 0.10.23 from debian (testing)

thanks for any help

Florian

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtsp / h264 / mp4mux

florian iragne-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

here it is :

gst-launch -e -v rtspsrc
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF"
latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink
location=./test.mp4

(gst-launch-0.10:8544): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgsthttpheaders.so':
/usr/lib/gstreamer-0.10/libgsthttpheaders.so: undefined symbol:
gst_pad__set_caps
Définition du pipeline à PAUSED...


/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency =
100

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout =
5000000

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc4: timeout =
5000000

Le pipeline est actif et n'a pas besoin de phase PREROLL...


Passage du pipeline à la phase PLAYING...


/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc0:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 0, offset_end: -1, flags: 0) 0x9a3e6a0"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc0:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 1, offset_end: -1, flags: 0) 0x9a3e6f0"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession1:
ntp-ns-base = 3453459185310283000

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 0, offset_end: -1, flags: 0) 0x9a5b940"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0:
ntp-ns-base = 3453459185310283000

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 1, offset_end: -1, flags: 0) 0x9a5b990"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 2, offset_end: -1, flags: 0) 0x9a5b9e0"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 3, offset_end: -1, flags: 0) 0x9a5ba30"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 3, offset_end: -1, flags: 0) 0x9a5ba30"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 3, offset_end: -1, flags: 0) 0x9a5ba30"
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstFakeSrc:fakesrc1:
last-message = "get      ******* > (  200 bytes, timestamp: none,
duration: none, offset: 4, offset_end: -1, flags: 0) 0x9a5ba80"
New clock: GstSystemClock


/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc4: timeout = 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)16000, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)1, profile-level-id=(string)15,
mode=(string)AAC-hbr, config=(string)1408, sizelength=(string)13,
indexlength=(string)3, indexdeltalength=(string)3, profile=(string)1,
bitrate=(string)32000, clock-base=(guint)1205808880,
seqnum-base=(guint)36848, npt-start=(guint64)0, play-speed=(double)1,
play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_2517207300_97.GstProxyPad:proxypad7:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)16000, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)1, profile-level-id=(string)15,
mode=(string)AAC-hbr, config=(string)1408, sizelength=(string)13,
indexlength=(string)3, indexdeltalength=(string)3, profile=(string)1,
bitrate=(string)32000, clock-base=(guint)1205808880,
seqnum-base=(guint)36848, npt-start=(guint64)0, play-speed=(double)1,
play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)16000, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)1, profile-level-id=(string)15,
mode=(string)AAC-hbr, config=(string)1408, sizelength=(string)13,
indexlength=(string)3, indexdeltalength=(string)3, profile=(string)1,
bitrate=(string)32000, clock-base=(guint)1205808880,
seqnum-base=(guint)36848, npt-start=(guint64)0, play-speed=(double)1,
play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)16000, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)1, profile-level-id=(string)15,
mode=(string)AAC-hbr, config=(string)1408, sizelength=(string)13,
indexlength=(string)3, indexdeltalength=(string)3, profile=(string)1,
bitrate=(string)32000, clock-base=(guint)1205808880,
seqnum-base=(guint)36848, npt-start=(guint64)0, play-speed=(double)1,
play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_1_2517207300_97.GstProxyPad:proxypad6:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)16000, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)1, profile-level-id=(string)15,
mode=(string)AAC-hbr, config=(string)1408, sizelength=(string)13,
indexlength=(string)3, indexdeltalength=(string)3, profile=(string)1,
bitrate=(string)32000, clock-base=(guint)1205808880,
seqnum-base=(guint)36848, npt-start=(guint64)0, play-speed=(double)1,
play-scale=(double)1
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps =
video/x-h264
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps =
application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)420029,
sprop-parameter-sets=(string)\"Z0IAKeKQWJ2AtwEBAeHiRFQ\\=\\,aM48gA\\=\\=\",
clock-base=(guint)518055721, seqnum-base=(guint)22600,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)420029,
sprop-parameter-sets=(string)\"Z0IAKeKQWJ2AtwEBAeHiRFQ\\=\\,aM48gA\\=\\=\",
clock-base=(guint)518055721, seqnum-base=(guint)22600,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2752983826_96.GstProxyPad:proxypad9:
caps = application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)420029,
sprop-parameter-sets=(string)\"Z0IAKeKQWJ2AtwEBAeHiRFQ\\=\\,aM48gA\\=\\=\",
clock-base=(guint)518055721, seqnum-base=(guint)22600,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)420029,
sprop-parameter-sets=(string)\"Z0IAKeKQWJ2AtwEBAeHiRFQ\\=\\,aM48gA\\=\\=\",
clock-base=(guint)518055721, seqnum-base=(guint)22600,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)420029,
sprop-parameter-sets=(string)\"Z0IAKeKQWJ2AtwEBAeHiRFQ\\=\\,aM48gA\\=\\=\",
clock-base=(guint)518055721, seqnum-base=(guint)22600,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2752983826_96.GstProxyPad:proxypad8:
caps = application/x-rtp, media=(string)video, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)420029,
sprop-parameter-sets=(string)\"Z0IAKeKQWJ2AtwEBAeHiRFQ\\=\\,aM48gA\\=\\=\",
clock-base=(guint)518055721, seqnum-base=(guint)22600,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
ERREUR : de l'élément
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1 : Erreur
interne de flux de données.
Information de débogage supplémentaire :
gstbasesrc.c(2334): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
streaming task paused, reason not-negotiated (-4)
Execution ended after 149100615 ns.
Définition du pipeline à PAUSED...
Définition du pipeline à READY (prêt)...
/GstPipeline:pipeline0/GstMP4Mux:mp4mux0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps =
NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2752983826_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux1.GstPad:src_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_1_2517207300_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_97:
caps = NULL
Définition du pipeline à NULL...
Freeing pipeline ...


Thanks!

Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkotHPAACgkQO8DE9K7b371GNwCgrRyn1u99ABrohOiYP2fRCIEq
nUsAniMsqUB9zyn5nStCZ9V1fz1hbP1M
=vQE0
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtsp / h264 / mp4mux

Mark Nauwelaerts-2
In reply to this post by Thiago Sousa Santos-2
thiagoss wrote:

>
>
> On Thu, Jun 4, 2009 at 6:19 AM, florian iragne
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     hi,
>
>     i'm trying to dump the rtsp stream from an Axis Q1755 camera into an mp4
>     file, using gstreamer.
>
>     here is the pipeline i use for testing purposes :
>     gst-launch rtspsrc
>     location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF
>     <http://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF>"
>     latency=100 ! rtph264depay ! ffdec_h264 ! xvimagesink
>
>     it works perfectly.
>
>     Now, if i want to dump the stream, i use :
>     gst-launch -e rtspsrc
>     location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF
>     <http://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=QCIF>"
>     latency=100 ! rtph264depay ! mp4mux faststart=true ! filesink
>     location=./test.mp4
>
>
> Re-run with -v and give us the output, so we can see the caps of each
> pad/element.
>  

The caps that are being used are actually in the (warning) messages below,
and it shows the caps in question do not have much to show for themselves.
In particular, width and height are missing, which qtmux (and so would probably
others) does not appreciate.  It would also at least be necessary to run
rtph264depay byte-stream=FALSE, since bytestream format is not meant to go into
mp4 container.

>     And it doesn't work
>
>     Here are some debug messages that you may find relevant :
>     0:00:01.138615711 25335  0x894d850 WARN                 qtmux
>     gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0
>     refused caps video/x-h264
>
>     0:00:01.138819402 25335  0x894d850 WARN                 qtmux
>     gstqtmux.c:1583:gst_qt_mux_video_sink_set_caps:<mp4mux0> pad pad0
>     refused caps video/x-h264
>
>     0:00:01.168744570 25335  0x88cfe18 INFO               basesrc
>     gstbasesrc.c:2282:gst_base_src_loop:<udpsrc1> pausing after
>     gst_pad_push() = not-negotiated
>
>     0:00:01.168818368 25335  0x88cfe18 WARN               basesrc
>     gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: Erreur interne de
>     flux de données.
>
>     0:00:01.168840388 25335  0x88cfe18 WARN               basesrc
>     gstbasesrc.c:2334:gst_base_src_loop:<udpsrc1> error: streaming task
>     paused, reason not-negotiated (-4)
>
>     0:00:01.168892191 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM
>     gstelement.c:1677:gst_element_message_full:<udpsrc1> posting message:
>     Erreur interne de flux de données.
>
>     0:00:01.168949578 25335  0x88cfe18 INFO      GST_ERROR_SYSTEM
>     gstelement.c:1700:gst_element_message_full:<udpsrc1> posted error
>     message: Erreur interne de flux de données.
>
>
>     Does anybody have an idea about the problem? I've tried many options and
>     ways to do this, without any success (i've also tried ffmux_mp4)
>
>     i use gstreamer 0.10.23 from debian (testing)
>
>     thanks for any help
>
>     Florian
>
>     ------------------------------------------------------------------------------
>     OpenSolaris 2009.06 is a cutting edge operating system for enterprises
>     looking to deploy the next generation of Solaris that includes the
>     latest
>     innovations from Sun and the OpenSource community. Download a copy and
>     enjoy capabilities such as Networking, Storage and Virtualization.
>     Go to: http://p.sf.net/sfu/opensolaris-get
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
> --
> Thiago Sousa Santos
>
> Embedded Systems and Pervasive Computing Lab (Embedded)
> Center of Electrical Engineering and Informatics (CEEI)
> Federal University of Campina Grande (UFCG)
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtsp / h264 / mp4mux

florian iragne-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Mark Nauwelaerts a écrit :
> In particular, width and height are missing, which qtmux (and so would probably
> others) does not appreciate.  It would also at least be necessary to run
> rtph264depay byte-stream=FALSE, since bytestream format is not meant to go into
> mp4 container.

thanks to your advices, i've modified my pipeline :
gst-launch -e rtspsrc
location="rtsp://192.168.10.240/axis-media/media.amp?videocodec=h264&resolution=1920x1080&duration=30&compression=10"
latency=100 ! rtph264depay byte-stream=false ! capsfilter
caps="video/x-h264,width=1920,height=1080,framerate=(fraction)25/1" !
ffmux_mp4 ! filesink location=/var/www/test/test.mp4

It works, but ffmux_mp4 gives an mp4 not compatible with faststart

With mp4mux, it fails with the error :
"failed to determine time to mux"

I think it's related to the format of the source stream, but not sure
yet. I'm searching this way.

thanks for your help

Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkouC8oACgkQO8DE9K7b373f2ACfZfCUcibLv731W8SVZBMXSFxe
39wAoJOZ6zs73rRK3Q/Zi/rhaGb2DkKT
=FOaE
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: rtsp / h264 / mp4mux

Chris
Florian,

I know it's years later, but did you ever get the axis rtsp to mp4mux working, and if so, what was the fix.

Thanks