Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

TD rendered video in Instagram posts

General discussion about anything TouchDesigner

TD rendered video in Instagram posts

Postby timrolls » Fri Jul 19, 2019 10:09 pm

Not explicitly a TD issue, but I've had no luck researching the instagram side.

By some arcane magic, it seems a gamble whether audio/video clips I render in TD will post properly on Insta. The most common issue I'm running into is that they work fine, audio and all while preparing a post, but once posted show as "this post has no audio". Only results on the instagram side are people with their phone audio muted.

I've tried multiple codecs, and directly downloading to my phone before posting, all with no luck. This is only a problem with videos rendered from TD.

Has anyone found a consistent set of settings that work?

One workaround is filming the screen, but the quality is awful that way.
timrolls
 
Posts: 5
Joined: Thu Apr 21, 2016 6:34 pm

Re: TD rendered video in Instagram posts

Postby jmt4zj » Sun Jul 21, 2019 11:26 pm

I haven't tried these settings in a while, but a few months back I sat down with the official Instagram specifications and made a media encoder preset that seemed to work great for some promos. Stories are 1080x1920, and posts are 1080x1080.

Format:
H.264

Video:
VBR, 2pass
Target 3.50 Mbps / Max 4.00 Mbps (Seems low, but instagram definitely re-encodes if you go over this)
Frame Rate 29.97

Audio:
AAC, 160 kbps, 44 Khz, Mono, Audio Quality:High

Render at Maximum Depth
Use Maximum Render Quality
Jonathan Thompson
@pointshader
http://pointshader.com
User avatar
jmt4zj
 
Posts: 160
Joined: Mon Nov 01, 2010 3:15 am
Location: NYC

Re: TD rendered video in Instagram posts

Postby timrolls » Wed Jul 31, 2019 5:18 am

Just did some more testing, and it seems like it's the AAC codec that was causing issues.
I could swear I've used MP3 on insta with no issues before. And especially weird that it did still play while previewing/prepping the post.

Since TD doesn't support AAC encoding directly, that adds an additional step of transcoding your audio, but not the wort thing in the world.

Any chance we'll get AAC encoding in TD?
timrolls
 
Posts: 5
Joined: Thu Apr 21, 2016 6:34 pm

Re: TD rendered video in Instagram posts

Postby Timesquid » Fri Aug 09, 2019 11:57 pm

BUMP'

+1 I would really really really appreciate AAC audio codec.
Timesquid
 
Posts: 122
Joined: Wed Jan 04, 2012 8:08 pm

Re: TD rendered video in Instagram posts

Postby matthewwachter » Mon Aug 12, 2019 7:00 pm

Yeah I've had some issues with audio on TD renders with various delivery formats. iPhones in particular are really picky about what h264 profile you are using.

Typically my process is to render as animation codec and convert using ffmpeg like so:

Code: Select all
   pfolder = project.folder
   filename = 'some_file_name'
   video = pfolder + '/edits/' + str(filename) +'.mov'
   outvideo = pfolder + '/exports/' + str(filename) +'.mp4'
   cmd = 'C:\\ffmpeg\\bin\\ffmpeg.exe -y -i ' + video + ' -vcodec libx264 -profile:v main -level 3.1 -preset slow -crf 23 -x264-params ref=4 -acodec aac -movflags +faststart ' + outvideo
   o = os.system(cmd)
matthewwachter
 
Posts: 295
Joined: Fri Jul 08, 2011 3:18 pm
Location: Los Angeles


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 19 guests