Commit graph

566 commits

Author SHA1 Message Date
j
6aabe8d9df py3 fixes 2016-08-31 00:31:38 +02:00
j
78c26daaeb update poster after processing stream 2016-08-28 13:38:46 +02:00
j
029bcfee29 files are queued after download 2016-08-28 12:22:08 +02:00
j
11e36b550e update task after updating item 2016-08-25 18:34:49 +02:00
j
8136a2c2f5 create new item if unregistered file gets uploaded 2016-08-25 18:34:49 +02:00
j
181f27b93a fix audio only uploads 2016-08-25 18:34:49 +02:00
j
1468ddbecb towards supporting python 2 and 3
- use absolute_imports
- make use of six.moves
- use exec instead of execfile
- use list(dict) instead if dict.keys()
2016-08-25 18:34:36 +02:00
j
479432f01a upload_date can be none 2016-08-25 18:32:28 +02:00
j
e1cacdb67a add task queue api 2016-08-17 14:37:59 +02:00
j
843cea063d update timeline if part is changed 2016-08-13 15:34:28 +02:00
j
3b8dd55273 don't fail if 2 paths get flipped in a folder 2016-08-13 15:32:51 +02:00
j
8c928860e1 import url celanup
- only import first url
- pass empty string instead of undefined
- page can contain multiple videos, import as parts
2016-08-10 10:49:58 +02:00
j
384c643326 no tags == [] 2016-08-09 14:25:39 +02:00
j
0430a0f236 cache getMediaUrlInfo 2016-08-09 12:57:43 +01:00
j
926d3f0f09 add video id 2016-08-09 11:50:24 +01:00
j
9a86ddce01 include upload_date 2016-08-05 17:57:40 +02:00
j
dce51305ce update poster after extracting stream 2016-08-05 15:24:54 +02:00
j
2aef460225 do not set -ac if audiochannels is None 2016-08-05 14:46:27 +02:00
j
ff8dd16456 fix profile selection 2016-08-03 11:41:46 +02:00
j
893f2e5423 add importMediaDialog 2016-07-30 02:49:43 +02:00
j
6f4a0ba90a support vtt subtitles 2016-07-01 21:13:13 +02:00
j
f8f951c966 remove outdated fixmes 2016-07-01 17:53:59 +02:00
j
d780045306 flake8 2016-07-01 17:48:43 +02:00
j
3166bf5beb show timeline errors 2016-07-01 17:34:45 +02:00
j
c7157d5001 only decode ids for found positions
merge document.view.get_positions into item.utils.get_positions
add flag to decode id before looking up in ids

