Questions tagged [getid3]

getID3 is an open source PHP library that extracts useful information from MP3s and other multimedia file formats

getID3() is a PHP script that extracts useful information (such as ID3 tags, bitrate, playtime, etc.) from MP3s and other multimedia file formats (Ogg, WMA, WMV, ASF, WAV, AVI, AAC, VQF, FLAC, MusePack, Real, QuickTime, Monkey's Audio, MIDI and more).

49 questions
0
votes
1 answer

Object property not showing

I have a function on a php page that is intended to grab the creation date/time of video files using getid3. I thought everything had been working fine and was ready to put this version to bed when I was (of course) running everything one more time…
reddisht
  • 189
  • 2
  • 14
0
votes
1 answer

how to change time from getID3

i have the problem about result strtotime in php from getID3, this result is 02:00:00 but i want to result is 00:02:00, how can change it ? please help and thanks $durasi = getDuration($direktori); $endtime = date('H:i:s',…
0
votes
1 answer

how to get length video with getID3

i would get length video from my file video with php and getID3 library, my video's length is 00:02:03 but this output is 02:03:00, how can i change move_uploaded_file($source,$direktori); $durasi = getDuration($direktori); $endtime =…
0
votes
0 answers

Code not working on server

this is my code to get image from song but it does not working.
caveboy
  • 231
  • 1
  • 3
  • 7
0
votes
1 answer

Sitecore GetIdFromConfig with unicode text

I use Sitecore 7 and in the code I see this line public static ID HelpLinks { get { return GetIdFromConfig("aer.ProductDetails.HelpLinks"); } } Developer define this line with this function static ID GetIdFromConfig(string key) …
sohrab
  • 38
  • 2
0
votes
1 answer

Onclick does not pass Id or Element

I'm trying to pass the element or even the Id of the element over to my javascript function. I can not find my error. I did test to make sure the Onclick does go inside my JS function. This is the Onclick html link:
Andrew Ricci
  • 475
  • 5
  • 21
0
votes
1 answer

getId() on a non-object in list.phtml on search page

I added a function to catalog/products/list.phtml to change styling for certain category. It works fine on category list but it doesn't on search page. Error Fatal error: Call to a member function getId() on a non-object in…
sidlo
  • 183
  • 1
  • 10
0
votes
1 answer

How to use getid3 if installed with apt-get install getid3?

I just installed getid3 on my Debian server: apt-get install php-getid3 How can I use it on my website? I have read that I can use it this way: require_once('getid3/getid3.php'); $getID3 = new getID3; $path = 'sample.mp3'; $mixinfo =…
Gigante
  • 327
  • 2
  • 11
0
votes
0 answers

get meta data of mp3 with getID3 PHP

I'm trying to get the meta data out from my mp3 playlist using PHP and the library getid3, I'm sure the file path is correct and the mp3 has some information on meta data, but the information returns me null. Here is my code…
Vinicius Albino
  • 743
  • 2
  • 8
  • 21
0
votes
1 answer

getID3() ASCII and UTF-8

I need help with encoding "Title" tag. I have name with special character, like "ě, š, č, ř, ž, ý, á, í, é" and in demo.browse.php is working. There is my code and I dont know, where is the problem, please, Can you help me? :)…
0
votes
1 answer

How to save a PHP content to file with PHP

Hi I have just recently made a FLASH AS3 XML playlist player which works great apart from the part where I have to type all the XML out. I have had some help with someone to compile this code that works great, but I want to be able to save the XML…
scottiescotsman
  • 73
  • 2
  • 12
0
votes
1 answer

getID3 get mp3 length unexspected T_ECHO

i want to get the length of a MP3-File in PHP. The code i´ve found by google is from getID3, but it dosen't works. I always get the following errormessage and i´dont know how i can fix it. PHP Parse error: syntax error, unexpected T_ECHO in…
Paixsn
  • 1,256
  • 3
  • 12
  • 22
0
votes
3 answers

getID3 lib integration in symfony2?

I am trying to integrate the getId3 Library in my symfony project.So i followed the instructions here https://github.com/phansys/GetId3 about the integration of this library using composer but it fails. here is a look at my somposer.json file …
Hadj Ali Oussama
  • 784
  • 2
  • 8
  • 29
0
votes
1 answer

Can't write ID3 tags using getID3 1.9.7

I'm trying to take advantage of Wordpress' 3.6 support for getID3(), but I'm having trouble writing ID3 tags to my mp3s. Here is the code I'm using: if ( ! class_exists( 'getID3' ) ) { require(ABSPATH.WPINC.'/ID3/getid3.php' ); } # I had to…
JP Lew
  • 4,121
  • 2
  • 32
  • 45
0
votes
1 answer

Generate 30 second preview of mp3 using Getid3

is it possible to generate a 30 second preview of an mp3 using getid3? I'm not looking to create a copy of it and save it on the server just create the preview as the mp3 is requested. I read this :…
Belgin Fish
  • 19,187
  • 41
  • 102
  • 131