Instruction manual
Appendix: Encoding Guides
45
IS-SPX-1000 & IS-SPX-1300 Inspired Signage XPress Players
Appendix: Encoding Guides
Encoder Tools
FFMpeg
FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. Download the windows
version here
.
VLC
VLC is a free and open source cross-platform Multimedia Player, Media Converter and Streamer. Download here.
WinMEnc
WinMEnc is a free front-end for encoder. Download here.
Encoding SD video
Encoding Into MOV Format Using FFMpeg
To encode a window media video into a 720p (or 1080p) mpeg-4 video (mov format), you can use something like this:
ffmpeg -i video.wmv -vcodec libxvid -s hd720 -r:v 25 -b:v 6500k -bf 1 -acodec libmp3lame -b:a 128k -t
120 video.mov
where:
vcodec libxvid selects mpeg-4 as video format;
s hd720 reduces the size (if needed) to 720p; (use -s hd1080 for 1080p)
r:v 25 selects 25 fps;
b:v 6500k selects 6.5Mbits as target bitrate;
bf 1 sets one B-frame to improve the coding efficiency;
acodec libmp3lame select mp3 as audio format;
b:a 128k selects 128kb for the audio bitrate;
-t 120 stops writing the output after 120 seconds.
Encoding Into MP4 Format Using FFMpeg
ffmpeg -i video_1080p.mp4 -s 832x468 -b:v 2500k -vcodec libx264 -vprofile main -acodec libvo_aacenc -
b:a 128k video.mp4
This will:
Select h.264 as video format using -vcodec libx264
Reduce the size (if needed) to 832x468 using -s 832x468
Select 2.5Mbits as target bitrate using -b:v 2500k
Select AAC as audio format: -acodec libvo_aacenc
Target 128kb for the audio bitrate: -b:a 128k
Transcoding Into MP4 Format Using FFMpeg
If you need to change the format / container of the file without any encodings, use something like these:
ffmpeg.exe -i inputfile -acodec copy -vcodec copy outputfile.mp4
ffmpeg.exe -i inputfile -codec: copy outputfile.mp4
This will simply copy the audio and video streams (#1) or all the streams (#2) into an mp4 format.
The recommended format for SD video that will be played across all HMP devices is
MPEG2.