After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703370 - eos unnormal
eos unnormal
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
1.1.1
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 703436 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-07-01 08:29 UTC by troy
Modified: 2014-10-30 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description troy 2013-07-01 08:29:23 UTC
I used gstreamer1.0 to record an mp4 file by python on ubuntu Linux.At the end of the stream ,I send an eos to the pipeline,and the bus can receive "message::eos".It worked well,and I can get the correct mp4 file.But when I upgraded to gstreamer1.1.1,the bus can not receive the eos,and the file is not correct.
Comment 1 troy 2013-07-01 08:38:39 UTC
I record the file by rtp streams(video and audio).
Comment 2 Tim-Philipp Müller 2013-07-01 09:34:48 UTC
Could you provide a gst-launch-1.0 pipeline or a program/script to reproduce the issue?
Comment 3 Tim-Philipp Müller 2013-07-02 08:18:16 UTC
*** Bug 703436 has been marked as a duplicate of this bug. ***
Comment 4 Tim-Philipp Müller 2013-07-02 08:25:23 UTC
There's some more info, and a question for you in bug #703436:

> What exactly is wrong with the resulting file when using 1.1.1?
> Are there any warnings printed on the terminal?
Comment 5 troy 2013-07-02 08:35:59 UTC
(In reply to comment #4)
> There's some more info, and a question for you in bug #703436:
> 
> > What exactly is wrong with the resulting file when using 1.1.1?
> > Are there any warnings printed on the terminal?

Thank you:
there is no warning on the terminal. the problem is that the bus can not
receive the 'message::eos',or received it but not callback my function. And the
mp4 file is not correct ,its frame rate is 7 frame/s. But in the
gstreamer1.0,it is 21 frame/s.
Comment 6 Vincent Penquerc'h 2014-07-07 13:46:18 UTC
As per Tim's comment #2:

Could you provide a gst-launch-1.0 pipeline or a program/script to reproduce
the issue?

I think you missed this comment when you replied to the later question.
Comment 7 Vincent Penquerc'h 2014-10-30 15:35:34 UTC
This yields an unplayable file:
gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! qtmux ! filesink location=test.mp4

This yields a playable file:
gst-launch-1.0 -e videotestsrc ! avenc_mpeg4 ! qtmux ! filesink location=test.mp4

So it seems the EOS is received/handled fine in that case at least, so I'm going to move the bug from critical to normal, at least pending more information.
Comment 8 Tim-Philipp Müller 2014-10-30 15:40:00 UTC
Let's just close this. Troy, please re-open if you can provide a test program that demonstrates the issue. Thanks!