Log in

View Full Version : All-in-one Batch demux FLV -> mux mp4?


gaikokujinkyofusho
19th January 2011, 19:27
Hi, I have been trying to find a easy solution to converting a large number of flv videos to mp4. Actually I just want to change containers from flv to mp4 (will settle for mkv) I have found mymp4box and mkvtools but neither seem to support flv as input. I have tried SUPER just stream copy but is crashes every time. Any suggestions would really be appreciated!

Cheers,

-Gaiko

GIR
20th January 2011, 15:39
1. Install ffmpeg.

2. New action for flv file type (MP4 Mux):

c:\[path_to_ffmpeg]\ffmpeg.exe -i "%1" -vcodec copy -acodec copy "%1".mp4

3. Right click as many flv's as you like or how many your hdd can cope with and mux.

4. Profit.

audyovydeo
25th January 2011, 10:41
Hi, I have been trying to find a easy solution to converting a large number of flv videos to mp4.

@echo off

:: demux flv
for %%z in (*.flv) do (
flvextractcl -v -a %%z
)

:: remux to mp4
for %%z in (*.264) do (
mp4box -add %%~nz.264 -add %%~nz.aac -new %%~nz.mp4
)

requires : flvextract CL version, mp4box

cheers
a/v

Nando1970
7th May 2011, 09:04
anyone kind enough to confirm the above two procedures are equivalent?