[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DV with 32kHz audio: Incorrect codec parameters, Can't initialize DV format! #1450

Closed
mifi opened this issue Feb 3, 2023 · 0 comments
Closed
Labels
bug ffmpeg Problem resides in ffmpeg or usage of ffmpeg

Comments

@mifi
Copy link
Owner
mifi commented Feb 3, 2023

Trying to export a DV file that has 32kHz audio track fails

ffmpeg -hide_banner -f concat -safe 0 -protocol_whitelist file,pipe -i - -map 0:0 -c:0 copy -map 0:1 -c:1 copy -map 0:2 -c:2 copy -movflags +faststart -default_mode infer_no_subs -ignore_unknown -f dv -y file.dv
[dv @ 0x11ee04a60] Estimating duration from bitrate, this may be inaccurate
Input #0, concat, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: 27048 kb/s
  Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn
  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 @ 0x11ef04f80] Can't initialize DV format!
Make sure that you supply exactly two streams:
     video: 25fps or 29.97fps, audio: 2ch/48|44|32kHz/PCM
     (50Mbps allows an optional second audio stream)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
Error initializing output stream 0:2 -- 
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)

Looking at https://trac.ffmpeg.org/ticket/8352 - it seems that ffmpeg's implementation is incorrect.

@mifi mifi changed the title DV: Incorrect codec parameters, Can't initialize DV format! for 32kHz audio DV with 32kHz audio: Incorrect codec parameters, Can't initialize DV format! Feb 3, 2023
@mifi mifi added bug ffmpeg Problem resides in ffmpeg or usage of ffmpeg labels Feb 3, 2023
@mifi mifi closed this as completed in f704716 Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ffmpeg Problem resides in ffmpeg or usage of ffmpeg
Projects
None yet
Development

No branches or pull requests

1 participant