MP4 Transcode node slows then stops

Here you can submit bugreports
Post Reply
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

MP4 Transcode node slows then stops

Post by amcmath »

Hi all,

I've created a workflow for creating Clean & BITC DVD ISO files as well as a Clean & BITC H264 proxies. The DVD ISOs work absolutely perfectly but the H264 nodes slow down to a grind then appear to stop completely. Any thoughts would be great thanks.

Cheers,

Ali
admin
Site Admin
Posts: 1680
Joined: Sat Feb 08, 2014 10:39 pm

Re: MP4 Transcode node slows then stops

Post by admin »

Hi Ali, thank you for using FFAStrans and welcome to the forum! :-)

Could you export your workflow and post it here or directly to me? It's much easier to help when I know your workflow.

-steinar
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

Re: MP4 Transcode node slows then stops

Post by amcmath »

Thanks for the quick response, workflow is below. I left it running over the weekend just in case it started up again but it's still stuck where it was.
FFAStrans Monitor failure 300117.JPG
FFAStrans Monitor failure 300117.JPG (49.9 KiB) Viewed 15406 times

Code: Select all

[general]
watcher=Network Test
folder=
watcher_id=20170124111331
Sleep=30
Work folder=Z:\Work Media Cache\20170124111331
Default folder=1
Priority=2 (normal)
Check growing files=4
Last_mod_by=LDN-MM-1@LDN-MM-BEAST
AviSynth MT=4
Abberation=4
[variable]
wf_size=138.8625
Start_proc=mon_folder 20170124-111402-798-6E279A93E678
[maintainance]
Delete_cachefile=4
keep_all_workdir=4
keep_failed_workdir=4
Cleanup=04:00
.flist_age=5
Run=2345671
[special]
File_debug=4
Debug_file=\\cifs01\Liverpool01\AMC\FFAStrans\Processors\.cache\wfs\20170124111331\logs
AviSynth MT=4
Abberation=4
Protected=4
Password=
[user_variables]
[mon_folder 20170124-111402-798-6E279A93E678]
execute_on=3800889
Folder=Z:\Test Project In
Accept_Types=
Deny_Types=
Deny_Paths=
ATTRIB_READ=4
ATTRIB_ARCH=4
ATTRIB_SYS=4
ATTRIB_HIDDEN=4
Recurse=4
Localize=4
Create_Folder=4
DirSize=0
FileLimit=None
proc_x=74
proc_y=72
Outbound=dec_avmedia 20170124-111509-285-B606AFF4E172|dest_folder 20170124-111524-636-422203605C24
[dec_avmedia 20170124-111509-285-B606AFF4E172]
execute_on=3800889
Video=1
Audio=1
A_Decode=4
V_Decode=4
A_Method=Intelligent
V_Method=Intelligent
proc_x=282
proc_y=188
Outbound=avs_v_tc 20170124-111554-931-EA1B784DC5B3|enc_av_mp4 20170124-111611-997-152D702875FD|enc_av_dvd 20170124-111720-622-B063540B966A
[dest_folder 20170124-111524-636-422203605C24]
execute_on=3800889
Folder=Z:\LDN_Masters\Test Project\%s_original_name%
Suffix=
Prefix=_Master
Overwrite=4
Unique=4
Case=None
Drop_name=4
Drop_ext=4
proc_x=907
proc_y=72
Outbound=
[avs_v_tc 20170124-111554-931-EA1B784DC5B3]
execute_on=3800889
proc_x=491
proc_y=420
Outbound=enc_av_mp4 20170124-111704-117-F0E5B5A19668|enc_av_dvd 20170124-111745-629-FACF79FB22EF
Start_TC=00:00:00:00
tc_variable=
TC_Size=Medium
Force_TC=None
Use_TC_start=1
Position=5
BG_Opacity=100
FG_Opacity=257
[enc_av_mp4 20170124-111611-997-152D702875FD]
execute_on=3800889
V_Codec=x264
V_Bitrate=2200
A_Bitrate=256
Faststart=1
force_16_9=4
Only_Audio=4
restrict=4
A_Samplerate=48000
M4V=4
Level=auto
Profile=auto
Tuning=none
QSpeed=medium
ch_layout=stereo
proc_x=699
proc_y=188
Outbound=dest_folder 20170124-111759-715-6FF266B5301B
[enc_av_mp4 20170124-111704-117-F0E5B5A19668]
execute_on=3800889
V_Codec=x264
V_Bitrate=2200
A_Bitrate=256
Faststart=1
force_16_9=4
Only_Audio=4
restrict=4
A_Samplerate=48000
M4V=4
Level=auto
Profile=auto
Tuning=none
QSpeed=medium
ch_layout=stereo
proc_x=699
proc_y=420
Outbound=dest_folder 20170124-111808-607-CD68222596C3
enabled=68
[enc_av_dvd 20170124-111720-622-B063540B966A]
execute_on=3800889
V_Bitrate=8000
DVD_Type=PAL
Aspect=16:9
Transwrap=4
fields=Upper
audio_type=MPEG
audio_bitrate=224
file_type=ISO
proc_x=699
proc_y=304
Outbound=dest_folder 20170124-111806-267-2D97F2339FBD
[enc_av_dvd 20170124-111745-629-FACF79FB22EF]
execute_on=3800889
V_Bitrate=8000
DVD_Type=PAL
Aspect=16:9
Transwrap=4
fields=Upper
audio_type=MPEG
audio_bitrate=224
file_type=ISO
proc_x=699
proc_y=535
Outbound=dest_folder 20170124-111810-557-689282CA1B0C
enabled=68
[dest_folder 20170124-111759-715-6FF266B5301B]
execute_on=3800889
Folder=Z:\LDN_Masters\Test Project\%s_original_name%
Suffix=
Prefix=_H264
Overwrite=4
Unique=4
Case=None
Drop_name=4
Drop_ext=4
proc_x=907
proc_y=188
Outbound=
enabled=68
[dest_folder 20170124-111806-267-2D97F2339FBD]
execute_on=3800889
Folder=Z:\LDN_Masters\Test Project\%s_original_name%
Suffix=
Prefix=_DVD_Clean
Overwrite=4
Unique=4
Case=None
Drop_name=4
Drop_ext=4
proc_x=907
proc_y=304
Outbound=
enabled=68
[dest_folder 20170124-111808-607-CD68222596C3]
execute_on=3800889
Folder=Z:\LDN_Masters\Test Project\%s_original_name%
Suffix=
Prefix=_H264_BITC
Overwrite=4
Unique=4
Case=None
Drop_name=4
Drop_ext=4
proc_x=907
proc_y=420
Outbound=
enabled=68
[dest_folder 20170124-111810-557-689282CA1B0C]
execute_on=3800889
Folder=Z:\LDN_Masters\Test Project\%s_original_name%
Suffix=
Prefix=_DVD_BITC
Overwrite=4
Unique=4
Case=None
Drop_name=4
Drop_ext=4
proc_x=907
proc_y=535
Outbound=
enabled=68
[LDN-MM-BEAST]
Work folder=D:\.ffastrans_work_root\20170124111331
mberg
Posts: 16
Joined: Fri Aug 12, 2016 10:31 am

