Open sunit-poddar-zz opened 6 years ago
same question here
https://testsmirk.com/2019/01/17/video-filter-ffmpeg-android/ @sunit-poddar you can see this.
any one got solution? how to use -vf command ?
vf0
must be used instead of vf
.
See more for the list of supported options: https://github.com/bilibili/ijkplayer/blob/master/ijkmedia/ijkplayer/ff_ffplay_options.hCONFIG_AVFILTER
must be set to "1" in the https://github.com/bilibili/ijkplayer/blob/master/ijkmedia/ijkplayer/config.h
I'm trying to preview videos with ffplay in a video editing application and used ffmpeg for final edits on videos when i came accross IJK-player.
I've been able to play single videos in the videoview as per the example but how to invoke explicit commands for ex changing playback speed - -vf setpts=2*PTS
or cropping the video -vf crop=100:100
I've tried it setting with ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_PLAYER, "vf", "setpts=2*PTS");
I've seen #3025 and #3312 for playback speeds but nothing works out. I can work around with playback speed using ijkMediaPlayer.setSpeed(2f) but for overlaying audios over video or transitions between two videos i need ffplay preview in my app
Is is possible in the current releases to invoke ffplay commands explicitly?