Page 1 of 1

New FFmpeg Build

Posted: Mon Nov 04, 2019 7:50 pm
by mgm21m
Hello All

first Thanks a lot about your wonderful software ,

there's new release of FFmpeg (4.2.1) which support new HEVC codecs (Specially from New Canon XF Cameras)

I tried to use this build inside FFASTRANS but with no luck

can you try to embed the new release with your build

Thanks and Best Regards

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 9:27 am
by emcodem
Hey mgm21m,

can you tell us what exactly you did not get to work when exchanging the existing ffmpeg against 4.2.1? I just tested very quickly, exchanged the existing .exe's against 4.2.1 Zeranoe default build and did some random avci encoding whithout problems.

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 11:55 am
by mgm21m
Hi emcodem

the old FFmpeg is not able to convert Canon XF705 4K File

this is the information about the file that i want to convert

ID : 2
Format : 0E15000402100001-0E15000500013000
Format settings, wrapping m : Frame
Codec ID : 0E15000402100001-0E15000500013000
Duration : 19 s 200 ms
Bit rate : 152 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.733
Stream size : 348 MiB (97%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709

Audio #1
ID : 3
Format : PCM
Format settings : Little
Format settings, wrapping m : Frame (AES)
Codec ID : 0D01030102060300
Duration : 19 s 200 ms
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Frame rate : 25.000 FPS (1920 SPF)
Bit depth : 24 bits
Stream size : 2.64 MiB (1%)
Locked : Yes

Audio #2
ID : 4
Format : PCM
Format settings : Little
Format settings, wrapping m : Frame (AES)
Codec ID : 0D01030102060300
Duration : 19 s 200 ms
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Frame rate : 25.000 FPS (1920 SPF)
Bit depth : 24 bits
Stream size : 2.64 MiB (1%)
Locked : Yes

Audio #3
ID : 5
Format : PCM
Format settings : Little
Format settings, wrapping m : Frame (AES)
Codec ID : 0D01030102060300
Duration : 19 s 200 ms
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Frame rate : 25.000 FPS (1920 SPF)
Bit depth : 24 bits
Stream size : 2.64 MiB (1%)
Locked : Yes

Audio #4
ID : 6
Format : PCM
Format settings : Little
Format settings, wrapping m : Frame (AES)
Codec ID : 0D01030102060300
Duration : 19 s 200 ms
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Frame rate : 25.000 FPS (1920 SPF)
Bit depth : 24 bits
Stream size : 2.64 MiB (1%)
Locked : Yes

Other #1
ID : 1-Material
Type : Time code
Format : MXF TC
Frame rate : 25.000 FPS
Time code of first frame : 00:47:50:04
Time code settings : Material Package
Time code, striped : Yes

Other #2
ID : 1-Source
Type : Time code
Format : MXF TC
Frame rate : 25.000 FPS
Time code of first frame : 00:47:50:04
Time code settings : Source Package
Time code, striped : Yes

Other #3
Type : Time code
Format : SMPTE TC
Muxing mode : SDTI
Frame rate : 25.000 FPS
Time code of first frame : 00:47:50:04

i Tried the New FFmpeg and it converting the files without any problem
the file Format is Hevc H.265

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 12:13 pm
by emcodem
Hey,
i understood that your codec is not supported by the older ffmpeg version but you wrote you already tried replacing the shipped ffmpeg version.
So my question is when you download both, the 32 bit and 64 bit version of ffmpeg 4.2.1 from zeranoe (use the "static" version) and you replace ffmpeg.exe, ffplay and ffprobe in this directory:
%ffastrans%\Processors\ffmpeg

What is the issue with that?

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 12:42 pm
by mgm21m
I'm Still testing, the problem happened with AVisynth script checking , it report with error as there's no audio and video in media for some reason

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 12:47 pm
by emcodem
Oh, if you have avisynth based filters in your workflow, then you don't need an ffmpeg update but an update for the ffms2 source plugin.
Do you know if you decode using avisynth or ffmpeg? - if no you could upload your workflow please...

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 12:48 pm
by mgm21m
Attached my Workflow

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 1:24 pm
by emcodem
Oh, yeah, in that case avisynth or better the ffms2 plugin is the decoder as you do use the A/V Media Decoder NOde. But looking at your workflow, maybe it is good to start by just getting rid of the avisynth decoder:
You do not need the A/V Media node in your workflow, just delete it. Maybe it works then right away... If not, you can still go by exchanging ffmpeg instead of ffms2...


Anyway, updating FFMS2 is not as straight forward as updating ffmpeg.
I can just post where i would start digging for the moment but i cannot yet post a full tutorial on how to update successfully.

What you need to exchange is ffms2.dll and ffmsindex.exe in x86 and or x64 directory here:
ffastrans\Processors\avs_plugins\ffms2

You can start looking for new builds here:
https://forum.doom9.org/showthread.php? ... 7&page=126

best of luck for the moment :-)

Re: New FFmpeg Build

Posted: Tue Nov 05, 2019 4:25 pm
by emcodem
OK, so when using the A/V Decoding node, it should help using an updated Version of FFMS2.

Please try to replace the files ffmsindex.exe and ffms2.dll by their updated versions in the corresponding folders from the download.
Folders of interest:
ffastrans\Processors\avs_plugins\ffms2\x64
ffastrans\Processors\avs_plugins\ffms2\x86

download a recent ffms2 build here:
https://drive.google.com/open?id=1fHTwA ... qDdsu-fYnu

Re: New FFmpeg Build

Posted: Wed Nov 13, 2019 11:33 am
by mgm21m
Thanks , I Tried the New Build and it's working Fine ,, there's some set backs ,, but it's OK