Opened 4 years ago

Closed 3 years ago

#2597 closed enhancement (fixed)

Support additional audio rates in DV muxer

Reported by: llogan Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: dvvideo
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Particularly 32kHz:

$ ffmpeg -i small_test2.dv -c copy -map 0 output.dv
ffmpeg version N-53335-gc649ecb Copyright (c) 2000-2013 the FFmpeg developers
  built on May 21 2013 14:46:30 with gcc 4.8.0 (GCC) 20130502 (prerelease)
  configuration: --prefix=/usr --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
  libavutil      52. 33.100 / 52. 33.100
  libavcodec     55. 10.101 / 55. 10.101
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  1.100 / 55.  1.100
  libavfilter     3. 68.103 /  3. 68.103
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[dv @ 0x222a880] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'small_test2.dv':
  Metadata:
    timecode        : 00:27:31:04
  Duration: 00:00:02.84, start: 0.000000, bitrate: 28800 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
[dv @ 0x2250d60] Can't initialize DV format!
Make sure that you supply exactly two streams:
     video: 25fps or 29.97fps, audio: 2ch/48kHz/PCM
     (50Mbps allows an optional second audio stream)
Output #0, dv, to 'output.dv':
  Metadata:
    timecode        : 00:27:31:04
    encoder         : Lavf55.7.100
    Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 28800 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s
    Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, 1024 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

I believe the sample conforms to IEC 61834, but I don't have the specs.

http://samples.mplayerhq.hu/DV-raw/small_test2.dv

Change History (2)

comment:1 Changed 4 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open

comment:2 Changed 3 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.