Page 1 of 1

Transcoding from profile High@5 to High@4.2

PostPosted: Mon May 25, 2015 12:03 pm
by aklempn
Hi,

I would like to get the ffmpeg options/configuration been used while on the fly trancoding my mp4 high@5 files to high@4.2

It works great during play time, but I would like to create a ffmpeg script to change them all (about 100 files if not more) to the final output so, no transcoding while playing them will be preformed.

I found some options/configuration of the ffmpeg looking at other forums, but they take ages and I guess your implementation is better since it is very fast.

Thanks for the support
Avi

Re: Transcoding from profile High@5 to High@4.2

PostPosted: Mon May 25, 2015 12:36 pm
by jhb50
The files are not transcoded to level 4.2 but rather to MPEG2VIDEO and AC3 audio in an mpegts wrapper which will be 2x the size.
Typical serviio command:
ffmpeg -analyzeduration 10000000 -i input -y -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -g 15 -c:a ac3 -b:a 64k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts output.mpg

Re: Transcoding from profile High@5 to High@4.2

PostPosted: Mon May 25, 2015 12:42 pm
by aklempn
Thank you very much on your quick reply, I am testing it now and will be back with the results