添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
玩足球的包子  ·  How to trim a video ...·  10 小时前    · 
幸福的书签  ·  How to Rotate Videos ...·  10 小时前    · 
讲道义的水桶  ·  How to remove ...·  10 小时前    · 
爱热闹的小狗  ·  【AVD】 FFmpeg 获取 JPG ...·  10 小时前    · 
礼貌的机器人  ·  FFmpeg: ...·  10 小时前    · 
豁达的西装  ·  Installation — vLLM·  1 周前    · 
乐观的松球  ·  CapiNative.cs source ...·  3 周前    · 
逆袭的电梯  ·  AttributeError: ...·  3 月前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpeg Here they show how to set Environment variable for ffmpeg extension. But when i type these command in android studio terminal.

cd "<path to exoplayer checkout>"
EXOPLAYER_ROOT="$(pwd)"
FFMPEG_EXT_PATH="${EXOPLAYER_ROOT}/extensions/ffmpeg/src/main"

Following error is generated.

'EXOPLAYER_ROOT' is not recognized as an internal or external command,
operable program or batch file.
'FFMPEG_EXT_PATH' is not recognized as an internal or external command,
operable program or batch file.

I also set it in Environment Variable but when i type command in terminal same error are generated. I want to know the proper way to set enviroment variable for ffmpeg extension. It's almost 2nd day i'm trying to solve it but no succeed. Any Help will be appreciated.

You should set environment variables in ~/.bashrc file in linux as following. In your terminal type:

gedit ~/.bashrc

at the end of this file add the following: export FFMPEG_EXT_PATH="your ffmpeg directory"

Save and exit. Reset your terminal. Then type:

echo $FFMPEG_EXT_PATH

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.