Post Sat Aug 09, 2014 7:35 pm

Audio problems with Nikon AVI

Hi,

I have many AVIs created by Nikon Coolpix L29. I want them to display in my Sony KDL-32EX520.
I have handled it in my profiles.xml (sony2013) like this:

  Code:
          <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceInheritance="true">
                  <Matches container="avi" vCodec="mjpeg" aCodec="lpcm"/>
          </Video>


There is no problems with video, but audio keeps on cracking while playing in Sony TV. I tried to experiment with targetACodec, aBitrate and aSamplerate but was not successful. Any idea how can I sort it out?
Thank you in advance.

These are codecs support by my TV:
http://esupport.sony.com/US/perl/support-info.pl?info_id=799&mdl=KDL32EX520

This is ffmpeg output of the problematic file:
  Code:
ffmpeg version N-65426-gd6af706 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  8 2014 22:01:56 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --en
  libavutil      52. 98.100 / 52. 98.100
  libavcodec     55. 73.101 / 55. 73.101
  libavformat    55. 55.100 / 55. 55.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.103 /  4. 11.103
  libswscale      2.  6.101 /  2.  6.101
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'c:\tmp\test.AVI':
  Metadata:
    encoder         : NIKON COOLPIX L29
    maker           : NIKON
    model           : COOLPIX L29
    creation_time   : 2014-08-03 13:40:19
  Duration: 00:00:25.79, start: 0.000000, bitrate: 30101 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg), 1280x720, 29194 kb/s, 30.01 fps, 30.01 tbr, 30.01 tbn, 30.01 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s