PHPExiftool to extract metadata from WTV files?

Started by izzybizzy, April 04, 2022, 08:03:57 AM

Previous topic - Next topic

izzybizzy

Hi everyone,

I'm fairly new to the PHPExiftool so please excuse me if the question is kind of stupid :'( So I used composer to install PHPExiftool and I followed the documentation here https://github.com/romainneutron/PHPExiftool to to test if I could read the metadata of a file on PHP but then my web page stops working when I insert the following code:

    $logger = new Logger('exiftool');
    $reader = Reader::create($logger);

    $metadatas = $reader->files("video/test.wtv")->first();


I thought it could be because of the .wtv file but I tested it with an mp4 file and the results are the same...
I just don't understand why.......

StarGeek

You should take note that this is a forum for exiftool and PHPExiftool is a wrapper created by someone else.  Searching these forums, PHPExiftool has only been mentioned twice and I'm not sure anyone here uses it.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype