<div dir="ltr">I would like to bump my question.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-15 19:30 GMT+03:00 Krutskikh Ivan <span dir="ltr"><<a href="mailto:stein.hak@gmail.com" target="_blank">stein.hak@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi!<br><br><br></div><div>I'm recording real time h264 video from ip cams with gstreamer. After that I analyze it with ffprobe for export. (ffprobe -i ...  -show_streams)<br><br>for matroskamux<br><br>rtspsrc name=source latency=0 ! rtph264depay name=demux  ! h264parse ! matroskamux name=mux  ! filesink name=sink<br><br>[STREAM]<br>index=0<br>codec_name=h264<br>codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10<br>profile=Main<br>codec_type=video<br>codec_time_base=1/2000<br>codec_tag_string=[0][0][0][0]<br>codec_tag=0x0000<br>width=1920<br>height=1080<br>coded_width=1920<br>coded_height=1088<br>has_b_frames=0<br>sample_aspect_ratio=1:1<br>display_aspect_ratio=16:9<br>pix_fmt=yuv420p<br>level=42<br>color_range=N/A<br>color_space=unknown<br>color_transfer=unknown<br>color_primaries=unknown<br>chroma_location=left<br>timecode=N/A<br>refs=1<br>is_avc=1<br>nal_length_size=4<br>id=N/A<br>r_frame_rate=2000/2<br>avg_frame_rate=0/0<br>time_base=1/1000<br>start_pts=416<br>start_time=0.416000<br>duration_ts=N/A<br>duration=N/A<br>bit_rate=N/A<br>max_bit_rate=N/A<br>bits_per_raw_sample=8<br>nb_frames=N/A<br>nb_read_frames=N/A<br>nb_read_packets=N/A<br>DISPOSITION:default=1<br>DISPOSITION:dub=0<br>DISPOSITION:original=0<br>DISPOSITION:comment=0<br>DISPOSITION:lyrics=0<br>DISPOSITION:karaoke=0<br>DISPOSITION:forced=0<br>DISPOSITION:hearing_impaired=0<br>DISPOSITION:visual_impaired=0<br>DISPOSITION:clean_effects=0<br>DISPOSITION:attached_pic=0<br>TAG:language=eng<br>TAG:title=Video<br>[/STREAM]<br><br></div><div>for mp4mux<br><br>rtspsrc name=source latency=0 ! rtph264depay name=demux  ! h264parse ! mp4mux name=mux  ! filesink name=sink<br><br>[STREAM]<br>index=0<br>codec_name=h264<br>codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10<br>profile=Main<br>codec_type=video<br>codec_time_base=1/20000<br>codec_tag_string=avc1<br>codec_tag=0x31637661<br>width=1920<br>height=1080<br>coded_width=1920<br>coded_height=1088<br>has_b_frames=0<br>sample_aspect_ratio=0:1<br>display_aspect_ratio=0:1<br>pix_fmt=yuv420p<br>level=42<br>color_range=N/A<br>color_space=unknown<br>color_transfer=unknown<br>color_primaries=unknown<br>chroma_location=left<br>timecode=N/A<br>refs=1<br>is_avc=1<br>nal_length_size=4<br>id=N/A<br>r_frame_rate=20000/2<br>avg_frame_rate=1345000/49069<br>time_base=1/10000<br>start_pts=-1223<br>start_time=-0.122300<br>duration_ts=98138<br>duration=9.813800<br>bit_rate=2537779<br>max_bit_rate=N/A<br>bits_per_raw_sample=8<br>nb_frames=269<br>nb_read_frames=N/A<br>nb_read_packets=N/A<br>DISPOSITION:default=1<br>DISPOSITION:dub=0<br>DISPOSITION:original=0<br>DISPOSITION:comment=0<br>DISPOSITION:lyrics=0<br>DISPOSITION:karaoke=0<br>DISPOSITION:forced=0<br>DISPOSITION:hearing_impaired=0<br>DISPOSITION:visual_impaired=0<br>DISPOSITION:clean_effects=0<br>DISPOSITION:attached_pic=0<br>TAG:creation_time=2016-04-15 16:26:10<br>TAG:language=eng<br>TAG:handler_name=VideoHandler<br>[/STREAM]<br><br></div><div>Both files are fine with vlc player, but with mkv file I cannot get number of frames and therefore cannot determine the fps. <br><br></div><div>What is wrong with my setup here?<br><br></div><div>Thanks in advance!<br><br><br></div><div><br></div></div>
</blockquote></div><br></div>