Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

請問mp3檔要推需要config設定什麼參數嗎? #1

Open
j205073 opened this issue Apr 21, 2022 · 3 comments
Open

請問mp3檔要推需要config設定什麼參數嗎? #1

j205073 opened this issue Apr 21, 2022 · 3 comments

Comments

@j205073
Copy link

j205073 commented Apr 21, 2022

請問我推mp4正常,推mp3就沒有產生m3u8的檔案,但是從state網頁看有推上去。
mp3檔要推需要config設定什麼參數嗎?
非常謝謝。

@twtrubiks
Copy link
Owner

應該是因為我設定的參數是影片的.
這個我查了一下, 應該是可以, 但可能你要自己找找.

@j205073
Copy link
Author

j205073 commented Apr 22, 2022

我後來以下用這段命令推mp3就可以了,
ffmpeg -re -i D:\test.mp3 -vcodec libx264 -acodec aac -f flv rtmp://192.168.1.110:1935/live/test
我猜想應該是把編碼格式改變的關西。這樣推一樣會產生.ts跟.m3u8
謝謝。

@twtrubiks
Copy link
Owner

看來就是轉檔格式的問題了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants