Changes between Version 1 and Version 2 of Ticket #460, comment 2
- Timestamp:
- Jan 9, 2013, 12:02:00 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #460, comment 2
v1 v2 1 1 It seems that your videos' resolutions cannot be detected by gstreamer. I had this issue as well and fixed it by remux'ing all the videos uploaded with ffmpeg (all to mkv for simplicity). That's how I did it (process_video in ''mediagoblin/mediagoblin/media_types/video/processing.py''): 2 2 {{{ 3 from os import system 3 from os import system, rename 4 4 #... 5 5 with tmp_dst: … … 10 10 temp_vid = '/tmp/{0}.mkv'.format(queued_filepath[1]) 11 11 system('ffmpeg -i {0} -vcodec copy -acodec copy -scodec copy -y {1}'.format(queued_filename, temp_vid)) 12 system('mv {0} {1}'.format(temp_vid, queued_filename))12 rename(temp_vid, queued_filename) 13 13 }}}