On Wed, Jun 19, 2013 at 6:01 PM, Chad Vernon <chadver...@gmail.com> wrote:

> I'm trying to use ffmpeg to generate a thumbnail for a video.  It works
> just fine when I call it from a python shell and when I test it in "python
> manage.py shell".  However when I try to run from the apache server running
> locally, I get an error:
>
> # normally I call subprocess.call, but for debug here I'm calling
> check_call
> response = subprocess.check_call(['ffmpeg', '-i', self.file.path],
> stderr=fh)
>
> # actual path taken out for brevity
> Command '['ffmpeg', '-i', u'...']' returned non-zero exit status -6
>
>
Can you pastebin de output, when use ffmpeg as subprocess (i did it) you
can get in output what happens, check_output can help you if you want
output in response var.

Regards,


> I've verified that the video path is correct.
>
> Any suggestions?
>
> Thanks!
> Chad
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Cristian Salamea
@ovnicraft

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to