mpegts_to_mp4 offset out of boundary
I’m trying to convert .ts file to mp4 file using nodejs. I find there is a library https://github.com/RReverser/mpegts. I follow the guide to install the package and run
npm i -g mpegts_to_mp4
mpegts_to_mp4 src.ts dest.mp4
.
But I see the following error
How can I make both video and audio play at the same time in an M3U8 file (not a playlist of IP channels)?
Here are the links to:
Audio stream: http://microit.n340.com:9000/VgMv0WV17ZVx1uuo_12_love_24_reg_78882
Video stream: http://178.170.233.7/avtovokzal-faac26e08f/playlist.fmp4.m3u8?token=2.m25LEsqiAAIABeSd7wEXISenjKZSJmwn_A9PQFLRpwUnG7fu (“token” value does not change)