How to transcode video for the Nokia N800

  • Post author:
  • Post category:Mythtv

I have a Nokia N800 that I haven't had much time to play with, but I am about to go away on a trip which will involve a lot of time commuting on buses, so I figure I should start thinking about it again. Luckily for me, this page has pretty good instructions of what settings to use with mencoder to make it all look good on the N800. I haven't tried them yet, but I will report back when I do.

Continue ReadingHow to transcode video for the Nokia N800

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

End of content

No more pages to load