i'm havin trouble with the conversion, every time i try to convert my mp4 file i get a ton of errors in the terminal:
Impossible to convert between the formats supported by the filter 'Parsed_colorspace_1' and the filter 'auto_scale_0'
[vf#0:0 @ 0000017cdcc5ee00] Error reinitializing filters!
[vf#0:0 @ 0000017cdcc5ee00] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 0000017cdcc5ee00] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/mpeg4 @ 0000017cdf8926c0] [enc:mpeg4 @ 0000017cdf892d80] Could not open encoder before EOF
[vost#0:0/mpeg4 @ 0000017cdf8926c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/mpeg4 @ 0000017cdf8926c0] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0000017cdcb8ba40] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
[aac @ 0000017cdcbcac80] Qavg: 2046.967
Conversion failed!
and it generates an empty mp4 file, how do i fix this?
i'm using the following code:
Code:
ffmpeg -i input.mp4 -f mp4 -vf "fps=24000/1001, colorspace=space=ycgco:primaries=bt709:trc=bt709:range=pc:iprimaries=bt709:iall=bt709, scale=256:144" -dst_range 1 -color_range 2 -vcodec mpeg4 -profile:v 0 -level 8 -q:v 2 -maxrate 500k -acodec aac -ar 32k -b:a 64000 -ac 1 -slices 1 -g 50 output.mp4