Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature instagram profile #201

Closed
purencool opened this issue May 20, 2016 · 22 comments
Closed

Feature instagram profile #201

purencool opened this issue May 20, 2016 · 22 comments
Labels
💡 enhancement This issue describes an improvement, enhancement, or feature request for OpenShot stale This issue has not had any activity in 60 days :(

Comments

@purencool
Copy link

Currently I have created a small video for instagram however it does not mater what format I export it as it won't work. I am wondering could you create a profile that would automatically export it into an instagram or twitter video?

@ghost ghost added the 💡 enhancement This issue describes an improvement, enhancement, or feature request for OpenShot label Feb 26, 2017
@ghost
Copy link

ghost commented Feb 26, 2017

Have you tried looking up the standard format for Instagram videos?

@peanutbutterandcrackers
Copy link
Contributor

@JtLively whoa! We had moderators other than @DylanC too? Please do make a return to help OpenShot again!

@gary9872
Copy link

I took a stab at a profile for instagram.

You can try it here:

https://github.com/gary9872/openshot-presets-testing

@peanutbutterandcrackers
Copy link
Contributor

@gary9872 - Awesome! Thank you!

@DylanC - You might want to take a look at this, cap'ain! I don't have neither twitter, nor instagram... :D

@DylanC
Copy link
Collaborator

DylanC commented Mar 11, 2018

@peanutbutterandcrackers - I don't have Instagram either but I will put in a PR sometime soon enough. I will just leave this link here for myself, as I need to know the video spec.

http://support.schedugr.am/support/solutions/articles/1000201572-instagram-video-specifications

@peanutbutterandcrackers
Copy link
Contributor

@DylanC - Awesome!

@wes-novack
Copy link

Has anyone successfully utilized the instagram video profile/settings contained here? https://github.com/gary9872/openshot-presets-testing

@DylanC
Copy link
Collaborator

DylanC commented Aug 10, 2018

@wes-novack - I haven't yet but if I want to get the instagram profile added to the source code I will need to test it first.

@wes-novack
Copy link

wes-novack commented Aug 10, 2018

I had a lot of trouble until I set the audio to "aac" (from ac3). After that, Instagram was happy with the video that I uploaded (mp4 libx264, 1080p 29.97fps, 5Mbps bit rate).

@DylanC
Copy link
Collaborator

DylanC commented Aug 11, 2018

@wes-novack - Yes, we shouldn't ever really use ac3. We made a change to this a while back:
#1747

Good to hear it worked! 👍

@DylanC
Copy link
Collaborator

DylanC commented Aug 14, 2018

@purencool @wes-novack - Instagram and Twitter presets have now been added. Thanks @gary9872 , I based them on your link above.

@DylanC DylanC closed this as completed Aug 14, 2018
@plieningerweb
Copy link

just to note, tried this as well. But preview video was still horizontal

see me notes at https://gist.github.com/plieningerweb/05ebc827d0bf72b05c0bac70a1b391ac

@DylanC
Copy link
Collaborator

DylanC commented Oct 29, 2019

@ferdnyc - Instagram profile may need to be updated based on the comment above ^.

@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 29, 2019

The instagram preset itself is fine, the issue seems to be that it list six profile options:

<projectprofile>HD 720p 25 fps</projectprofile>
<projectprofile>HD 720p 30 fps</projectprofile>
<projectprofile>HD 1080p 25 fps</projectprofile>
<projectprofile>HD 1080p 30 fps</projectprofile>
<projectprofile>HD Vertical 720p 30fps</projectprofile>
<projectprofile>HD Vertical 1080p 30fps</projectprofile>

The problem is, those last two don't.. um... exist.

They can be created, and that may solve this. But another part of the issue is, if the user's input video is created in the usual cellphone manner (recorded as a horizontal video at 1920×1080 or similar HD format, but encoded with metadata that rotates it 90°), it would probably be better to create the export video the same way, rather than actually rotating it, then exporting a 1080×1920 video with no rotation. And libopenshot isn't well set up to do that. (See OpenShot/libopenshot#322.)

Still, creating the vertical profiles should help some, I'll do that now.

@ferdnyc ferdnyc reopened this Oct 29, 2019
@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 29, 2019

I've created #3054 to add the vertical profiles. @plieningerweb if you'd like to test them now, the attached zip file contains both new profile files, which will be picked up by OpenShot if they're added to the .openshot_qt/profiles/ directory in your user homedir. (You may have to create the profiles directory if it doesn't already exist.)

vertical-profiles.zip

@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 29, 2019

Hmf. Those are really hard to find, our profile list is getting too long. I wonder if it would be better to rename them "Vertical HD 720p 30 fps" and "Vertical HD 1080p 30 fps" so they don't get lost in all the rest of the "HD" options?

@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 29, 2019

#3054 is merged, so for testing purposes the next set of Daily Builds will also include the vertical profiles.

@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 29, 2019

Whoops. Well, the presets required a quick fix, but #3055 is also merged, so now the vertical profiles should be usable in the Daily Builds.

@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 30, 2019

@plieningerweb

I took a look at the Gist you posted — excellent idea, BTW, I wish more users would supply us with that kind of information, it helps us help them.

Too many of our bug reports go something more like, "I worked on my project for 6 hours, then exported a video and it came out wrong!!!!!!!!!!1!!!!!one!!!". As sympathy-inducing as that statement obviously is, there's still nothing we can actually fix there, so unsurprisingly whatever issue the user encountered will still be an issue 6 months later when some other user encounters it and replies, "ME2!!!! Y U NO FIX YET???" 🙄

Aaaanyway... I did have a couple of comments/questions.

  1. I can't explain why the preview video would've formatted horizontally for you, if you were using the custom 720×1420 profile you mentioned. When I activate one of the built-in "HD Vertical" profiles in the development version of OpenShot (now that they're there), the preview definitely reformats.

    With my default "HD 720p 30 fps" profile:
    image

    After switching to "HD Vertical 720p 30 fps":
    Screenshot from 2019-10-30 06-02-57

    The only thing I can think of that might matter: What version of OpenShot are you running? Preview aspect ratio changes were somewhat broken in versions prior to... either 2.4.4 or 2.4.3, I can't recall. But if you're running 2.4.4, or certainly if you're working off one of the Daily Builds, the aspect ratio should change to match your project's current profile.

  2. Speaking of project profiles: There's no reason to change the Default Profile in the Settings and restart OpenShot, just to work in a different profile. Each project has its own profile setting. ("Default Profile" is exactly that — it's the one that's initially selected, but you can change it at any time.) And even changing the Default Profile won't affect the profile used on existing saved projects.

    To set the profile for an individual project (either when first creating it, or one that's already in progress), you can either select File > Choose Profile... from the menu, or use the toolbar icon two in from the right side (between "Import Files" and "Fullscreen". It'll bring up a profile selection dialog window (as seen in my second screenshot).

  3. Post-processing your exports with ffmpeg -vcodec libx264 -crf 24 to reduce the export size is a clever workaround! But if your only reason for postprocessing is to reencode at CRF 24 quality, it's actually possible to eliminate that step and just export directly from OpenShot with the same parameters. All it requires is that you be willing to delve into the Advanced configuration for the Export window.

    In Export's Advanced view, the High/Medium/Low Quality selector is replaced by direct fields for all of the output parameters, including (in the "Video Settings" pane) the "Bit Rate / Quality" field. If you have "Instagram" selected in the Simple tab as the "Target" preset, and "High" selected for Quality, "Bit Rate / Quality" will initially be filled in with "5.50 Mb/s", most likely. But OpenShot will export with exactly the same parameters, if you edit that field to contain "crf 24". (Lowercase 'crf', a space, and then the number 24 — I'm not sure how picky it is, so best not to deviate.) That should result in Export creating a file roughly the same size and quality as the result of your ffmpeg post-processing command. I'd be interested to hear the results if you try it out.

    Like I said, (I didn't say that at all. Until I said it here, I mean. I'd originally intended to say it earlier, then reiterate it here, but I edited out the bit where I said it the first time. Regardless, I'm saying it now...:) that feature's currently undocumented, and that's kind of shameful. But the x265 presets do make use of it internally for their High/Medium/Low Quality levels, and though the rest of the codecs are all fixed-bitrate configurations, at least x264 supports it — I believe in 2.4.4 release, and definitely in the devel code (Daily Builds). We still really need to both make variable bitrate encoding more available to users (so they can use it even from Export's Simple tab), and better-explained in the existing interface (such that it is).

@plieningerweb
Copy link

@ferdnyc

Thank you for that extensive and awesome answer! I think that will help a lot of other users as well.

Regarding your point 2, preview for me did not change after applying my custom vertical instagram option. I use the appimage version 2.4.4

Screenshot from 2019-10-30 15-46-11
Screenshot from 2019-10-30 15-45-01

I could not find the preset "HD Vertical 720p 30 fps" you have chosen, maybe it is only in the dev version.

regarding 2 and 3: thanks for the tipps! Totally makes sense!

@ferdnyc
Copy link
Contributor

ferdnyc commented Oct 30, 2019

Not a problem, hope it was some help.

I could not find the preset "HD Vertical 720p 30 fps" you have chosen, maybe it is only in the dev version.

Most definitely, in fact it wasn't even there until I merged #3054 yesterday. But I can't explain why your custom profile wouldn't have worked as well. Perhaps it's just that this wasn't fixed until after 2.4.4 was released, there are definitely a lot of bugs in that category. Hopefully we'll be getting a new release out to address all of those, though I can't predict when.

@stale
Copy link

stale bot commented Oct 26, 2020

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.
This issue will be closed, as it meets the following criteria: - No activity in the past 180 days - No one is assigned to this issue
We'd like to ask you to help us out and determine whether this issue should be reopened. - If this issue is reporting a bug, please can you attempt to reproduce on the latest daily build to help us to understand whether the bug still needs our attention. - If this issue is proposing a new feature, please can you verify whether the feature proposal is still relevant.
Thanks again for your help!

@stale stale bot added the stale This issue has not had any activity in 60 days :( label Oct 26, 2020
@stale stale bot closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement This issue describes an improvement, enhancement, or feature request for OpenShot stale This issue has not had any activity in 60 days :(
Projects
None yet
Development

No branches or pull requests

7 participants