5128 Commits

Author SHA1 Message Date
vijeth-aradhya
7c5c0cfcb6 Change webm to webm_video in media_size check
Closes #8
2017-08-14 19:37:37 +05:30
Vijeth Aradhya
2bb617fa9e Merge branch 'master' into 'multiple-qualities-frontend'
Add multiple video qualities feature

See merge request !2
2017-08-14 12:08:36 +00:00
vijeth-aradhya
91a7b1226c Small changes to fixing transcode percentage
Related to #6
2017-08-11 19:40:41 +05:30
vijeth-aradhya
40f7e8d191 Change entry.title to entry.id in logging
Related to #5
2017-08-10 19:55:16 +05:30
vijeth-aradhya
3456abe901 Fix percentage reporting
Report transcoding_progress as the overall percent of all resolutions.
Modify Logging.

Closes #6
2017-08-10 19:55:00 +05:30
vijeth-aradhya
a0fa4b4bb2 Add unicode to accomodate title of MediaEntry
Related to #5
2017-08-08 22:09:08 +05:30
vijeth-aradhya
36c1e7dc2f Replace print statements to logging
Closes #5
2017-08-05 17:26:34 +05:30
vijeth-aradhya
87b6b431e3 Add previous mg css to video player 2017-07-31 22:08:28 +05:30
vijeth-aradhya
9dea49e663 Modify video.html to add video-resolution-switcher plugin 2017-07-23 10:12:07 +05:30
vijeth-aradhya
b57a682cd4 Add change-video-resolution.js to start video-resolution-switcher plugin 2017-07-23 10:10:06 +05:30
vijeth-aradhya
ca469bb08b Add video-resolution-switcher (video.js plugin) v0.4.2 2017-07-23 10:06:18 +05:30
vijeth-aradhya
d66d08d17c Change video.js version to v5.20.1 2017-07-23 10:03:45 +05:30
vijeth-aradhya
72fc6a05c1 Revert "Modify video template to accomodate multiple resolutions"
This reverts commit f6ba0e561bfb62991d70a4c002edf142d9d7540c.
2017-07-23 10:01:07 +05:30
vijeth-aradhya
f19e3f7ea5 Revert "Add change-video-resolution.js to start the plugin"
This reverts commit e44c4569c7f7ac4b0b1c8470f38f7f1d09dd00f8.
2017-07-23 10:01:04 +05:30
vijeth-aradhya
b58fda105d Revert "Modify video-js link folder and change version"
This reverts commit 0e49df65fea13b15c5566f2ee44842feaeaaccd0.
2017-07-23 10:01:00 +05:30
vijeth-aradhya
cb7ec2bd1c Revert "Add video-resolution-switcher (v0.4.2) plugin"
This reverts commit 19d7c450706df1aae74003fcfcfa03d17ebd6f54.
2017-07-23 10:00:48 +05:30
vijeth-aradhya
19d7c45070 Add video-resolution-switcher (v0.4.2) plugin 2017-07-18 09:46:37 +05:30
vijeth-aradhya
0e49df65fe Modify video-js link folder and change version 2017-07-18 09:44:06 +05:30
vijeth-aradhya
e44c4569c7 Add change-video-resolution.js to start the plugin 2017-07-16 21:18:05 +05:30
vijeth-aradhya
f6ba0e561b Modify video template to accomodate multiple resolutions
Add required JS/CSS plugin files.
Add JS file to fire up the plugin.
Modify video tag accordingly.
2017-07-16 21:16:25 +05:30
vijeth-aradhya
809ebf4536 Add get_all_media() in MediaEntryMixin
Returns all available qualties of a media with it's dimensions and
resolution label.
2017-07-16 20:43:08 +05:30
vijeth-aradhya
ae7ebecdbb Add property to media_fetch_order
Due to configurable resolution settings, this change is necessary to set the
default resolution and the others.
2017-07-03 18:46:42 +05:30
vijeth-aradhya
fe40b02e7d Fix test_accepted_resolutions
Add {'webm': (640, 640)}
2017-06-27 01:04:55 +05:30
Boris Bobrov
1f8c877d74 Merge branch 'master' of git.sv.gnu.org:/srv/git/mediagoblin 2017-06-26 21:32:56 +03:00
vijeth-aradhya
bd0b36be79 Implement copy_original and _keep_best
_keep_best is changed to keep_best now, and is added in processing_cleanup.
webm is added to ACCEPTED_RESOLUTIONS.
2017-06-25 21:22:30 +05:30
vijeth-aradhya
7fc550cf2b Test whether video is transcoded to all resolutions
After `self.check_normal_upload`, query the database and
check whether the video got transcoded to all the required
resolutions.
2017-06-25 19:32:28 +05:30
vijeth-aradhya
ac966b232b Test accepted_files and accepted_resolutions 2017-06-25 18:47:04 +05:30
vijeth-aradhya
ee2b53dea1 Add test_chord for TestSubmissionVideo
Testing the arguments passed to celery.chord when
a video is submitted.
2017-06-25 18:31:50 +05:30
vijeth-aradhya
2771f4678a Add VideoProcessingManager.workflow() tests
Testing workflow method including its return data.
2017-06-25 02:05:56 +05:30
vijeth-aradhya
602cfcb789 Use tuple as default return type of workflow()
If None, then schedule the old Celery call, else the format
is group and a single task in the tuple. Hence, Celery chord would
be ideal to use.

