[Bug 765456] Strange bug re-encoding video with GST 1.8.1 on Mac OS 10.10
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Apr 23 11:17:23 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765456
--- Comment #3 from Andy Robinson <andy at seventhstring.com> ---
These two both work fine:
gst-launch-1.0 videotestsrc num-buffers=600 ! x264enc bitrate=1280 ! mp4mux !
filesink location=out2.mp4
gst-launch-1.0 videotestsrc num-buffers=600 ! x264enc bitrate=1280 !
video/x-h264,profile=main ! mp4mux ! filesink location=out2.mp4
This fails as before on the 2nd copy:
gst-launch-1.0 filesrc location=Bear.wmv ! decodebin ! videoconvert ! x264enc
bitrate=1280 ! video/x-h264,profile=main ! mp4mux ! filesink location=out1.mp4
gst-launch-1.0 filesrc location=out1.mp4 ! decodebin ! videoconvert ! x264enc
bitrate=1280 ! video/x-h264,profile=main ! mp4mux ! filesink location=out2.mp4
To my surprise this works, using videotestsrc instead of a video file, both
copies are good:
gst-launch-1.0 videotestsrc num-buffers=600 ! x264enc bitrate=1280 ! mp4mux !
filesink location=out1.mp4
gst-launch-1.0 filesrc location=out1.mp4 ! decodebin ! videoconvert ! x264enc
bitrate=1280 ! mp4mux ! filesink location=out2.mp4
This crashes on the 2nd command:
gst-launch-1.0 filesrc location=Bear.wmv ! decodebin ! videoconvert ! x264enc
bitrate=1280 ! mp4mux ! filesink location=out1.mp4
gst-launch-1.0 filesrc location=out1.mp4 ! decodebin ! fakesink
Here is the output from the 2nd command:
gst-launch-1.0 filesrc location=out1.mp4 ! decodebin ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Got context from element 'vtdechw0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Caught SIGSEGV
exec gdb failed: No such file or directory
Spinning. Please run 'gdb gst-launch-1.0 1895' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
And here is that second command again, with debug log:
Andys-MacBook-Pro:Temp1 andy$ export GST_DEBUG=3,vtdec:6
Andys-MacBook-Pro:Temp1 andy$ gst-launch-1.0 filesrc location=out1.mp4 !
decodebin ! fakesink
Setting pipeline to PAUSED ...
0:00:00.021891000 1909 0x7fe9badb1890 WARN basesrc
gstbasesrc.c:3486:void gst_base_src_start_complete(GstBaseSrc *,
GstFlowReturn):<filesrc0> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.028758000 1909 0x7fe9bd005d40 WARN qtdemux
qtdemux.c:2642:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults
for stream 1
0:00:00.028914000 1909 0x7fe9bd005d40 WARN basesrc
gstbasesrc.c:2396:gboolean gst_base_src_update_length(GstBaseSrc *, guint64,
guint *, gboolean):<filesrc0> processing at or past EOS
0:00:00.034947000 1909 0x7fe9bc00c8a0 DEBUG vtdec
vtdec.c:179:gst_vtdec_start:<vtdechw0> start
0:00:00.034971000 1909 0x7fe9bc00c8a0 FIXME videodecoder
gstvideodecoder.c:1057:GstFlowReturn
gst_video_decoder_drain_out(GstVideoDecoder *, gboolean):<vtdechw0> Sub-class
should implement drain()
0:00:00.035147000 1909 0x7fe9bc00c8a0 DEBUG vtdec
vtdec.c:318:gst_vtdec_set_format:<vtdechw0> set_format
0:00:00.035168000 1909 0x7fe9bc00c8a0 INFO vtdec
vtdec.c:941:compute_h264_decode_picture_buffer_length:<vtdechw0> parsed profile
100, level 30
0:00:00.035186000 1909 0x7fe9bc00c8a0 INFO vtdec
vtdec.c:977:gst_vtdec_set_latency:<vtdechw0> setting latency frames:6
time:0:00:00.200199996
0:00:00.035286000 1909 0x7fe9bc00c8a0 INFO vtdec
vtdec.c:271:gst_vtdec_negotiate:<vtdechw0> negotiated output format
video/x-raw(memory:GLMemory), format=(string)NV12, width=(int)720,
height=(int)480, interlace-mode=(string)progressive,
pixel-aspect-ratio=(fraction)8/9, chroma-site=(string)jpeg,
colorimetry=(string)bt601, framerate=(fraction)30000/1001,
texture-target=(string)rectangle
Redistribute latency...
0:00:00.056271000 1909 0x7fe9bc00c8a0 INFO vtdec
vtdec.c:987:gst_vtdec_set_context:<vtdechw0> setting context gst.gl.GLDisplay
Got context from element 'vtdechw0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
0:00:00.066304000 1909 0x7fe9bc00c8a0 INFO vtdec
vtdec.c:289:gst_vtdec_negotiate:<vtdechw0> pushing textures, context
0x7fe9bb8139d0 old context 0x0
0:00:00.066570000 1909 0x7fe9bc00c8a0 FIXME videodecoder
gstvideodecoder.c:1057:GstFlowReturn
gst_video_decoder_drain_out(GstVideoDecoder *, gboolean):<vtdechw0> Sub-class
should implement drain()
0:00:00.067007000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 0
0:00:00.067859000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 0
0:00:00.067935000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 1
0:00:00.068243000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 1
0:00:00.068288000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 2
0:00:00.068552000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 2
0:00:00.068597000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 3
0:00:00.068803000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bf004d70 0 and VT buffer 0x7fe9bac80bb0
0:00:00.069107000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 3
0:00:00.069149000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 4
0:00:00.069441000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bb07a660 1 and VT buffer 0x7fe9bac90280
0:00:00.069473000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 4
0:00:00.069541000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 5
0:00:00.069881000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bf004e80 2 and VT buffer 0x7fe9bac908b0
0:00:00.069919000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 5
0:00:00.069981000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 6
0:00:00.070343000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bf004c60 3 and VT buffer 0x7fe9bc832df0
0:00:00.070379000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 6
0:00:00.070467000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 7
0:00:00.070695000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bb07a990 4 and VT buffer 0x7fe9bae31ff0
0:00:00.070923000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 7
0:00:00.071001000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 8
0:00:00.071445000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bb07add0 5 and VT buffer 0x7fe9bca07b80
0:00:00.071486000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:423:gst_vtdec_handle_frame:<vtdechw0> submitted input frame 8
0:00:00.071644000 1909 0x7fe9bc00c8a0 LOG vtdec
vtdec.c:402:gst_vtdec_handle_frame:<vtdechw0> got input frame 9
0:00:00.071826000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bf0081a0 6 and VT buffer 0x7fe9bc9015f0
0:00:00.072318000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bf0084d0 7 and VT buffer 0x7fe9bc832bf0
0:00:00.072684000 1909 0x7fe9badde040 LOG vtdec
vtdec.c:731:gst_vtdec_session_output_callback:<vtdechw0> got output frame
0x7fe9bb07abb0 8 and VT buffer 0x7fe9bae33c20
(gst-launch-1.0:1909): GStreamer-CRITICAL **: gst_debug_log_valist: assertion
'category != NULL' failed
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.103659000 1909 0x7fe9bc00c8a0 INFO vtdec
vtdec.c:289:gst_vtdec_negotiate:<vtdechw0> pushing textures, context
0x7fe9bb8139d0 old context 0x7fe9bb8139d0
Caught SIGSEGV
exec gdb failed: No such file or directory
Spinning. Please run 'gdb gst-launch-1.0 1909' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
--
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