Updated nuvexport patch

  • Post author:
  • Post category:Mythtv

To get nuvexport working with MythTV User Jobs as a transcoder, I needed to further modify my nuvexport patch to handle the fact that there is no controlling terminal for user jobs. Here is the new patch: Index: export/ffmpeg.pm =================================================================== --- export/ffmpeg.pm (revision 242) +++ export/ffmpeg.pm (working copy) @@ -70,11 +70,11 @@ # Audio only? $self->{'audioonly'} = $audioonly; # Gather the supported codecs - my $data = `$ffmpeg -formats 2>/dev/null`; + my $data = `$ffmpeg -formats 2>&1`; my ($formats) = $data =~ /(?:^|\n\s*)File\sformats:\s*\n(.+?\n)\s*\n/s; my ($codecs) = $data =~ /(?:^|\n\s*)Codecs:\s*\n(.+?\n)\s*\n/s; if ($formats) { - while ($formats =~ /^\s(..)\s(\S+)\s*$/mg) { + while ($formats =~ /^\s(.{2})\s(\S+).*$/mg) { $self->formats'}{$2} = $1; } } @@ -286,7 +286,7 @@ push @tmpfiles, "/tmp/fifodir_$$", "/tmp/fifodir_$$/audout", "/tmp/fifodir_$$/vidout"; # Execute ffmpeg - print "Starting ffmpeg.\n" unless ($DEBUG); + print "Starting ffmpeg: $ffmpeg\n" unless ($DEBUG); ($ffmpeg_pid, $ffmpeg_h) = fork_command("$ffmpeg 2>&1"); $children{$ffmpeg_pid} = 'ffmpeg' if ($ffmpeg_pid); Index: export/ffmpeg/PSP.pm =================================================================== --- export/ffmpeg/PSP.pm (revision 242) +++ export/ffmpeg/PSP.pm (working copy) @@ -170,7 +170,8 @@ $self->{'ffmpeg_xtra'} = ' -b ' . $self->{'v_bitrate'} .' -bufsize 65535' .' -ab 32 -acodec aac' - ." -f psp -title $safe_title"; + ." -f psp -title $safe_title" + .' -ar 24000'; # Execute the parent method $self->SUPER::export($episode, '.MP4'); Index: nuv_export/shared_utils.pm ===================================================================…

Continue ReadingUpdated nuvexport patch

The What-If-Microsoft-Did-The-iPod-Box video done by Microsoft

  • Post author:
  • Post category:Link

Microsoft spokesman Tom Pilla on Tuesday confirmed with iPod Observer that his company initiated the creation of the iPod packaging parody video that was first reported last month. "It was an internal-only video clip commissioned by our packaging [team] to humorously highlight the challenges we have faced RE: packaging and to educate marketers here about the pitfalls of packaging/branding," he said via e-mail.

Continue ReadingThe What-If-Microsoft-Did-The-iPod-Box video done by Microsoft

End of content

No more pages to load