[FFmpeg-trac] #873(FFmpeg:new): PCM signed big-endian encoding as unsigned

FFmpeg trac at avcodec.org
Thu Jan 5 21:32:55 CET 2012


#873: PCM signed big-endian encoding as unsigned
-------------------------------------+-------------------------------------
             Reporter:  Glinx        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  FFmpeg
              Version:  unspecified  |               Resolution:
             Keywords:  PCM signed   |               Blocked By:
  big endian                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Glinx):

 mplayer output

 [gavin at gavin-desktop MTS_tests]$ mplayer out.mov
 MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team
 162 audio & 361 video codecs

 Playing out.mov.
 Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format
 (libavformat)
 [lavf] stream 0: audio (pcm_s16be), -aid 0, -alang eng
 Clip info:
  major_brand: qt
  minor_version: 512
  compatible_brands: qt
  creation_time: 1970-01-01 00:00:00
  encoder: Lavf53.24.0
 Load subtitles in .
 ==========================================================================
 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
 AUDIO: 48000 Hz, 6 ch, s16be, 0.0 kbit/0.00% (ratio: 0->576000)
 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
 ==========================================================================
 [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
 directory
 AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
 Video: no video
 Starting playback...
 A:   4.4 (04.3) of 4.8 (04.8)  0.5%


 Exiting... (End of file)
 [gavin at gavin-desktop MTS_tests]$


 ..and ffplay -i out.mov

 [gavin at gavin-desktop MTS_tests]$ ffplay -i out.mov
 ffplay version N-35110-g0b9a69f, Copyright (c) 2003-2011 the FFmpeg
 developers
   built on Nov 23 2011 12:55:01 with gcc 4.6.2
   configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis
 --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora
 --enable-libgsm --enable-libspeex --enable-postproc --enable-shared
 --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-
 gpl --enable-version3 --enable-runtime-cpudetect --disable-debug
 --disable-static
   libavutil    51. 26. 0 / 51. 26. 0
   libavcodec   53. 37. 0 / 53. 37. 0
   libavformat  53. 21. 0 / 53. 21. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 49. 0 /  2. 49. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     creation_time   : 1970-01-01 00:00:00
     encoder         : Lavf53.24.0
   Duration: 00:00:04.83, start: 0.000000, bitrate: 4609 kb/s
     Stream #0:0(eng): Audio: pcm_s16be (lpcm / 0x6D63706C), 48000 Hz, 6
 channels, s16, 4608 kb/s
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    :
                         DataHandler
   28.94 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
 Seek to  5% ( 0:00:00) of total duration ( 0:00:04)       B f=0/0
    1.72 A-V:  0.000 fd=   0 aq=  314KB vq=    0KB sq=    0B f=0/0
 [gavin at gavin-desktop MTS_tests]$

 I havnt a quicktime player - Cinelerra (uses quicktime for linux) loads
 previous versions but not this one.

 These two both suggest s16...

 I remembered I have PiTiVi VE loaded. The unsigned culprit wouldnt load
 the sound track in this VE either (screenshot attached)...

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/873#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list