Using mp4mux with faststart option produces empty file
stic at free.fr
stic at free.fr
Tue Jan 6 15:02:21 PST 2015
no, I am not sending yet EOS because this is a live content... I expected to get data into the output sink while the pipeline is running...
I need this because I would like to be able to play the video while the pipeline is still running ?
Is it possible ?
----- Mail original -----
De: "Thiago Santos" <thiagoss at osg.samsung.com>
À: gstreamer-devel at lists.freedesktop.org
Envoyé: Mardi 6 Janvier 2015 22:35:46
Objet: Re: Using mp4mux with faststart option produces empty file
On 01/06/2015 07:21 PM, stic at free.fr wrote:
> Hi,
> I am trying to use mp4mux with faststart option. But I've never been able to use this option.
> It gives me an empty output file when faststart=true.
>
> Here is an example of my pipeline:
> appsrc is-live=true do-timestamp=true ! video/x-h264,framerate=30/1,width=1280,height=800 ! queue ! h264parse ! mp4mux faststart-file=/data/local/tmp/faststart_file fragment-duration=200 faststart=true ! filesink location=/data/local/tmp/test.mp4
>
> I tried to specify the faststart-file and I have seen that the size of the faststart file always increases with the time... and the size of the target output file is still 0.
> I also tried to specify fragment-duration but it doesn't change anything.
> This is on gstreamer 1.4.5 Android release (but same on earlier releases too), would it be possible that there might be something wrong with mp4mux running on Android ?
>
> Does someone have any idea why this doesn't work ?
For faststart files, mp4mux will only generate the output when it gets
the EOS. Are you pushing EOS on your appsrc and waiting for the EOS
message on the bus before setting the pipeline to NULL?
> Thanks.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list