errors with separate threads using mp4mux

somnyrds tom.morrison at smith-nephew.com
Fri Oct 12 14:03:57 PDT 2012


Hi,

I am new to this list, and I tried to look through all of the postings to
see if there
was anything common (I did find a few things), but I am still unsuccessful.

I am using gstreamer 0.10.3x (some have different version - but should be up
to date)

A) I  am successful with creating a playble .mp4 file with the following
line:

      gst-launch -vvv mfw_v4lsrc capture-width=1280 capture-height=720
capture-mode=4 ! \
                      vpuenc codec=6 bitrate=10K ! h264parse ! mp4mux !  \
                      filesink location=a.mp4 > both.txt   both.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/n4656568/both.txt>  

B) But, when I break apart into two threads:

   1)  gst-launch -vvv mfw_v4lsrc capture-width=1280 capture-height=720
capture-mode=4 ! \
                        vpuenc codec=6 bitrate=10K ! \
                        tcpserversink host=127.0.0.1 port=5000 > server.txt 
server.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/n4656568/server.txt>  

   2) gst-launch -vvv tcpclientsrc host=127.0.0.1 port=5000 ! h264parse !
mp4mux ! \
                      filesink location=a.mp4 > client.txt  client.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/n4656568/client.txt>  
        
As you see it looks mp4mux is having an issue.

I gathered from some threads that I might try to put caps filter between
h264parse and mp4mux.

such as the following client line: 

   i: gst-launch -vvv tcpclientsrc host=127.0.0.1 port=6666 ! h264parse ! \
             "video/x-h264, width=(int)1280, height=(int)720,
framerate=(fraction)30/1, framed=(boolean)true,  \
              parsed=(boolean)true, stream-format=(string)avc,
alignment=(string)au" ! \
              mp4mux ! filesink location=a.mp4 > capsFilter.txt 
capsFilter.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/n4656568/capsFilter.txt>  

Any ideas?

tom




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/errors-with-separate-threads-using-mp4mux-tp4656568.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list