[gst-devel] mov unfinished

Overkill overkill.shining at tiscali.it
Mon Jul 5 13:06:22 CEST 2010


> What pipeline is used?

-------------------------------------------------
To record the .avi file

gst-launch -v my_embedded_v4lsrc ! \
  my_embedded_264enc width=720 height=400 \
    name=video \
  alsasrc ! \
  audio/x-raw-int,rate=16000,channels=2,width=16,depth=16,signed=true ! \
  queue name=audio \
  avimux name=mux ! \
  filesink location=test.avi \
  video.src ! mux.video_0 \
  audio.src ! mux.audio_0

-------------------------------------------------
To made the mov with ffmux_mov,
i made an avi_to_ff.sh
Call avi_to_ff.sh <avifile>

#!/bin/sh

of=`ls "$1" | sed s/.avi/_ff.mov/`

echo "playing $1"
echo "Making $of"

gst-launch -v filesrc blocksize=131250 location=$1 \
  ! avidemux name=dmx \
  ffmux_mov name=mux ! filesink location="$of" \
  dmx.video_00 ! queue ! mux.video_0 \
  dmx.audio_00 ! queue ! mux.audio_0


-------------------------------------------------
To made the mov with qtmux,
i made an avi_to_qt.sh
Call avi_to_qt.sh <avifile>

#!/bin/sh

of=`ls "$1" | sed s/.avi/_qt.mov/`

echo "playing $1"
echo "Making $of"

gst-launch -v filesrc blocksize=131250 location=$1 \
  ! avidemux name=dmx \
  qtmux name=mux ! filesink location="$of" \
  dmx.video_00 ! queue ! mux.video_00 \
  dmx.audio_00 ! queue ! mux.audio_00


I'm using an embedded hardware, that's why I use my_embedded v4lsrc and 264enc.
The simulation with PC using videotestsrc and x264enc is working fine.
So I suppose some (missed?) information out of my encoder that ffmux_mov can
rebuild while qtmov not. But it's only my humble opinion....

Thanks a lot

***** By The Overkill !!! *****




More information about the gstreamer-devel mailing list