Rank: 103 based on 664 downloads (last 30 days) and 15 files submitted
photo

Dan Ellis

E-mail
Company/University
Columbia University

Personal Profile:

 

Watch this Author's files

 

Files Posted by Dan Ellis View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Jul 2012 cache_results CACHE_RESULTS - caching function results to disk with transparent tracking of arguments Author: Dan Ellis disk, cache, utility, hash 6 1
  • 5.0
5.0 | 1 rating
30 Apr 2012 Screenshot audioread - unified audio file input function audioread provides a single, unified function for reading audio files in wav, mp3, aac, flac... Author: Dan Ellis data import, audio, sound, mp3, mp4, aac 117 0
  • 5.0
5.0 | 1 rating
09 Sep 2011 Screenshot m4aread - read MPEG4 (AAC or M4A) compressed audio files m4aread reads m4a or aac compressed audio files just like wavread reads uncompressed audio files Author: Dan Ellis sound, audio, data import, signal processing, mpeg, mpeg4 43 2
  • 5.0
5.0 | 1 rating
15 Mar 2011 m4awrite - write m4a format audio file m4awrite writes an m4a (MPEG4 audio) format file using an external faac binary Author: Dan Ellis audio, mpeg4, data export 9 0
15 Mar 2011 flacwrite - write out a FLAC-encoded audio file using flac flacwrite writes FLAC-encoded audio files by piping data to the external flac binary Author: Dan Ellis audio, lossless, flac, data export 13 0
Comments and Ratings by Dan Ellis View all
Updated File Comments Rating
28 Nov 2012 Function Parameter Slider Use continuously updating sliders to view how a function changes as its input parameters change Author: Teja Muppirala

Love it. Did exactly what I wanted, worked first time, I never have to know what the Matlab primitives for sliders are!

28 Nov 2012 Function Parameter Slider Use continuously updating sliders to view how a function changes as its input parameters change Author: Teja Muppirala

Comments and Ratings on Dan Ellis' Files View all
Updated File Comment by Comments Rating
16 Sep 2014 mp3read and mp3write Improved reading and writing of mp3 files Author: Dan Ellis akin

thankss

20 Jun 2014 cache_results CACHE_RESULTS - caching function results to disk with transparent tracking of arguments Author: Dan Ellis Andreas

09 Jun 2014 popen read and write MEX source to acccess popen r/w Author: Dan Ellis Turgay Senlet

Great work, thank you very much. I needed it to parse FFMPEG pipe output to obtain a video frame without writing it in to a file. It worked like a charm except a signed/unsigned problem. Original code reads proper values if they are below 128, but reads zero if they are 128 or above.

To fix this I changed line 243 of popenr.c from: char *pc = (char *)pd;
To: unsigned char *pc = (unsigned char *)pd;

By the way, the below function would read a frame from FFMPEG without writing to a file thanks to popen.
Use it like: frame = ReadVideoFrame('a.avi',[1080,1920,3],'00:00:05.10');

function image_correctly_rotated = ReadVideoFrame(video_name,video_frame_size,time)
pipe = popenr(['export DYLD_LIBRARY_PATH=""; ' ['/opt/local/bin/ffmpeg -i ' video_name ' -r 1 -vframes 1 -ss ' time ' -f image2pipe -vcodec ppm pipe:1']]);
data = uint8(popenr(pipe,[prod(video_frame_size)+17,1],'uint8'));
popenr(pipe,-1);
image_wrongly_rotated = reshape(data(18:end),[video_frame_size(3) video_frame_size(2) video_frame_size(1)]);
image_correctly_rotated = permute(image_wrongly_rotated,[3,2,1]);
end

Thanks again!

Turgay

28 Nov 2013 urlreadpost - url POST method with binary file uploading A replacement for urlread(url,'post',...) that allows POST to upload binary (file) data. Author: Dan Ellis Kelvin

Hi, thanks for writing this code - it looks very useful! Unfortunately I haven't been able to make it work. Could you provide an example with a few more form inputs?

25 Sep 2013 m4aread - read MPEG4 (AAC or M4A) compressed audio files m4aread reads m4a or aac compressed audio files just like wavread reads uncompressed audio files Author: Dan Ellis Mario

by the way Nezaket, the author was kind enough to upload the files you need at his site:
http://www.ee.columbia.edu/~dpwe/resources/matlab/m4aread/

Contact us