Followup to 09ebbc9cc6
2016-06-30 16:18:07 +02:00
j
b63024df02 show source info if encode fails 2016-06-30 00:23:56 +02:00
j
5aeffcfb6a check first audio track 2016-06-27 16:51:18 +02:00
j
adfcc1cb27 never set display aspect ratio to 0:0 2016-06-27 16:08:30 +02:00
j
8ac78f3bd6 remove unused force flag from make_poster, update_timeline 2016-06-26 23:24:11 +02:00
j
0f9e80e1e6 avoid saving item twice 2016-06-26 23:22:27 +02:00
j
0d89ad640b ignore some broken audio codecs 2016-06-26 15:33:52 +02:00
j
92f642cbac pcm sound can have no codec 2016-06-26 14:41:58 +02:00
j
2cec1b9ad5 s/import Image/from PIL import Image/g 2016-06-25 20:39:29 +02:00
j
4785f314cb Add VP9/Opus support, use VP8 by default
- support vp9 and opus
- switch to 2 pass encoding
- use ffmpeg -movflags +faststart instead of qtfaststart
2016-06-23 17:36:41 +02:00
j
d83647c4a5 don't hide oxtimelines errors 2016-06-20 18:27:31 +02:00
j
6dcbcdd19c dont update timeline in update_selected, remove unused async get_item case 2016-06-16 14:48:54 +02:00
j
0486d62ec9 use absolute path 2016-06-16 14:48:09 +02:00
j
f25218466b formating 2016-06-16 14:48:01 +02:00
j
b2a9a5f711 space 2016-06-15 17:56:31 +02:00
j
b010aca0a9 s/taskId/id/ 2016-06-15 15:45:51 +02:00
j
41cc8e3573 expose encoding status via api 2016-05-05 10:49:34 +02:00
j
be163826ef Merge remote-tracking branch 'wjt/fix-migrations' 2016-05-05 10:48:24 +02:00
39b9b48be2
archive: fix migrations for upload_to function renamings
9c75526 renamed these functions. The function doesn't affect the DB
schema so it should be safe to just modify the migraiton.
2016-05-04 17:01:44 +01:00
j
0f28a2b7d5 fix queue status 2016-04-30 14:15:13 +02:00
j
9c7552699f fix upload_to callbacks 2016-04-29 13:46:55 +02:00
j
697e501a4f only update item timeline once all parts are done 2016-03-11 10:33:48 +01:00
j
4f28c2c548 fix annotation import, values are decoded in d1.9 2016-03-05 15:36:47 +05:30
2a07e2a1ab Remove redundant overrides of Model.delete
Both of these models have pre_delete handlers which do the same things,
so I think these are unnecessary.
2016-03-03 18:10:29 +05:30
d69a8efd97 Don't save other file-owning models on delete, either 2016-03-03 18:10:29 +05:30
j
11924fcb0d Rename api.taskStatus to api.getTaskStatus
still register api.taskStatus since its used
in pandora_client and other scripts.