Re: MP4 Transcode node slows then stops

Post by mberg »

This has happen to me also. Think it happens if the CPU load gets to high and ffmpeg gets in trouble.
If i transcode a file to 4 qualities, this can happen to one quality while the rest will finish.

Marius
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

Re: MP4 Transcode node slows then stops

Post by amcmath »

Hi Marius, thanks for the input, I'll try dropping the CPU to 50% and see if I get any better results.
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

Re: MP4 Transcode node slows then stops

Post by amcmath »

Update - Tried 50% and no joy. It only seems to be a problem with the AVCi.mxf files though, it appears to reach a certain point of the transcode then stop dead. I've tried using ffmpeg on the same file and had no problem so will keep looking.
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

Re: MP4 Transcode node slows then stops

Post by amcmath »

Update - Have changed the Video format to MPEG4 (from x264) and it's working flawlessly so it must just be an issue with AVCi & x264.
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

Re: MP4 Transcode node slows then stops

Post by amcmath »

Have been trying out some different options with x264 and found that the failures don't occur when using the baseline profile, I've tested all others and they are all grinding to a halt at some point in the process so will proceed with using the baseline profile.
amcmath
Posts: 9
Joined: Fri Jan 27, 2017 9:59 am

Re: MP4 Transcode node slows then stops

Post by amcmath »

Another update, tried tweaking the Bitrate (started at 2200) and found it still works up to 2300 but at 2400 the transcode is failing again. Working with - 4.2, Baseline, x264, 2300 bitrate now and all appears to work.
taner
Posts: 204
Joined: Sun Jun 19, 2016 6:36 pm

Re: MP4 Transcode node slows then stops

Post by taner »

Hi amcmath,

Thanks for testing.
Last week the problem you describe occurred with some of my workflows too.
From one day to another.
Until now it only happens with (some) workflows which use the libx264-codec.
I've tried to transcode some of the failed files with ffmpeg and command console.
Used the ffmpeg-exe in the ffastrans-folder.
Same result.

I haven't tried to change to baseline so far because my libx264-workflows have bitrates at 2Mbit, 5Mbit, 10Mbit.
Provided that I have to use just bitrates up to 2300.

Looks like a strange ffmpeg-issue.

Here is an old ffmpeg-post where they seem to talk about the same problem: https://trac.ffmpeg.org/ticket/2953

Best

Taner
Post Reply