Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104374 > unrolled thread
| Started by | semeon.risom@gmail.com |
|---|---|
| First post | 2016-03-08 17:32 -0800 |
| Last post | 2016-03-09 11:46 -0800 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.lang.python
Creating barrel distortion of video semeon.risom@gmail.com - 2016-03-08 17:32 -0800
Re: Creating barrel distortion of video Ben Finney <ben+python@benfinney.id.au> - 2016-03-09 12:45 +1100
Re: Creating barrel distortion of video semeon.risom@gmail.com - 2016-03-09 11:46 -0800
Re: Creating barrel distortion of video Chris Angelico <rosuav@gmail.com> - 2016-03-09 12:52 +1100
Re: Creating barrel distortion of video Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-03-09 15:27 +1100
Re: Creating barrel distortion of video semeon.risom@gmail.com - 2016-03-09 11:46 -0800
| From | semeon.risom@gmail.com |
|---|---|
| Date | 2016-03-08 17:32 -0800 |
| Subject | Creating barrel distortion of video |
| Message-ID | <837ce225-4dbb-43c5-b473-273e73d89263@googlegroups.com> |
Hello - This may seem like an odd request for the main python google group, but I thought this question might have answers coming from different backgrounds that utilize python. I'm trying to find a way of rendering an optical distortion on a video I will be presenting through the use of a head-mounted display. This distortion is necessary to correct the video due to the optics being used. Any advice on a module(s) or examples that already do this? - Semeon
[toc] | [next] | [standalone]
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2016-03-09 12:45 +1100 |
| Message-ID | <mailman.64.1457487966.15725.python-list@python.org> |
| In reply to | #104374 |
semeon.risom@gmail.com writes: > This may seem like an odd request for the main python google group (Note that this is not a Google group. Google may be presenting this forum to you, but it's not exclusive to Google and many of us don't participate there.) > but I thought this question might have answers coming from different > backgrounds that utilize python. Your question is fine for this forum. Thanks for investigating Python! > I'm trying to find a way of rendering an optical distortion on a video > I will be presenting through the use of a head-mounted display. This > distortion is necessary to correct the video due to the optics being > used. Any advice on a module(s) or examples that already do this? I have no experience with such a library. Possible candidates include: * moviepy: Video editing with Python <URL:https://pypi.python.org/pypi/moviepy/> * pygame: wrapper module for the SDL multimedia library <URL:https://pypi.python.org/pypi/Pygame/1.7.1> -- \ “Holy hole in a donut, Batman!” —Robin | `\ | _o__) | Ben Finney
[toc] | [prev] | [next] | [standalone]
| From | semeon.risom@gmail.com |
|---|---|
| Date | 2016-03-09 11:46 -0800 |
| Message-ID | <4d40299a-2c77-4b2b-bddf-754f67c21398@googlegroups.com> |
| In reply to | #104375 |
On Tuesday, 8 March 2016 19:46:18 UTC-6, Ben Finney wrote: > semeon.risom@gmail.com writes: > > > This may seem like an odd request for the main python google group > > (Note that this is not a Google group. Google may be presenting this > forum to you, but it's not exclusive to Google and many of us don't > participate there.) > > > but I thought this question might have answers coming from different > > backgrounds that utilize python. > > Your question is fine for this forum. Thanks for investigating Python! > > > I'm trying to find a way of rendering an optical distortion on a video > > I will be presenting through the use of a head-mounted display. This > > distortion is necessary to correct the video due to the optics being > > used. Any advice on a module(s) or examples that already do this? > > I have no experience with such a library. Possible candidates include: > > * moviepy: Video editing with Python > <URL:https://pypi.python.org/pypi/moviepy/> > > * pygame: wrapper module for the SDL multimedia library > <URL:https://pypi.python.org/pypi/Pygame/1.7.1> > > -- > \ "Holy hole in a donut, Batman!" --Robin | > `\ | > _o__) | > Ben Finney I'll check both of these out. Thank you
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2016-03-09 12:52 +1100 |
| Message-ID | <mailman.65.1457488379.15725.python-list@python.org> |
| In reply to | #104374 |
On Wed, Mar 9, 2016 at 12:32 PM, <semeon.risom@gmail.com> wrote: > This may seem like an odd request for the main python google group, but I thought this question might have answers coming from different backgrounds that utilize python. > > I'm trying to find a way of rendering an optical distortion on a video I will be presenting through the use of a head-mounted display. This distortion is necessary to correct the video due to the optics being used. Any advice on a module(s) or examples that already do this? > Hi! Seems like a perfectly reasonable request; there are tens of thousands of packages listed on the Python Package Index, and this mailing list is one of the best places to find advice! Are you playing the video in real-time, or is it stored in a file that you'll end up playing? If the latter, I would recommend looking into FFMpeg (or its fork AVConv), which has an insane number of features, and quite likely has what you want. It'll read in a file and write out a file. If it's real-time, though, I'm not sure what's best to do. Do you know exactly what distortion you're trying to perform here? ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2016-03-09 15:27 +1100 |
| Message-ID | <56dfa629$0$11110$c3e8da3@news.astraweb.com> |
| In reply to | #104376 |
On Wednesday 09 March 2016 12:52, Chris Angelico wrote: > On Wed, Mar 9, 2016 at 12:32 PM, <semeon.risom@gmail.com> wrote: >> This may seem like an odd request for the main python google group, but I >> thought this question might have answers coming from different >> backgrounds that utilize python. >> >> I'm trying to find a way of rendering an optical distortion on a video I >> will be presenting through the use of a head-mounted display. This >> distortion is necessary to correct the video due to the optics being >> used. Any advice on a module(s) or examples that already do this? >> > > Hi! Seems like a perfectly reasonable request; Actually, it doesn't seem like a reasonable request to me. There's nothing in the OP's question that suggests that he needs a Python library to do this. In fact, your first suggestion: > I would recommend looking into FFMpeg (or its fork AVConv) has nothing to do with Python. Unless the OP specifically needs to do this through Python, I would recommend asking on forums specifically about video editing. > If it's real-time, though, I'm not sure what's best to do. Do you know > exactly what distortion you're trying to perform here? "Barrel distortion", like the subject line says :-) -- Steve
[toc] | [prev] | [next] | [standalone]
| From | semeon.risom@gmail.com |
|---|---|
| Date | 2016-03-09 11:46 -0800 |
| Message-ID | <1dac7e20-0463-4bb2-a81a-08ac3e5fea42@googlegroups.com> |
| In reply to | #104376 |
On Tuesday, 8 March 2016 19:53:10 UTC-6, Chris Angelico wrote: > On Wed, Mar 9, 2016 at 12:32 PM, <semeon.risom@gmail.com> wrote: > > This may seem like an odd request for the main python google group, but I thought this question might have answers coming from different backgrounds that utilize python. > > > > I'm trying to find a way of rendering an optical distortion on a video I will be presenting through the use of a head-mounted display. This distortion is necessary to correct the video due to the optics being used. Any advice on a module(s) or examples that already do this? > > > > Hi! Seems like a perfectly reasonable request; there are tens of > thousands of packages listed on the Python Package Index, and this > mailing list is one of the best places to find advice! > > Are you playing the video in real-time, or is it stored in a file that > you'll end up playing? If the latter, I would recommend looking into > FFMpeg (or its fork AVConv), which has an insane number of features, > and quite likely has what you want. It'll read in a file and write out > a file. > > If it's real-time, though, I'm not sure what's best to do. Do you know > exactly what distortion you're trying to perform here? > > ChrisA It'll be a barrel distortion. I won't need real time processing, and I'll be sure to check out both FFMpeg and it's fork. Thank you!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web