fixes #2600 and fixes #2859
2016-02-20 18:35:26 +05:30
j
051a3578b4 inline django 1.9 version of ox.django 2016-02-20 10:41:23 +00:00
j
62caf55fe6 stop using RequestContext 2016-02-20 15:15:02 +05:30
j
2fe857d4fd remove optparse 2016-02-20 15:15:01 +05:30
j
4219246909 db migration 2016-02-20 15:15:01 +05:30
j
1cc795995d user.get_profile()->user.profile 2016-02-19 22:06:11 +05:30
j
5d63ad1760 default/upload_to=lambda breaks migrations, use functions 2016-02-19 21:59:26 +05:30
j
e738503380 remove old migrations 2016-02-19 15:17:18 +00:00
j
d241b90b63 check data is a dict 2016-02-19 18:46:53 +05:30
j
6b1ce30eb2 from __future__ import print_function 2016-02-18 16:19:26 +05:30
j
b121b58a86 support caching local files, lookup by oshash 2016-02-14 00:32:14 +05:30
j
b7cfcfa182 add some encoding options: crop, trim, aspect 2015-11-12 16:15:02 +00:00
j
f0e3c2775e logg addMedia call 2015-10-20 12:17:04 +02:00
j
65fb9ccb6d reduce ffmpeg output 2015-09-16 15:04:44 +01:00
j
ce701d38d0 space 2015-06-24 16:41:11 +02:00
j
9191a9c196 extension should be lowercase 2015-05-23 11:06:22 +02:00
j
7359a24d78 keep video height if its < profile height 2015-05-22 19:01:05 +05:30
51c3df9660 typo: permissino permission in 403 errors 2015-04-28 18:12:00 +02:00
j
bf1dde53d6 fix ignoring media files without instances 2015-03-23 11:27:34 +05:30
j
441cb9892a allow updates of file metadata for files with info 2015-02-21 15:35:01 +05:30
j
243c1958c1 dont import empty subtitles 2015-02-06 10:57:14 +05:30
j
ed5bc510a9 ignore subtitles with in > out 2015-02-05 18:29:18 +05:30
j
9273d7b3ba make subtitles in/out/value unique before importing 2015-02-04 15:56:37 +05:30
j
9a3c24b2ab only call update_timeline once during first import, adds empty clips twice otherwise 2015-02-04 15:10:51 +05:30
j
4ed0d56f4f add mkv cues to audio only files to fix seeking in firefox 2015-02-04 00:09:22 +05:30
j
437391caf9 load info from stream in file has no info 2015-02-03 23:20:16 +05:30
j
6cd2eaf93a extract some information about currently running encoding jobs 2015-01-08 17:01:03 +01:00
j
e1bc418e0c use one version of ffmpeg for all tasks, remove avconv dependency, fixes #2606 2015-01-05 16:07:55 +00:00
rolux
ea1a94e9e4 update api docs (omissions, wording, typos) 2014-12-21 13:03:49 +00:00
j
f56218e33a dont fail if /api/upload is called without the right arguments, render api page: fixes #2611 2014-12-19 16:02:32 +00:00
rolux
3950213960 update api docs 2014-12-19 15:31:57 +00:00
rolux
cada20f904 update api docs 2014-12-19 15:05:08 +00:00
rolux
4a084d8405 update api docs 2014-12-19 12:59:10 +00:00
rolux
6bd001a10a update api docs 2014-12-18 20:16:41 +00:00
rolux
f38d3441a0 typo 2014-12-18 13:40:41 +00:00
rolux
cf836ec172 add api docs 2014-12-18 13:38:20 +00:00
j
9e9bf30c42 add new changelog and call add_changelog all over the place 2014-12-17 13:45:46 +00:00
j
bf6c12ae0f use ffmpeg > 2.1 for mp4 frames if settings.FFMPEG is defined, fixes #2549 2014-11-16 20:34:55 +00:00
j
2a3062e029 fix melt scaling 2014-11-14 23:00:19 +00:00
j
e084766e69 add mange command to restart encodes after crash or ctl restart 2014-11-09 14:10:51 +00:00
j
fb32ec7d96 encode to tmp name and rename once done 2014-11-04 15:38:00 +02:00
j
e95c9011e7 fix multilanguage resolution 2014-10-24 10:32:16 +01:00
j
cddf742efd partTitle->part_title, fixes #2515 2014-10-17 17:49:01 +02:00
j
aacc712869 only parse avconv major version 2014-10-10 15:58:54 +02:00
j
ce8803d100 dont use local ffmpeg if format is not webm 2014-10-06 10:14:39 +00:00
j
e4c6a671a6 fix mp4 encoding in ubuntu 14.04 2014-10-06 10:54:20 +02:00
j
ceb507020b data is passed to api functions now 2014-10-06 08:26:43 +00:00
j
c076579300 only get file if we have a chunk 2014-10-05 14:58:53 +02:00
j
bb8bef991f set h264 level to 3.0 (most compatible) 2014-09-30 14:00:40 +00:00
j
7eb30d9776 load width/height into db after saving frame 2014-09-28 14:02:53 +00:00
j
76bbe09a05 cache frame width/height in db 2014-09-28 10:16:25 +00:00
j
94336ceda7 fix language 2014-09-27 19:44:09 +02:00
j
4ebd64becf fix melt cmd 2014-09-25 16:49:17 +02:00
j
5b25411a60 only use melt if USE_MELT is set 2014-09-25 16:18:13 +02:00
j
ada3bbe346 add optoin to use melt(MLT) to extract frames from H264 2014-09-25 15:28:08 +02:00
j
3232ce6989 rename Item.itemId to Item.public_id 2014-09-19 12:26:46 +00:00
j
6949cab8c6 set language on main stream. fix language parsing 2014-09-03 14:35:34 +02:00
j
50a318f4ad fix setting languages 2014-09-03 13:20:52 +02:00
j
e381609b9e remove tests, not used 2014-09-05 13:39:43 +02:00
j
72d9dbf0f2 avoid passing open network connections to subprocesses, call Popen with close_fds=True 2014-09-02 14:24:12 +00:00
j
f6939ff08e disable subtitle stream during video conversion 2014-08-04 16:08:49 +02:00
j
ac3c84cb9b support media.importFrames for direct uploads 2014-07-29 19:07:50 +02:00
j
df0c24628c really fix #2442 2014-07-29 18:37:01 +02:00
j
fec6258f71 fix path 2014-07-29 18:10:01 +02:00
j
cfa7628551 reload stream from db before updating after encode, fixes #2442 2014-07-29 17:43:38 +02:00
j
f61cc7ee54 add support for audio tracks 2014-07-23 17:27:27 +02:00
j
68ead8a2af strip metadata 2014-07-20 12:06:54 +00:00
j
139348b0d3 fix import 2014-07-18 14:21:10 +00:00
j
f0a5f5ddb7 check for avconv version and use new command line api if needed (to support Ubuntu 14.04) 2014-07-16 11:04:52 +00:00
j
f433495592 fix tasks.update_info 2014-07-09 18:29:17 +00:00
j
5005fddf69 turn updating info into task 2014-07-09 18:27:21 +00:00
j
e62c7d30f2 reset failed if encoding again 2014-06-04 09:53:39 +03:00
j
fcbe552de3 fix stream uploads 2014-04-11 19:34:15 +00:00
j
14315455da remove debug 2014-04-11 19:17:46 +00:00
j
7cd152b1d5 refactor chunk upload: return offset, continue at server offset 2014-04-11 16:56:22 +00:00
j
22e3a9eedd upload chunks with offset. fail if uploaded file does not match oshash 2014-04-11 12:08:14 +00:00
j
7e0f7cf5fb remove debug statement 2014-03-16 15:11:59 +00:00
j
ad89e9ffed make sure path is normalized on first save 2014-03-12 20:23:59 +01:00
j
d8e20d9380 properly update item after removing selected video 2014-03-09 16:45:13 +00:00
j
2c3ff91c91 allow uploading videos to canAddItems 2014-03-05 20:29:01 +00:00
j
93cd998fcf reset failed state on reupload 2014-03-02 10:32:35 +01:00
j
ab2949f815 expose audio channels 2014-02-24 16:53:51 +05:30
j
6321859796 support uploading videos in any of the supported resolutions, to avoid upscaling 2014-02-15 16:13:43 +00:00
j
2ceaac6c6d set error if upload file can not be decoded 2014-02-13 12:09:49 +00:00
j
4387d8e97e reset possible error if enoding again 2014-01-24 12:05:07 +00:00
j
b7c4d9af41 normalize newlines in encoding errors 2014-01-24 11:46:06 +00:00
j
2abf8836bc use previewRatio as aspect ratio for audio files 2013-12-30 15:30:59 +05:30
j
d7d5008bbb dont use absolute url for upload, fixes #1939 2013-12-10 15:38:52 +00:00
j
7dde9eb8ae add task functions to File 2013-11-10 18:30:34 +00:00
j
fbc3b6f8b7 keep encoding error in database and show in media view 2013-10-21 12:32:52 +00:00
j
1ac76c99df use Firefogg ffmpeg for direct uploads, to work around issues with 5.1 audio 2013-10-21 11:55:10 +02:00
j
20007d3416 TypeError: argument of type 'NoneType' is not iterable 2013-10-08 06:59:23 +00:00
j
8917a71f47 use avconv to extract frames from mp4 videos 2013-10-02 10:56:30 +00:00
j
e24f83d4c6 dont reupload files if already on server 2013-09-26 21:58:06 +00:00
j
c50db67150 delete all derivatives removing a file 2013-09-26 20:58:03 +00:00
j
4b575c2c89 fix ./manage.py orphaned_media 2013-09-26 15:27:43 +00:00
j
3064785b3e remove failed transcodes, fix reuploading the same file via direct upload 2013-09-26 14:55:37 +00:00
j
14d147013d encoding is not available 2013-09-18 15:41:06 +00:00
j
6a8e82fe0e dont store useless path in stream info 2013-09-17 15:11:55 +02:00
j
ff38db7751 add media state: uploading, queued, encoding, available 2013-09-14 14:10:52 +00:00
j
f30a3fa70c paths are not html, fixes #1823 2013-08-24 13:34:16 +02:00