WeBeNinjas
You aren't logged in the forum!


WeBeNinjas
You aren't logged in the forum!

WeBeNinjas - 

Log in

SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
Nintendo Player
tew
class VideoSubmission(models.Model): videoupload = models.FileField (upload_to='videoupload') relatedsubmission = models.ForeignKey(Submission, null=True) comment = models.CharField( maxlength=250, blank=True ) flvfilename = models.CharField( maxlength=250, blank=True, null=True ) def v_addvideo(request, submissionid): manipulator=VideoSubmission.AddManipulator() form=FormWrapper(manipulator,{},{}) params = {'userAccount':request.user,'form':form,} c = Context( request, params) t = loader.get_template('video/addvideo.html') sub = Submission.objects.get(pk=submissionid) params['submission'] = sub return HttpResponse( t.render( c ) )
Video hochladen:
(Nur AVI und FLV werden akzeptiert)
{{ form.videoupload}} {{ form.videoupload_file }}
Kommentar:
ffmpeg -i [sourcefile.avi] -acodec mp3 -ar 22050 -ab 32 -f flv -s 320×240 [destfile.flv]
new_releasesTop posters
Trisyyy (1912)
1912 Posts - 21%
IBN (1603)
1603 Posts - 17%
bw! (1217)
1217 Posts - 13%
Dal (1103)
1103 Posts - 12%
Twizdid (835)
835 Posts - 9%
Yoshi-o (761)
761 Posts - 8%
zapasant93 (700)
700 Posts - 8%
437 Posts - 5%
Reiniekinz (416)
416 Posts - 5%
Bob - 56k (246)
246 Posts - 3%
Yoshi-O's Brazil World Cup Standings
assignment_indLog in
 I forgot my password
trending_upStatistics
We have 175 registered usersThe newest registered user is ShaneCoteOur users have posted a total of 10318 messagesin 684 subjects
pollPoll