Page 1 of 1
Generic MPEG FFAStrans 1.2.2
Posted: Wed Nov 17, 2021 8:41 am
by Wahyu
Hi Everyone,
i hope you are doing well
My system still use mpeg2, i confuse with display aspect ratio in Generic MPEG.
i try set to 4:3 the output still 16:9, whatever the input.
i need the output to 4:3, how to create it with Generic MPEG ?
Thanks
Re: Generic MPEG FFAStrans 1.2.2
Posted: Wed Nov 17, 2021 1:12 pm
by emcodem
Hey Wahyu,
i can confirm that no matter what you set, it will always be fixed 16/9 output in the mpeg2 encoder node. It's a bug, thank you for reporting!
So you can only workaround at the moment, e.g. you can of course encode with a custom ffmpeg or commandline processor even, or you can fix the aspect ratio by using a bitstream filter like that:
Code: Select all
"%s_ffmpeg%" -i "%s_source%" -bsf:v mpeg2_metadata=display_aspect_ratio=4/3 -codec copy -map 0 "%s_source%_4x3%.mpg"
Above code is what you insert into a cmd processor what comes after your mpeg2 encoder node.
Also, make sure to check "set s_source" checkbox and insert "%s_source%_4x3.mpg%", in that case, the delivery node will deliver the 4x3 file.
Going one step further, you can alter %s_source%_4x3.mpg% to the final delivery path, this way you don't need a delivery node anymore and you don't loose any time.
Let me know any question.
Re: Generic MPEG FFAStrans 1.2.2
Posted: Wed Nov 17, 2021 1:22 pm
by admin
Hi Wahyu,
It will be fixed for the upcomming 1.2.2.1 bugfix release.
-steinar
Re: Generic MPEG FFAStrans 1.2.2
Posted: Sat Nov 20, 2021 11:24 am
by Wahyu
Thank you so much for all the help @emcodem & @steinar
Re: Generic MPEG FFAStrans 1.2.2
Posted: Thu Nov 25, 2021 10:18 am
by Wahyu
@emcodem, i have question, i used analyzer Loudness before custom ffmpeg or ffmpeg command executor. How can i set audio volume from loudness analyzer table level in custom ffmpeg/ffmpeg command executor?
Re: Generic MPEG FFAStrans 1.2.2
Posted: Thu Nov 25, 2021 1:35 pm
by emcodem
Code: Select all
-filter_complex "[0:1]pan=1|c0=c0,aresample=osr=192000:osf=s32,alimiter=7.817279:1:0.875:0.1:level=0,aresample=ocl=1[a1],[0:1]pan=1|c0=c1,aresample=osr=192000:osf=s32,alimiter=7.817279:1:0.875:0.1:level=0,aresample=ocl=1[a2],[a1][a2]amerge=2,apad[astr1]" -map "[astr1]" -c:a:0 pcm_s24le -ar:a:0 48000
This is what ffastrans calculates for you when you are using some encoder node with loudness and you submit a stereo source to a stereo encoder.
The use of custom ffmpeg or commandline requires you to invest some work, depending on your input and output configuration.
My question for you is, are your INPUT files always the same audio track and channel config, e.g. always 1 stereo track? And what about your output audio config?
Re: Generic MPEG FFAStrans 1.2.2
Posted: Fri Nov 26, 2021 2:27 am
by Wahyu
emcodem wrote: ↑Thu Nov 25, 2021 1:35 pm
My question for you is, are your INPUT files always the same audio track and channel config, e.g. always 1 stereo track? And what about your output audio config?
Normally input is always 1 stereo track, and i create outputs 2 files.
file 1 with 1 audio, like INPUT
file 2 with dual audio obtained from audio 1 (tracks 1 and 2 = tracks 3 and 4) just mirror from audio 1