[FFmpeg-user] Obtaining to mp4 files for HbbTV
Joan Roqué
joanrq at gmail.com
Mon Jun 18 18:22:54 CEST 2012
Hi everyone
I need to make an scrip for obtaining videos compatibles with HbbTV
The problem is:
if I split audio and video to pack audio and video separately with
MP4Box, everything works fine (
#ffmpeg -i INVIDEO.mpg -vn -c:a libfaac -b:a 128k -ar 44100 -async 1
OUTAUDIO.m4a
#ffmpeg -i INVIDEO.mpg -an -c:v libx264 -vf yadif=1:1 -profile:v high
-level 3.1 -b:v 1500k -threads 2 -y OUTVIDEO.mp4
#MP4Box -add OUTAUDIO.m4a OUTVIDEO.mp4
If I do everything in one sentence then the video does not works
#ffmpeg -i INVIDEO.mpg -c:a libfaac -b:a 128k -ar 44100 -async 1 -c:v
libx264 -vf yadif=1:1 -profile:v high -level 3.1 -b:v 1500k -threads 2
-y OUTVIDEO.mp4
Can anybody explain how to obtain a valid video with just one sentence?
Thanks a lot
More information about the ffmpeg-user
mailing list