Hi,
Am getting following error while trying to convert a Digital Video into QuickTime MOV (DV Standard Definition PAL type)...
C:\Documentum\CTS/plugins/video1/bin/ffmpeg.exe -i C:\Rajiv\HEADRUSH.dv -f mov -vcodec dvvideo -vtag dvcp -pix_fmt yuv420p -r 25 -s 720x576 -b:v 25m -qscale 15 -acodec pcm_s16le -ac 2 -ar 48000 -vol 256 -strict experimental C:\Rajiv\Output.mov
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 28 2013 00:34:08 with gcc 4.8.0 (GCC)
...
[dv @ 00000000003edc00] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'C:\Rajiv\HEADRUSH.dv':
Metadata:
timecode : 00:00:00;00
Duration: 00:00:12.51, start: 0.000000, bitrate: 28771 kb/s
Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Drop frame is only allowed with 30000/1001 or 60000/1001 FPS
Output #0, mov, to 'C:\Rajiv\Output.mov':
Metadata:
timecode : 00:00:00;00
encoder : Lavf54.63.104
Stream #0:0: Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 16:15
DAR 4:3], q=2-31, 12800 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (dvvideo -> dvvideo)
Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
It works if I remove the frame-rate argument (-r) or keep it in the form of multiple of 30.
Any idea why is this restriction imposed ?
The very same command with the same video works with very old version of FFMpeg (0.6 - 32 bit). Is this a regression ?
Video file - http://files.videohelp.com/u/211860/HEADRUSH.dv
Thanks,
Rajiv
+ Reply to Thread
Results 1 to 10 of 10
-
-
Any idea ?
What exactly is the meaning of 'Drop frame is only allowed with 30000/1001 or 60000/1001 FPS' ... ? ... and why I get it only for this video.
Rajiv -
Go back to the old version or use a different converter, MpegStreamClip works well.
DF/NDF explanation: http://documentation.apple.com/en/finalcutpro/usermanual/index.html#chapter=D%26sectio...6%26tasks=true -
thanks smrpix ...
I went through the DF / NDF explanation, not sure if it's a regression as only this specific NTSC video is throwing this error, I am able to convert many other NTSC video of exactly same type into PAL.
Rajiv -
By default, ffmpeg copies (certain) meta data from the input file to the output file.
I expect this Drop Frame and Non-Drop Frame Timecode to be part of this.
Using the -map_metadata option, you may customize this either global or per stream, or disable it: “A negative file index can be used to create a dummy mapping that just disables automatic copying.”
So, try addingCode:-map_metadata -1
Last edited by Case; 21st Jul 2013 at 10:36.
-
It worked !
... thanks a lot, this is indeed a great piece of information.
Am wondering further if there's any way to find out what all attributes FFMpeg tries to copy from source to target to understand what will be the impact of using '-map_metadata -1', I hope it's advisable to use it routinely to overcome this issue.
Please share if you know how to ignore copying only the DF / NDF to use this option more safely ... -
I didn't know about DF/NDF until it was mentioned in this thread.
A google search gave me this: http://ffmpeg.org/pipermail/ffmpeg-user/2012-December/012109.html
which clued me to this option as a suggestion.
Similar Threads
-
mov (h264) file|: video only in Quicktime, audio only in Vegas MS... :-/
By distendo in forum Video ConversionReplies: 6Last Post: 12th Feb 2013, 17:49 -
How do I find out the framerate of a Quicktime MOV video file?
By Dr.Rock in forum Video ConversionReplies: 3Last Post: 10th Sep 2012, 18:37 -
How to Convert Quicktime MOV Video Files to MPEG-2
By hiroprot in forum Video ConversionReplies: 8Last Post: 10th Nov 2008, 09:54 -
Add an 2 video/Audio tracks to a .mov file without using Quicktime
By thomas31388 in forum Video ConversionReplies: 0Last Post: 24th Sep 2008, 15:35 -
Problem converting quicktime .mov files to mpeg-1
By jtk in forum ffmpegX general discussionReplies: 8Last Post: 2nd Sep 2008, 18:42