Closes #4
2017-06-21 10:03:40 +05:30
vijeth-aradhya
5161533a6f Add choice of video resolutions for instance owner
The instance owner can choose from the list of available resolutions.
['144p', '240p', '360p', '480p', '720p', '1080p']
Also, the default resolution is now set to 480p and the instance owner
can choose the default resolution from that list as well.
2017-06-20 17:28:34 +05:30
Andrew Browning
12c0872b79 Apply button_warning style to blog delete buttons 2017-06-19 01:01:37 -04:00
Andrew Browning
6f5fcc5b52 Fix #830 - Remove exif from blog posts 2017-06-19 00:11:29 -04:00
Boris Bobrov
c159eeaffe Remove mongodb-related stuff
We dropped mongodb a long time ago
2017-06-18 17:08:30 +03:00
Boris Bobrov
f9bd8a15ed Add Robert to AUTHORS 2017-06-18 13:38:59 +03:00
Robert Smith
a08f0bfc86 Re #5308 added cascade to blog mediatype 2017-06-17 22:07:39 +03:00
vijeth-aradhya
336508bb17 Render webm_480 as default if webm_video is absent
Currently, webm_video is still the higher priority in media_fetch_oder
as older versions should not be broken. So, webm_480p (main_task)
will be rendered by default for newer versions.
All tests pass at this point.
2017-06-17 02:34:58 +05:30
vijeth-aradhya
52814967cd Fix test_celery_setup error
Add mediagoblin.media_types.video.processing as a task module.
2017-06-17 01:58:58 +05:30
vijeth-aradhya
33d5ac6c4d Simple hack to handle main workflow problem
Remove redundunt workflow methods from the other media type's
processing.py.

Fixes #1
2017-06-17 00:53:39 +05:30
vijeth-aradhya
5b91098ca7 Celery concurrency is set to one 2017-06-13 23:58:42 +05:30
vijeth-aradhya
869048dd15 Add complimentary_tasks to the celery group
Add a couple of complimentary_tasks to check if priority is
working or not.
2017-06-13 23:58:01 +05:30
vijeth-aradhya
982fbde8e8 Individual resolution transcoding fixes
Few minor changes which fix the errors. Although, the user
still cannot view the video since the front end part needs
to changed.

Fixes #3
2017-06-13 23:24:32 +05:30
vijeth-aradhya
d77eb56280 Celery Priority testing with debug statements
Error at this line:
`self.entry.set_file_metadata(self.curr_file, **file_metadata)`
Otherwise, celery part should work fine.
2017-06-13 01:43:43 +05:30
vijeth-aradhya
bd011c940e Few more changes to celery priority tasking
Addition of arguments to the celery tasks.
2017-06-12 23:17:44 +05:30
vijeth-aradhya
25ecdec997 Add priority to the celery tasks
Few more changes to be made before executing the tasks.
Also #1 should be handled soon after this.
2017-06-12 20:53:23 +05:30
vijeth-aradhya
9a27fa60a4 Add additional celery config settings
Fixes older webm_video backward compatibilty issue.
Add 'default' queue to be used from now.
Add other necessary celery settings for priority.
2017-06-11 19:07:58 +05:30
Vijeth Aradhya
dd0db38e2c Merge branch 'master' into 'multiple-qualities-backend'
RabbitMQ addition in master

See merge request !1
2017-06-10 20:06:40 +00:00
Boris Bobrov
c3356889c9 Fix tests to reflect that we've moved to amqp 2017-06-10 12:22:58 +03:00
Boris Bobrov
411ae185bf move exifread to other dependencies 2017-06-10 01:29:19 +03:00
Boris Bobrov
4a14f6da51 Merge branch 'amqp-switch' 2017-06-10 01:25:24 +03:00