[FFmpeg-user] Chroma problem converting mp4 to prores
chronek
chronek at interia.eu
Fri Feb 24 02:51:30 EET 2017
Try -sws_flags full_chroma_inp+full_chroma_int
W dniu 2017-02-23 o 23:05, Dave pisze:
> Hi guys,
>
> I am having a issue where all the clips that I convert have a chroma
> problem. The red is saturated on all clips and there are red horizontal
> lines in the chroma.
>
> $ ffmpeg -y -i 5079162_NHL\ Marleau.mp4 -acodec pcm_s16le -vcodec prores_ks
> -profile:v 1 -copytb -1 -vf yadif=1 -qscale:v 10 mp4-yadif1-q10.mov
> I thought this might be the chroma bug but I have experimented with a
> couple of different options replacing yadif=1 with the following:
>
> -vf scale=out_color_matrix=bt709
> -pix_fmt yuv422p10le
> -vf colormatrix=bt601:bt709
> -vf yadif
>
> The yadif=1 option provides the closest results and specifying multiple
> options seems to make it worse not better. The problem is more obvious on
> a broadcast monitor.
>
> We are also having a problem where the converted clips are 1 frame shorter
> than the original, missing a black frame at the start of the clip.
>
> Here are the details of the clip I am trying to convert:
>
> $ ffprobe -v error -show_format -show_streams 5079162_NHL\ Marleau.mp4
> [STREAM]
> index=0
> codec_name=h264
> codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
> profile=Main
> codec_type=video
> codec_time_base=1/50
> codec_tag_string=avc1
> codec_tag=0x31637661
> width=1920
> height=1080
> coded_width=1920
> coded_height=1080
> has_b_frames=1
> sample_aspect_ratio=1:1
> display_aspect_ratio=16:9
> pix_fmt=yuv420p
> level=41
> color_range=tv
> color_space=unknown
> color_transfer=unknown
> color_primaries=unknown
> chroma_location=left
> field_order=unknown
> timecode=N/A
> refs=1
> is_avc=true
> nal_length_size=4
> id=N/A
> r_frame_rate=25/1
> avg_frame_rate=25/1
> time_base=1/50000
> start_pts=0
> start_time=0.000000
> duration_ts=2354000
> duration=47.080000
> bit_rate=9081205
> max_bit_rate=N/A
> bits_per_raw_sample=8
> nb_frames=1177
> nb_read_frames=N/A
> nb_read_packets=N/A
> DISPOSITION:default=1
> 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
> TAG:creation_time=2017-02-03T23:55:00.000000Z
> TAG:language=eng
> TAG:handler_name=Alias Data Handler
> TAG:encoder=AVC Coding
> [/STREAM]
> [STREAM]
> index=1
> codec_name=aac
> codec_long_name=AAC (Advanced Audio Coding)
> profile=LC
> codec_type=audio
> codec_time_base=1/48000
> codec_tag_string=mp4a
> codec_tag=0x6134706d
> sample_fmt=fltp
> sample_rate=48000
> channels=2
> channel_layout=stereo
> bits_per_sample=0
> id=N/A
> r_frame_rate=0/0
> avg_frame_rate=0/0
> time_base=1/48000
> start_pts=0
> start_time=0.000000
> duration_ts=2259840
> duration=47.080000
> bit_rate=253262
> max_bit_rate=283875
> bits_per_raw_sample=N/A
> nb_frames=2210
> nb_read_frames=N/A
> nb_read_packets=N/A
> DISPOSITION:default=1
> 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
> TAG:creation_time=2017-02-03T23:55:01.000000Z
> TAG:language=eng
> TAG:handler_name=Alias Data Handler
> [/STREAM]
> [FORMAT]
> filename=5079162_NHL Marleau.mp4
> nb_streams=2
> nb_programs=0
> format_name=mov,mp4,m4a,3gp,3g2,mj2
> format_long_name=QuickTime / MOV
> start_time=0.000000
> duration=47.146600
> size=54956371
> bit_rate=9325189
> probe_score=100
> TAG:major_brand=mp42
> TAG:minor_version=0
> TAG:compatible_brands=mp42mp41
> TAG:creation_time=2017-02-03T23:54:57.000000Z
> [/FORMAT]
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://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