c++ - opencv mp3 header missing -


hi i'm new opencv library. installed in today , trying basic stuff show picture in window , show video in window. got both of these work when try , show video plays without sound , following
[mp3 @ 0x107808800] header missing
in console. how add mp3 header plays sound? here code

int main(int argc, const char * argv[]) {  if (argc<2) {     printf("not enough arguments");     return -1; } //create window namedwindow(windowname,window_autosize);   mat frame;    //capture video file videocapture capture; capture.open(argv[1]);   int run=1;  while (1) {      //make play , pause feature      if (run !=0) {        capture>>frame;     imshow(windowname, frame);      }      char c=waitkey(33);     if (c=='p') {         run=1;     }     if (c=='s') {         run=0;     }      if (c ==27 || c=='q') {         break;     }  }   return 0; } 

you can't .

audio gets discarded (that's message get), , there's no way retrieve again.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -