Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #109800
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | alex wright <wrightalexw@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: movie from pictures |
| Date | Fri, 10 Jun 2016 17:31:56 -0400 |
| Lines | 37 |
| Message-ID | <mailman.143.1465594319.2306.python-list@python.org> (permalink) |
| References | <e2c6ea94-99da-45ee-a2a9-fd3613b1a318@googlegroups.com> <7e57c662-a6c2-441d-a46e-49458439250f@googlegroups.com> <16301530-a24b-42c6-bcf6-007c4eb85aca@googlegroups.com> <njce7v$lni$1@ger.gmane.org> <d70b41fd-7e11-343a-7e1e-258b8c3cd838@mrabarnett.plus.com> <CAJpBq5Ok0MSb86WXHYeYpHeG75KESQ-Uqmaya0JY0WPJLQVE3g@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de VtGZZHYuO7HyPys52ujRAgU/Np9mcOsYUylefXFzx1CQ== |
| Return-Path | <wrightalexw@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.040 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'preferable': 0.09; 'python': 0.10; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subprocess': 0.16; 'wrote:on': 0.16; 'wrote:': 0.16; 'variable': 0.18; '>>>': 0.20; 'skip:" 30': 0.20; 'arguments': 0.22; 'pass': 0.22; 'tried': 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'separate': 0.27; 'message- id:@mail.gmail.com': 0.27; 'cases.': 0.29; 'command-line': 0.29; 'code:': 0.29; 'url:mailman': 0.30; 'work.': 0.30; 'useful': 0.33; 'url:python': 0.33; 'lets': 0.33; 'skip:- 10': 0.34; 'url:listinfo': 0.34; 'file': 0.34; 'list': 0.34; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'skip:c 30': 0.35; 'list:': 0.35; 'path': 0.35; 'something': 0.35; 'reply.': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'received:209': 0.38; 'names': 0.38; 'thank': 0.38; 'subject:from': 0.39; 'received:209.85.214': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'your': 0.60; 'more': 0.63; 'otten': 0.84; 'received:209.85.214.47': 0.84; 'hand,': 0.97 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=GjFQOzgSTCHBHGXkwVIsTTrEsgN/ApzDoEP39MgcCAE=; b=dcTd00MDsSqVVbzFYT9UvUBFs8FGt833wSVelitJG39zrREFjwcJpB0EQ6Jn2QSf8+ EO3mMRLRy8fR5l5AFpT8JgW9MP+kQdttYdowow724D1jtn8WWtCsBHpPP3jGGn9SGZN3 aDmVwOS8/JnNppniG8zOWazDAPSPXAiwHmy/EBk+4iQYgfpTkypcHfH01nHbVgI5FrzI IhcIvjXfJ3lR/dgFO7j13b90qM5Jr1chQdNHqk20xlpBkntnlsdgbfN5FMkYOFExPwyh MqmRpOF0mavKqTx7R2gFOTGEWd7VOIBO30CbKpdR/0fBq7+9BXOYy/j+KS9OetqcevDq bckw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=GjFQOzgSTCHBHGXkwVIsTTrEsgN/ApzDoEP39MgcCAE=; b=YLn1mcKJxJG5dmhuTf67SVfxqo3d1wcD0BLxOAOI5Edb2E1pWR3qrkg9jfyfXF7pAE nt9rQph/J/qWCp7+8gQqzpfwoekG7MzHSSPVDP0JX9TtAKwbYqq+GTVcxdF8j3rqgEuR TH4PsCe6Rwrirs+p6KnI8L9dtKxftTtsPseIKOi0MSaPPQSahvzrAP+e6cyzZJy36QTQ qC6MmJZWBHl6GtImZk3kc5quB3PXPmjywE2E0gRXIRlrCjjmj1blFENxFB+ImLKb1hqC JcRcC9+ac/krVHejlgTg8zjroogUC82O4oW+ZDVcQuxLzBiPJ7GZEmApzkXO7D0rgLwe pNpg== |
| X-Gm-Message-State | ALyK8tKcInI3P1mra7RsLsiAhSYAihvc5EjJigVMHmlONCSGlhnkNKQoCI0Sn+44gmQHmYSiTNoOzVLg4xDjcQ== |
| X-Received | by 10.36.122.210 with SMTP id a201mr1917118itc.13.1465594316272; Fri, 10 Jun 2016 14:31:56 -0700 (PDT) |
| In-Reply-To | <d70b41fd-7e11-343a-7e1e-258b8c3cd838@mrabarnett.plus.com> |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.22 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAJpBq5Ok0MSb86WXHYeYpHeG75KESQ-Uqmaya0JY0WPJLQVE3g@mail.gmail.com> |
| X-Mailman-Original-References | <e2c6ea94-99da-45ee-a2a9-fd3613b1a318@googlegroups.com> <7e57c662-a6c2-441d-a46e-49458439250f@googlegroups.com> <16301530-a24b-42c6-bcf6-007c4eb85aca@googlegroups.com> <njce7v$lni$1@ger.gmane.org> <d70b41fd-7e11-343a-7e1e-258b8c3cd838@mrabarnett.plus.com> |
| Xref | csiph.com comp.lang.python:109800 |
Show key headers only | View raw
I find shlex.split to be most useful to make my arguments a list in these cases. On Jun 9, 2016 3:28 PM, "MRAB" <python@mrabarnett.plus.com> wrote: > On 2016-06-09 19:58, Peter Otten wrote: > >> Nev wrote: >> >> Thank you for your reply. I tried something like this in python code: >>> >>> from subprocess import call >>> call(["ffmpeg -framerate 4/1 -start_number 1 -i >>> C:\\Projects\\data2\\img_%05d.png -c:v libx264 -r 30 -pix_fmt yuv420p >>> C:\\Projects\\data2\\movie.mp4"]) >>> >>> But it did not work. I get FileNotFoundError: [WinError 2] The system >>> cannot find the file specified.. >>> >> >> You have to pass the command-line arguments as separate items in the list: >> >> call(["ffmpeg", >> "-framerate", "4/1", >> "-start_number", "1", >> "-i", "C:\\Projects\\data2\\img_%05d.png", >> ... # and so on >> ]) >> >> You should also give it the full path of ffmpeg. > > On the other hand, in-loop solution would be more preferable since it lets >>> me to use variable names of the images and paths.. >>> >> > -- > https://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
movie from pictures nevzat.guler@gmail.com - 2016-06-08 15:11 -0700
Re: movie from pictures Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-08 17:32 -0700
Re: movie from pictures Nev <nevzat.guler@gmail.com> - 2016-06-09 08:54 -0700
Re: movie from pictures Peter Otten <__peter__@web.de> - 2016-06-09 20:58 +0200
Re: movie from pictures MRAB <python@mrabarnett.plus.com> - 2016-06-09 20:25 +0100
Re: movie from pictures alex wright <wrightalexw@gmail.com> - 2016-06-10 17:31 -0400
Re: movie from pictures Karim <kliateni@gmail.com> - 2016-06-11 19:26 +0200
csiph-web