4 ms·
Am I missing something, or are you just concatenating the MPEG-TS segments and slapping an .mp4 file extension on the end? This is not an MP4 file, and won't pl
by Retr0id 2y ago
Am I missing something, or are you just concatenating the MPEG-TS segments and slapping an .mp4 file extension on the end? This is not an MP4 file, and won't play in anything that expects .mp4 files to be MP4 files. (It'll still work in a surprising number of places because most players ignore the file extension and sniff the content anyway)
To make this work properly, you need to mux it into an mp4 container. e.g.
ffmpeg -i video.ts -c copy video.mp4
(there are, hopefully, libraries for doing this that don't involve bundling the whole of ffmpeg)
- Equal46 2y agoClearly, he based it on the open-source code from GitHub, which simply concatenates the MPEG-TS segments and adds an .mp4 file extension at the end. You can check out my previous work on a download site for the Bluesky platform at https://blueskyvideodownload.com https://blueskyvideodownload.com, which runs smoothly and returns the correct video.
- yangxiaobo 2y agoYour website looks great, and the downloaded videos work fine. Thumbs up to you!
- Retr0id 2y agoFascinating, your site looks so similar I wouldn't be surprised if one was a clone of the other. But, I checked yours out and can confirm that it returns a correctly muxed MP4. Maybe if you both open-sourced your codebases we could've avoided this duplication ;)
- Equal46 2y agoHaha, I appreciate the observation! As a backend developer, I’m definitely more comfortable with the backend processes. But I also used Claude for the frontend, and while AI helps maintain a consistent aesthetic, it does lead to similar responses for everyone. That’s one of the downsides of relying on AI!
- Equal46 2y agoAppreciate the feedback—it got me thinking the design needed a real upgrade. So, I went back and gave the whole layout a fresh look. Check it out—feels like a new experience, right? Definitely a step up from before. Let me know what you think!
- yangxiaobo 2y agoGreat suggestion, haha!
- yangxiaobo 2y agoThank you very much for your feedback. I downloaded the video through this program, but it couldn't be played in the default player. However, it worked in another video player. I initially thought the issue was with my default player, but it seems there’s a slight flaw in the video downloaded by the program. Thank you for your feedback; I'll fix it as soon as possible.
- yangxiaobo 2y agoAs you mentioned, it was indeed just a simple change of the .mp4 extension. I have now fixed this issue using ffmpeg, as you suggested. Thank you very much for your feedback.