# GST_DEBUG=h264parse:5 gst-launch filesrc location=test.264 ! h264parse ! mp4mux ! filesink location=test.mp4
Setting pipeline to PAUSED ...
0:00:00.025413880  8949      0x1d58080 DEBUG              h264parse gsth264parse.c:206:gst_h264_parse_start: Start
Pipeline is PREROLLING ...
0:00:00.025713118  8949      0x1f7d0f0 DEBUG              h264parse gsth264parse.c:263:gst_h264_parse_negotiate:<h264parse0> allowed caps: video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:00.025760884  8949      0x1f7d0f0 DEBUG              h264parse gsth264parse.c:301:gst_h264_parse_negotiate:<h264parse0> selected format avc, alignment au
0:00:00.025772576  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:474:gst_h264_parse_check_valid_frame:<h264parse0> last_nal_pos: 0, last_scan_pos 0
0:00:00.025788290  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:493:gst_h264_parse_check_valid_frame:<h264parse0> found sc at offset 0
0:00:00.025799668  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:505:gst_h264_parse_check_valid_frame:<h264parse0> no next sc
0:00:00.025811372  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:474:gst_h264_parse_check_valid_frame:<h264parse0> last_nal_pos: 4, last_scan_pos 509
0:00:00.025823410  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:505:gst_h264_parse_check_valid_frame:<h264parse0> no next sc
0:00:00.025834154  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:474:gst_h264_parse_check_valid_frame:<h264parse0> last_nal_pos: 4, last_scan_pos 1533
0:00:00.025845890  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:505:gst_h264_parse_check_valid_frame:<h264parse0> no next sc
0:00:00.025856396  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:474:gst_h264_parse_check_valid_frame:<h264parse0> last_nal_pos: 4, last_scan_pos 2557
0:00:00.025868078  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:505:gst_h264_parse_check_valid_frame:<h264parse0> no next sc
0:00:00.025878466  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:474:gst_h264_parse_check_valid_frame:<h264parse0> last_nal_pos: 4, last_scan_pos 3581
0:00:00.025890250  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:505:gst_h264_parse_check_valid_frame:<h264parse0> no next sc
0:00:00.025900654  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:474:gst_h264_parse_check_valid_frame:<h264parse0> last_nal_pos: 4, last_scan_pos 4605
0:00:00.025910602  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:518:gst_h264_parse_check_valid_frame:<h264parse0> found next sc at offset 4622
0:00:00.025920136  8949      0x1f7d0f0 LOG                h264parse h264parse.c:823:gst_h264_params_parse_nal:<h264parse0> NAL type: 1, ref_idc: 2
0:00:00.025933426  8949      0x1f7d0f0 LOG                h264parse h264parse.c:780:gst_h264_params_decode_slice_header:<h264parse0> slice header references pps id 0
0:00:00.025944052  8949      0x1f7d0f0 WARN               h264parse h264parse.c:221:gst_h264_params_get_pps:<h264parse0> invalid pps not selected
0:00:00.025953044  8949      0x1f7d0f0 LOG                h264parse h264parse.c:844:gst_h264_params_parse_nal:<h264parse0> first MB: 0, slice type: 5
0:00:00.025962605  8949      0x1f7d0f0 LOG                h264parse h264parse.c:852:gst_h264_params_parse_nal:<h264parse0> we have a P slice
0:00:00.025971749  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:389:gst_h264_parse_process_nal:<h264parse0> collecting NAL in AVC frame
0:00:00.025987676  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:410:gst_h264_parse_collect_nal:<h264parse0> nal type: 1
0:00:00.025998104  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:423:gst_h264_parse_collect_nal:<h264parse0> next nal type: 7
0:00:00.026007284  8949      0x1f7d0f0 LOG                h264parse gsth264parse.c:430:gst_h264_parse_collect_nal:<h264parse0> au complete: 1
0:00:00.026051690  8949      0x1f7d0f0 DEBUG              h264parse gsth264parse.c:652:gst_h264_parse_update_src_caps:<h264parse0> sps: (nil)
0:00:00.026571872  8949      0x1f7d0f0 DEBUG              h264parse gsth264parse.c:594:gst_h264_parse_make_codec_data:<h264parse0> constructing codec_data: num_sps=0, num_pps=0
0:00:00.026598311  8949      0x1f7d0f0 DEBUG              h264parse h264parse.c:914:gst_h264_params_get_timestamp:<h264parse0> referred SPS invalid
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: GStreamer encountered a general stream error.
Additional debug info:
gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.033353383  8949      0x1d58080 DEBUG              h264parse gsth264parse.c:221:gst_h264_parse_stop: Stop
Freeing pipeline ...