lib/xmorph/customers/rewind/rewind/transcode.rb in xmorph-0.1.6 vs lib/xmorph/customers/rewind/rewind/transcode.rb in xmorph-0.1.9

- old
+ new

@@ -1,11 +1,11 @@ class Transcode < XMorph::Base MONO = "mono" STEREO = "stereo" def set_profiles self.profiles = { - MONO => "ffmpeg -y -i %{IN} -vf \"fps=fps=25.000000,scale=1920x1080\" -filter_complex \"[0:a:0][0:a:1]amerge=inputs=2[aout0]\" -pix_fmt yuv420p -vcodec h264 -g 13 -bf 2 -x264opts nal-hrd=cbr -profile:v high -flags +ilme+ildct -top 1 -vb 12000000 -minrate:v 12000000 -maxrate:v 12000000 -bufsize:v 24000000 -acodec libfdk_aac -profile:a aac_low -ab 192k -map 0:v -map [\"aout0\"] -muxrate 13411200 -streamid 0:2064 -streamid 1:2068 %{OUT} 2>&1", - STEREO => "ffmpeg -y -i %{IN} -vf \"fps=fps=25.000000,scale=1920x1080\" -pix_fmt yuv420p -vcodec h264 -g 13 -bf 2 -x264opts nal-hrd=cbr -profile:v high -vb 12000000 -minrate:v 12000000 -maxrate:v 12000000 -bufsize:v 24000000 -acodec libfdk_aac -profile:a aac_low -ab 192k -map 0:v -map 0:a:0 -muxrate 13411200 -streamid 0:2064 -streamid 1:2068 -vsync 1 -async 1 %{OUT} 2>&1", + MONO => "ffmpeg -y -i %{IN} -vf \"fps=fps=25.000000,scale=1920x1080\" -filter_complex \"[0:a:0][0:a:1]amerge=inputs=2[aout0]\" -pix_fmt yuv420p -vcodec h264 -g 13 -bf 2 -x264opts nal-hrd=cbr -profile:v high -flags +ilme+ildct -top 1 -vb 12000000 -minrate:v 12000000 -maxrate:v 12000000 -bufsize:v 24000000 -acodec libfdk_aac -profile:a aac_low -ab 192k -map 0:v -map [\"aout0\"] -muxrate 13411200 -streamid 0:2064 -streamid 1:2068 %{OUT} ", + STEREO => "ffmpeg -y -i %{IN} -vf \"fps=fps=25.000000,scale=1920x1080\" -pix_fmt yuv420p -vcodec h264 -g 13 -bf 2 -x264opts nal-hrd=cbr -profile:v high -vb 12000000 -minrate:v 12000000 -maxrate:v 12000000 -bufsize:v 24000000 -acodec libfdk_aac -profile:a aac_low -ab 192k -map 0:v -map 0:a:0 -muxrate 13411200 -streamid 0:2064 -streamid 1:2068 -vsync 1 -async 1 %{OUT} ", } end def video_checks { \ No newline at end of file