# Multiple transcod..

**URL:** <https://community.transloadit.com/t/multiple-transcod/18059>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [January 25, 2012, 11:26am UTC](https://community.transloadit.com/t/multiple-transcod/18059 "2012-01-25T11:26:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [January 25, 2012, 11:26am UTC](https://community.transloadit.com/t/multiple-transcod/18059/1 "2012-01-25T11:26:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on January 25, 2012; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20120429095730/http://support.transloadit.com/discussions/questions/438-multiple-transcod)

Good morning.  
I am actually working with your templates and I have several questions.. I need to transcode avi, mp4, mpeg,.. and also different audio codecs ( mp3, aac, wav.. )

The question would be: Can I transcode any input video with a single ffmpeg command? Or do I have to make a kind of swtich considering every input format?

Do you have standard commands for avis, mp4, etc so you can help me?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [January 25, 2012, 12:38pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/2 "2012-01-25T12:38:00Z")

</div>

Hey jcivit,

for all the different formats you want to encode into, you’d have to add one encoding step to your template. You may be able to use some of our presets for some of your steps. Please check out the video encode docs here: [http://transloadit.com/docs/video-encode](http://transloadit.com/docs/video-encode) and the video encoding demos here: [http://transloadit.com/demos](http://transloadit.com/demos)

Presets can be partially overwritten by adding the “ffmpeg” parameter to your encoding step. Again plz check the video encode robot docs.

Let me know if this helps. 🙂

Kind regards  
Tim

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [January 25, 2012, 3:26pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/3 "2012-01-25T15:26:00Z")

</div>

Hi Tim!

First of all, thank you for your answer. I am checking best encoding ‘rules’ for each format.

```auto
"video_preview": {
    "use": ":original",
    "robot": "/video/encode",
    "width": 620,
    "height": 360,
    "ffmpeg": {
      "f": "mp4",
       "vcodec": "libx264",
       "b": "2000K",
       "aspect": "16:9",
       "acodec": "libmp3lame",
        "t": 5
    }
},

```

I am trying this one, but I get an error at the end of the procces, but no info about it.

Maybe the error is when I try to keep the aspect ratio?

Thanks

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [January 25, 2012, 3:54pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/4 "2012-01-25T15:54:00Z")

</div>

Hey Josep,

well the aspect ratio should be kept by default. You should only add the parameter if you want to change it.

Can you provide the assembly’s id? Then I can take a look at what the problem was.

Kind regards  
Tim

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [January 25, 2012, 4:10pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/5 "2012-01-25T16:10:00Z")

</div>

REDACTED

This Id is the last ‘compiled’ assembly, and I get an error.

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [January 25, 2012, 4:11pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/6 "2012-01-25T16:11:00Z")

</div>

File for preset ‘max’ not found… Now I see I can check assemblies…

SORRy… I dont want to waste other people time…

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [January 25, 2012, 5:25pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/7 "2012-01-25T17:25:00Z")

</div>

Hey Josep,

unfortunately we do not support vpre: max yet. : /

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [January 26, 2012, 3:21pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/8 "2012-01-26T15:21:00Z")

</div>

Hi again, I always get this error: Error while opening encoder for output stream [#0](http://support.transloadit.com/discussions/questions/0 "Discussion #0").0 - maybe incorrect parameters such as bit\_rate, rate, width or height

ID\_ assembly: REDACTED

ffmpeg -i 720p.mov -vcodec libx264 -s 1366x768 -b 2000k -acodec libfaac -ab 128k output.mp4

This works perfect under my linux but not here…

Thanks…

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [January 26, 2012, 4:11pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/9 "2012-01-26T16:11:00Z")

</div>

Hey Josep,

can you remove the “aspect” parameter from your ffmpeg settings in your template and then try again please? Since you have specified a width and height, this should not be necessary.

Kind regards  
Tim

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [February 3, 2012, 11:45am UTC](https://community.transloadit.com/t/multiple-transcod/18059/10 "2012-02-03T11:45:00Z")

</div>

Hi again Tim,

Yesterday I made a test against the video\_ALL\_IN\_ONE template. The assemblie ID for this template is REDACTED

The question is that it took 17 min to upload convert and save a 8 seg file ( 10MB ) which I think its not too big. The upload took 1 minute, so the rest is for transcoding, and the template did not require “too much effort”.

I wonder why i took that time for the transcoding.. The same transcoding in a virtual ubuntu took less than 1 second for a 442MB file..

Thank you.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [February 3, 2012, 12:27pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/11 "2012-02-03T12:27:00Z")

</div>

Hey Josep,

thanks for getting in touch. The problem is that one of our high-profile clients ran a large import yesterday which caused elevated queue times.

Sorry about that. We constantly investigate different ways to keep queue times low.

Kind regards  
Tim

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [February 3, 2012, 1:29pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/12 "2012-02-03T13:29:00Z")

</div>

Hi Tim,

We are a company, ACV Global. We are setting up a new project and we are evaluating Transload IT. We offer to our customers a 24x7 service. We can  
NOT support these long delays. Which is your level of commitment? Can you provide us a written SLA?

Thank you,

Josep.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [February 3, 2012, 1:57pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/13 "2012-02-03T13:57:00Z")

</div>

Hey Josep,

I’d love to, but since we offer our customers and potential customers (like you) the ability to run large imports any time without prior written notice, we cannot offer an SLA that concerns queue times.

We have very low queue times most of the time. But our load is pretty unpredictable.  
If you demand a dedicated encoding solution I’d recommend [pandastream.com](http://pandastream.com). They offer you the ability to have a dedicated encoding machine that you can use. It’s $99 per month (our pricing starts at $19).

If your users use up the machine themselves you’d have to add another machine manually - for another $99 per month. So you are more or less in charge of the scaling yourself, which is not good and that’s not what cloud services are for.

We provide scaling on demand without you having to worry about it. If we are hit by an unexpected high load, which happens very rarely, there is little we can do, other than starting many machines automatically to catch up on the queue.

Having said this, If you’d like to reconsider your opinion, please let me know. We can also schedule a skype call where I can further explain this and the benefits of using Transloadit over our competition.

Kind regards,  
Tim

PS: If you’d like an SLA about the service itself without the queue times, we can def. work something out.

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [February 13, 2012, 11:41am UTC](https://community.transloadit.com/t/multiple-transcod/18059/14 "2012-02-13T11:41:00Z")

</div>

Hi again Tim!

Good morning, at least here in Barcelona!

I am traying a template and when i test it i got an error result, assembly # REDACTED. It says, “Error while opening encoder for output stream [#0](http://support.transloadit.com/discussions/questions/0 "Discussion #0").0 - maybe incorrect parameters such as bit\_rate, rate, width or height”

I checked these parameters and seems that they are ok! Any idea?

Thank you!

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [February 13, 2012, 1:21pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/15 "2012-02-13T13:21:00Z")

</div>

Hey Josep,

can you try adding

vpre: “medium”

to your ffmpeg settings please?

---

<div class="post-metadata">

**Author:** ![Josep](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Josep](https://community.transloadit.com/u/Josep)\
**Post date:** [February 13, 2012, 3:37pm UTC](https://community.transloadit.com/t/multiple-transcod/18059/16 "2012-02-13T15:37:00Z")

</div>

The system is stuck… At 4:09pm I started uploading, at 4:11 ended uploading and started transcoding. Still waiting for results…

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [March 5, 2012, 8:24am UTC](https://community.transloadit.com/t/multiple-transcod/18059/17 "2012-03-05T08:24:00Z")

</div>

> The system is stuck… At 4:09pm I started uploading, at 4:11 ended uploading and started transcoding. Still waiting for results…

Do you have an assembly id for this?

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [March 31, 2012, 9:02am UTC](https://community.transloadit.com/t/multiple-transcod/18059/18 "2012-03-31T09:02:00Z")

</div>

Hey Josep,

did you see Felix’ reply?

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [April 18, 2012, 9:24am UTC](https://community.transloadit.com/t/multiple-transcod/18059/19 "2012-04-18T09:24:00Z")

</div>

Closing this for now. Please feel free to reopen the ticket as you see fit.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 9:56am UTC](https://community.transloadit.com/t/multiple-transcod/18059/20 "2026-10-07T09:56:58Z")

</div>


