OrchestraAndChoir
03-21-2010, 08:47 AM
So I downloaded some videos which are FLV Files but are encoded like they are mp4s. My question is is there any way to make these files mp4 without re encoding ?
Stream Recorder
03-22-2010, 01:16 AM
Some previous posts:
How to fix FLV files: Remux FLV (h.264) file into MP4 file
You can remux an FLV file into an MP4 file quickly without any transcoding.
Get freeware FLV Extract (http://www.moitah.net/) and freeware mp4box (http://kurtnoise.free.fr/mp4tools/MP4Box-0.4.5.zip).
Using FLV Extract, drag the recorded/downloaded .FLV file to the FLV Extract window. It will demux into video and audio files, ending in .264 and .aac
Then, use mp4box to remux those files into an MP4:
mp4box.exe -add "filename.264:fps=23.976" -add "filename.aac" "filename_output.mp4"
Where "filename" is the name of the .264 and .aac files. The output .mp4 will play properly and have the correct time length.
Instead of mp4box you can use freeware GUI utility YAMB (http://yamb.unite-video.com/).
Please note that mp4box and YAMB may give different results
I use a program called FLVExtract (http://moitah.net/) which extracts the video and audio streams directly from the downloaded FLV file.
Then I use YAMB with MP4Box to repack it into a MP4 file. :)
No "conversion" necessary and it's a lot faster.
On Linux most of the current players can play FLV files directly. But sometimes I run across machines with outdated software, then I move the data into some other container. MP4 or MKV usually work.
ffmpeg -i somefile.flv -vcodec copy -acodec copy somefile.mkv
Takes just a few seconds because it transfers the raw data unchanged, only the file headers are modified.
ffmpeg does work well for moving from a flv container to a mkv container, but in my experience it doesn't work well for moving to a mp4 container; at least if you want to be able to ff/rew or skip through the resulting output file with any of the many media players I've tried.
OrchestraAndChoir
03-22-2010, 07:17 AM
MP4Box closes automatically no matter what I do
Stream Recorder
03-22-2010, 09:07 AM
MP4Box closes automatically no matter what I do
MP4Box GUI? And what about Yamb?
OrchestraAndChoir
03-22-2010, 11:46 AM
Yamp seems to get the job done. Thanks for the tip
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.