[gstreamer-bugs] [Bug 623821] qtmux produces brocken .mov files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 8 07:43:32 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623821
  GStreamer | gst-plugins-bad | 0.10.x

--- Comment #3 from Ivan Zoli <overkill.shining at tiscali.it> 2010-07-08 14:43:27 UTC ---
Yes, sorry, maybe the previous attached file didn't has it.
Anyway I push the codec-data in caps. Before doing this neither ffmux_mov is
working. What I concern is that ffmux_mov is working great with the same
pipeline. So I can't figure out why in the same condiction qtmux didn't works.

Also I made an .avi file wit my system then I extract the
media inside of it and made two .mov, one with
qtmux and one with ffmux_mov.
This is for have the same media content and only
the containter different.

You may find the two files here:

http://ivanonline.xoom.it/RB_06280941_ff.mov

http://ivanonline.xoom.it/RB_06280941_qt.mov

You may wget them :)

The one produced with ffmux is perfect.
The file with qtmux is not playable with QuickTime
and VLC is able to play it.

I've used this pipeline to do this job:

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

gst-launch -e my_embedded_v4lsrc ! \
 my_embedded_264enc width=720 height=400 send-h264-header=1 \
   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



In attached file the input.gdp made with the pipeline
gst-launch my_embedded_v4l2src num-buffers=50 ! my_embedded_264enc
send-h264-header=1 ! gdppay ! filesink location=input.gdp

Thank you

Ivan

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list