These are my (William's) notes on the use of hz. For the audio it does not take mp4/m4a. Need to extract it to MP4Box -out output.aac -raw 1 source.mp4 The 1 there is the track ID. From what I've seen of the Nero AAC encoder output it is commonly 1 but you can check using: MP4Box -info source.mp4 For Debian, MP4Box is in package gpac. Add the debian-multimedia repo to access it. If you are testing hz with internal (not lua) playlist, it will get stuck if there is only one file in the playlist. Must have at least two different files in there. If there is only one file then the "never repeat previous file" logic gets confused. The cuefile format (ref cuesheet.pas): FILE "filename-ignored" WAVE TRACK 01 AUDIO TITLE "title" PERFORMER "performer" INDEX 01 00:00:00 Compiling did not work straight away using the freepascal on squeeze (v 2.4.0). Problems and solutions below:
It turns out grabbing frames from an MP4 file isn't that difficult using libmp4v2. I've successfully grabbed some frames and stuck ADTS headers in front of them. Byte-for-byte identical with the MP4Box output. It is only a small step from this to sending them over the network. Problems:
Ref:
|
Miscellaneous > hz >