done thnx you

 but  other problem:  iphone is not supporting  to  filter effect on phone
when im joining(merging) video...

 ffmpeg -i video.mp4 -filter:v "fade=in:color=white:st=5:d=1,
fade=out:color=white:st=44:d=1,format=yuv420p"  filtered.mp4

ffmpeg -i intro.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts temp1.ts
ffmpeg -i filtered .mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts temp2.ts

ffmpeg -i "concat:temp1.ts|temp2.ts" -c copy -bsf:a aac_adtstoasc output.mp4

when i am sending  output.mp4  video via  whatsapp. then  android users can
see all part of video but iphone user  cant see filtered affected part.
iphone user is hearing only audio of filtered video.

now whats problem?

thank you.

pdr0 <p...@shaw.ca>, 21 Nis 2020 Sal, 18:24 tarihinde şunu yazdı:

> Cemal Direk wrote
> > Hi, im using this code
> >
> > "ffmpeg -i video.mp4 -filter:v "fade=t=in:color=white:st=0.5:d=1"
> > -filter:a
> > "afade=in:st=0:d=1, afade=out:st=44:d=1" -c:v libx264 -c:a aac
> output.mp4"
> >
> > then output is wrong codec. i can not open output.mp4 at any player.
> > but i dont give to color=white parameter to command i can open
> > output.mp4...
> > whats the problem when i adding color parameter to command?(:color=white)
> >
> > how can i solve this problem?
>
> I'm assuming you are using "regular" yuv420p input.
>
> The default color for fade is black. When you specify white, the output
> pixel format is yuv444p for some reason,  and libx264 encodes as yuv444p
>
> As a workaround, you can add format=yuv420p to the filter chain
> -filter:v "fade=t=in:color=white:st=0.5:d=1,format=yuv420p"
>
> I don't know if that is intended behavior, but it's not in the
> documentation
>
>
>
>
>
> --
> Sent from: http://www.ffmpeg-archive.org/
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to