MicrostockGroup Sponsors

Author Topic: Video rejection due to lack of metadata  (Read 1626 times)

0 Members and 1 Guest are viewing this topic.

« on: May 27, 2018, 15:47 »
Howdy gang,

I sent in a video clip for the first time on Shutterstock and it was rejected.  The following was stated:
There was a problem with some of your content. Click here for details.
Upload errors
1 error


The clip's metadata could not be read, or the clip was only partially uploaded. Width: (unknown) Height: (unknown) Aspect: (unknown) Codec: (unknown)


I'm not sure how to include all that metadata.  When I open the video up in video editor I can see all that information but I don't know how to let Shutterstock see it.  I sent video to another agency (Pond5) and they had no problem with it, although I don't know if they were looking for the same metadata.  I've sent still photos before with no problem but I'm totally new to video.  Thanks for any help.

« Reply #1 on: May 27, 2018, 16:21 »
I have a program that I wrote which takes all the frames and writes them as photos and then takes the photos and turns them back into a video. this solves problems whereby a video has the content but the structure of the file is bad.

this is perl. you  need the avconv program to use this.

use constant REBUILD_FORMAT             => "png";
use constant REBUILD_TMP_DIR            => "/tmp/rebuild/";

sub rebuild
# my $outfile = Avconv::rebuild($infile);

  my ($infile) = @_;

  mkdir REBUILD_TMP_DIR, 0777;

  my $file_type = $infile;
  $file_type =~ s/^.*\.(\w{2,5})$/$1/;
  $file_type =~ tr/A-Z/a-z/;

  my $prefix = "test-$$";
  my $outfile_tmp = REBUILD_TMP_DIR . $prefix . "-%05d." . REBUILD_FORMAT;
  my $outfile = REBUILD_TMP_DIR . "outfile-$$.$file_type";

  warn "  - building temp files for '$infile'\n";
  system "avconv -y -loglevel quiet -i '$infile'  -frames 100000 -qscale:v 1 '$outfile_tmp'";

  warn "  - rebuilding video for '$infile'\n";
  system "avconv -y -loglevel quiet -framerate 30 -f image2 -i ${\REBUILD_TMP_DIR}$prefix-%05d.${\REBUILD_FORMAT} -c mjpeg -b 65536k '$outfile'";

  warn join("\t", $outfile, -s $outfile, (-s $outfile / -s $infile), "\n");
  return $outfile;


Related Topics

  Subject / Started by Replies Last post
6 Replies
Last post December 08, 2012, 13:03
by mtkang
2 Replies
Last post December 23, 2015, 19:39
by Hildegarde
1 Replies
Last post December 29, 2015, 16:42
by LDV81
2 Replies
Last post April 13, 2016, 03:03
by ohlipang
0 Replies
Last post June 24, 2016, 01:49
by guniamc


Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results


3100 Posing Cards Bundle