Hi, I have a problem with batch converting files. FFmpeg Batch Converter constantly closes without any error during converting files with parameters "-c copy -an". How to fix it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tested with a couple of 4K files with -c copy -an to mp4, but no issue found.
Are files locked? Have you tried running application as admin?
Format : MXF
Format version : 1.3
Format profile : OP-1a
Format settings : Closed / Complete
File size : 1.07 GiB
Duration : 17 s 720 ms
Overall bit rate : 519 Mb/s
Encoded date : 2021-01-24 15:50:43.000
Writing application : Sony Mem 2.00
Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:2:2 Intra@L5.2
Format settings, CABAC : No
Format settings, GOP : N=1
Format settings, wrapping mode : Frame
Codec ID : 0D01030102106001-0401020201323001
Duration : 17 s 720 ms
Bit rate : 510 Mb/s
Maximum bit rate : 500 Mb/s
Width : 4 096 pixels
Height : 2 160 pixels
Display aspect ratio : 1.896
Frame rate : 50.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 1.152
Stream size : 1.05 GiB (98%)
Color range : Limited
colour_range_Original : Full
Color primaries : BT.709
Transfer characteristics : BT.601
Matrix coefficients : BT.709
Audio #1
ID : 3
Format : PCM
Format settings : Little
Format settings, wrapping mode : Frame (AES)
Codec ID : 0D01030102060300-0402020101000000
Duration : 17 s 720 ms
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Frame rate : 50.000 FPS (960 SPF)
Bit depth : 24 bits
Stream size : 2.43 MiB (0%)
Locked : Yes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, files aren't locked. The app sometimes crashes after 1-2 converted files and sometimes after 20 or more, there is no rule for that. One important thing that I forgot to mention is that all clips are located on mapped network drive and I don't cache them to temp folder.
I will check if running as admin solves the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Adding this parameter didn't help in any way. Network connection is stable, I am connecting to my NAS server, on which I work almost all the time with large video files and photos.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have a problem with batch converting files. FFmpeg Batch Converter constantly closes without any error during converting files with parameters "-c copy -an". How to fix it?
Hi, with so little information I can't help much.
What additional information can I include for assistance?
What type of files are you converting, or some samples to test.
Files straight from my camera - Sony A7iii. Here is the screenshot from MediaInfo:
Last edit: Pawel 2021-07-15
I have tested with a couple of 4K files with -c copy -an to mp4, but no issue found.
Are files locked? Have you tried running application as admin?
Format : MXF
Format version : 1.3
Format profile : OP-1a
Format settings : Closed / Complete
File size : 1.07 GiB
Duration : 17 s 720 ms
Overall bit rate : 519 Mb/s
Encoded date : 2021-01-24 15:50:43.000
Writing application : Sony Mem 2.00
Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:2:2 Intra@L5.2
Format settings, CABAC : No
Format settings, GOP : N=1
Format settings, wrapping mode : Frame
Codec ID : 0D01030102106001-0401020201323001
Duration : 17 s 720 ms
Bit rate : 510 Mb/s
Maximum bit rate : 500 Mb/s
Width : 4 096 pixels
Height : 2 160 pixels
Display aspect ratio : 1.896
Frame rate : 50.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 1.152
Stream size : 1.05 GiB (98%)
Color range : Limited
colour_range_Original : Full
Color primaries : BT.709
Transfer characteristics : BT.601
Matrix coefficients : BT.709
Audio #1
ID : 3
Format : PCM
Format settings : Little
Format settings, wrapping mode : Frame (AES)
Codec ID : 0D01030102060300-0402020101000000
Duration : 17 s 720 ms
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Frame rate : 50.000 FPS (960 SPF)
Bit depth : 24 bits
Stream size : 2.43 MiB (0%)
Locked : Yes
No, files aren't locked. The app sometimes crashes after 1-2 converted files and sometimes after 20 or more, there is no rule for that. One important thing that I forgot to mention is that all clips are located on mapped network drive and I don't cache them to temp folder.
I will check if running as admin solves the problem.
When I run as admin, I can't add files from mapped network drive.
I see, if network unstability causes the problem, probably only file caching would help, slower but
more reliable.
Anway, you may play with the timeout parameter, for example:
-timeout 10000
and check if that helps.
Adding this parameter didn't help in any way. Network connection is stable, I am connecting to my NAS server, on which I work almost all the time with large video files and photos.
I have downloaded older version 2.3.5 and so far it's working properly without any crashes.
Oh, It's a pity I can't reproduce the issue. Have you tried by chance to use latest version 2.4.1 with ffmpeg version installed by 2.3.5?
Latest version 2.5.0 works without any problem with ffmpeg version from 2.3.5