[Bug 790000] rtph264depay: doesn't update resolution if format is avc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 29 12:42:12 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790000

--- Comment #14 from Justin J. Kim <justin.joy.9to5 at gmail.com> ---
I am not sure which problem mp4mux has.
Here are my testing steps. It will be partly repetition of my first comment.

Generated two different resolution images.

$ gst-launch-1.0 videotestsrc num-buffers=10 ! video/x-raw,width=100,height=100
! jpegenc ! multifilesink location=%03d.jpg
$ gst-launch-1.0 videotestsrc num-buffers=10 ! video/x-raw,width=200,height=200
! jpegenc ! multifilesink index=10 location=%03d.jpg

Then, trying to mux them into a file.

$ gst-launch-1.0 multifilesrc location=%03d.jpg
caps="image/jpeg,framerate=(fraction)12/1" ! jpegdec ! x264enc ! rtph264pay  !
rtph264depay ! h264parse config-interval=0  !  mp4mux ! filesink
location=/tmp/01.mp4

In any case, this pipeline generates .mp4 successfully, but without the
attached patch,  the mp4 file isn't playable.

And also I tested the below pipeline.

$ $ gst-launch-1.0 multifilesrc location=%03d.jpg
caps="image/jpeg,framerate=(fraction)12/1" ! jpegdec ! x264enc ! h264parse
config-interval=0  !  mp4mux ! filesink location=/tmp/02.mp4

In this case, the mp4 is playable.

Is there wrong point in my test steps?

-- 
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