VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. 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
    Quote Quote  
  2. 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
    Quote Quote  
  3. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    It looks like you are going from NTSC to PAL.
    Quote Quote  
  4. Originally Posted by hech54 View Post
    It looks like you are going from NTSC to PAL.
    Yes ...
    Quote Quote  
  5. 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
    Quote Quote  
  6. 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
    Quote Quote  
  7. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by rajivrp View Post
    Drop frame is only allowed with 30000/1001 or 60000/1001 FPS
    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 adding
    Code:
    -map_metadata -1
    Last edited by Case; 21st Jul 2013 at 10:36.
    Quote Quote  
  8. Originally Posted by Case View Post
    Originally Posted by rajivrp View Post
    Drop frame is only allowed with 30000/1001 or 60000/1001 FPS
    try adding
    Code:
    -map_metadata -1
    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 ...
    Quote Quote  
  9. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by rajivrp View Post
    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.
    Quote Quote  
  10. Ohk ... thanks.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!