Re: Error in streamed MPEG4 handling - Movie.pm or Audio::Scan error ?

bpa <bpa.adp57b-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
I have a patched Movie.pm which seems to play The problem URLs and a
random m4a podcast which has a "normal" mdat.  Need more example to
test.

I used Audio::Scan seek_offset to update the "audio_offset" rather than
first data in mdat.


Code:
--------------------
    
  /slimserver-public-8.3/Slim/Formats$ diff org-Movie.pm Movie.pm 
  270a271,274
  > 
  >       $fh->seek(0, 0);
  >       my $seek_offset = Audio::Scan->find_frame_fh_return_info( mp4 => $fh, 0 )->{'seek_offset'};
  > 
  277c281
  <       $info->{audio_offset} = $args->{_mdat_} + 8;
  ---
  >       $info->{audio_offset} = $seek_offset;
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115678
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.