FFmpeg error

Archived from the Transloadit support forum. Originally posted on November 6, 2013; details may be outdated, see our docs for current behavior. Original thread

Error message:
INTERNAL_COMMAND_ERROR: One of our commands reported an error.

FfmpegCommand failed with exit code: 1

Template code:

{
"steps": {
"mp4_encode_1280": {
"robot": "/video/encode",
"use": ":original",
"realtime": true,
"resize_strategy": "fit",
"width": 1280,
"height": 720,
"result": true,
"ffmpeg": {
"c:v": "libx264",
"c:a": "libfdk_aac",
"b:a": "96k",
"qp": 27
}
},
"mp4_encode_848": {
"robot": "/video/encode",
"use": ":original",
"realtime": true,
"resize_strategy": "fit",
"width": 848,
"height": 480,
"result": true,
"ffmpeg": {
"c:v": "libx264",
"c:a": "libfdk_aac",
"b:a": "96k",
"qp": 27
}
},
"mp4_encode_640": {
"robot": "/video/encode",
"use": "mp4_encode_848",
"realtime": true,
"resize_strategy": "fit",
"width": 640,
"height": 360,
"result": true,
"ffmpeg": {
"c:v": "libx264",
"c:a": "libfdk_aac",
"b:a": "96k",
"qp": 27
}
},
"thumb_big": {
"use": ":original",
"result": true,
"robot": "/video/thumbs",
"count": 1
},
"thumb_848": {
"use": "thumb_big",
"result": true,
"robot": "/image/resize",
"width": 670,
"height": 380,
"resize_strategy": "fit"
},
"small_thumbs": {
"use": "thumb_big",
"robot": "/image/resize",
"result": true,
"width": 293,
"height": 165,
"resize_strategy": "fit"
}
}
}

We don’t need presets and we set parametres directly to Ffmpeg but get the error.

Hey Evgeny,

what’s the assembly id?

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Hi Tim,
Assembly REDACTED

REDACTED

As I already wrote to Dmitri, you need to add “ffmpeg_stack”: “v2.0.0” to all your /video/encode steps, because you are using ffmpeg parameters that the Transloadit ffmpeg stack you are using (v1.0.0) does not support.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Assembly REDACTED
Not recognize QP parameter.

Assembly REDACTED
The same error

Assembly REDACTED
not recognize c:v parameter

For ‘c:v’ I changed to vcodec
But ‘qp’ - that is very strange error.
And very important parameter for us…

Жень будь с ними на связи постоянно по средствам:

  1. Email

  2. Ответов на самом сайте суппорта
    Просто иначе можно проебать момент. Как ты видишь они не самые быстрые ребята

Best regards,

Dmitri Kozhevnikov
Radiant Studio
305 904 5160
www.theradiantstudio.com<http://www.theradiantstudio.com/>

[email-signature]

I am sorry, I only understand English.

Oh, sorry – I thought I replied to my developer :wink:

From: sfxws2006

Assembly REDACTED
Not recognize QP parameter.

Assembly REDACTED
The same error

Assembly REDACTED
not recognize c:v parameter

For ‘c:v’ I changed to vcodec
But ‘qp’ - that is very strange error.
And very important parameter for us…

Best regards,

Dmitri Kozhevnikov
Radiant Studio
305 904 5160
www.theradiantstudio.com<http://www.theradiantstudio.com/>

[email-signature]

Hey Tim,
I wrote in English and full question.
And currently we didn’t get response.
Evgeny.

The “ffmpeg_stack” parameter needs to be on the same level as “robot”.

We are currently testing

Alright, please let us know how it goes. I am closing this ticket in the meantime. Feel free to re-open it.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Currently problem solved.

Evgeny.

Okay, great!