Open santoshpro95 opened 7 years ago
Yasea aims to real time streaming. As for local file you need to strip H.264 and audio encoded stream and send it into FLV muxer. Moreover you also need to port Android player on the application to play the file. That is to say you have to customize SDK on your own. I suggest a simple method for you is using FFmpeg on PC.
ffmpeg -re -i test.mp4 -vcodec libx264 -acodec copy -f flv rtmp://host[:port]/app/stream
Can you send me sample example for stream mp4 file in rtmp or how can I send the mp4 file in flvmuxer in yasea library. Please send me any sample code. Actually I have never used that ffmpeg library. can u suggest me any library so that I can use it.
Please tell me how to replace camera to media player it urgent.
@santoshpro95 解决了吗? 我也要从mp4文件推流, 不知道怎么搞, 折腾了两天没成功
Please suggest me any possiblities to replace the camara to media file and i want to play that media file in place of camera view.