[FFmpeg-user] ffprobe outputs frame_rate=90000/1

Marton Balint cus at passwd.hu
Mon Aug 2 23:55:49 EEST 2021



On Mon, 2 Aug 2021, David Mueller IWS. wrote:

> Hello,
>
> when checking the framerate of an h264 stream with ffprobe I'm getting an output of  r_frame_rate=90000/1.
> Any idea why ffprobe outputs this value?

Maybe because the video PID has no packets so there is no way to determine 
the proper frame rate, therefore ffprobe makes the best guess based on the 
mpegts time base, which is 1/90000.

Regards,
Marton

>
> Here is the command I'm executing:
>
> ffprobe.exe -show_format -show_streams udp://172.19.253.10:1100
>
> And this is the full output:
>
> [STREAM]
> index=0
> codec_name=h264
> codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
> profile=High
> codec_type=video
> codec_time_base=0/2
> codec_tag_string=[27][0][0][0]
> codec_tag=0x001b
> width=640
> height=360
> coded_width=640
> coded_height=368
> closed_captions=0
> has_b_frames=0
> sample_aspect_ratio=N/A
> display_aspect_ratio=N/A
> pix_fmt=yuv420p
> level=50
> color_range=unknown
> color_space=unknown
> color_transfer=unknown
> color_primaries=unknown
> chroma_location=unspecified
> field_order=progressive
> timecode=N/A
> refs=1
> is_avc=false
> nal_length_size=0
> id=0x100
> r_frame_rate=90000/1
> avg_frame_rate=0/0
> time_base=1/90000
> start_pts=538119
> start_time=5.979100
> duration_ts=N/A
> duration=N/A
> bit_rate=N/A
> max_bit_rate=N/A
> bits_per_raw_sample=8
> nb_frames=N/A
> nb_read_frames=N/A
> nb_read_packets=N/A
> DISPOSITION:default=0
> DISPOSITION:dub=0
> DISPOSITION:original=0
> DISPOSITION:comment=0
> DISPOSITION:lyrics=0
> DISPOSITION:karaoke=0
> DISPOSITION:forced=0
> DISPOSITION:hearing_impaired=0
> DISPOSITION:visual_impaired=0
> DISPOSITION:clean_effects=0
> DISPOSITION:attached_pic=0
> DISPOSITION:timed_thumbnails=0
> [/STREAM]
> [FORMAT]
> filename=udp://172.125.1.2:1100
> nb_streams=1
> nb_programs=1
> format_name=mpegts
> format_long_name=MPEG-TS (MPEG-2 Transport Stream)
> start_time=5.979100
> duration=N/A
> size=N/A
> bit_rate=N/A
> probe_score=50
> [/FORMAT]
>
> Kind regards
>
> David
>
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list