VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. I want to remux DV extension file to AVI file. The file is captured from a miniDV camcorder but the DV container is pain in the ass on Windows. The file was received, I don't own neither the camcorder nor the tape. I tried to remux it into AVI with ffmpeg with the -c copy command.

    But the ffmpeg said

    [dv @ 000002449145bd00] Detected timecode is invalid
    [dv @ 000002449145bd00] Estimating duration from bitrate, this may be inaccurate

    And the result is audio and video are totally out of sync.

    Input file mediainfo:
    HTML Code:
    Format                      : DV
    Commercial name             : DVCPRO
    File size                   : 16.7 GiB
    Duration                    : 1 h 23 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 28.8 Mb/s
    Recorded date               : 2004-08-03 21:24:24.000
    
    Video
    Format                      : DV
    Commercial name             : DVCPRO
    Duration                    : 1 h 23 min
    Bit rate mode               : Constant
    Bit rate                    : 24.4 Mb/s
    Width                       : 720 pixels
    Height                      : 480 pixels
    Display aspect ratio        : 4:3
    Frame rate mode             : Constant
    Frame rate                  : 29.970 (29970/1000) FPS
    Standard                    : NTSC
    Color space                 : YUV
    Chroma subsampling          : 4:1:1
    Bit depth                   : 8 bits
    Scan type                   : Interlaced
    Scan order                  : Bottom Field First
    Compression mode            : Lossy
    Bits/(Pixel*Frame)          : 2.357
    Time code of first frame    : 00:00:03;21
    Time code source            : Subcode time code
    Stream size                 : 14.2 GiB (85%)
    Encoding settings           : wb mode= / white balance= / fcm=manual focus
    
    Audio
    ID                          : 0
    Format                      : PCM
    Format settings             : Big / Signed
    Duration                    : 1 h 23 min
    Bit rate mode               : Constant
    Bit rate                    : 1 536 kb/s
    Channel(s)                  : 2 channels
    Sampling rate               : 48.0 kHz
    Bit depth                   : 16 bits
    Stream size                 : 912 MiB (5%)
    What would be the best solution to remux it without sync errors?
    Quote Quote  
  2. Try
    Code:
    ffmpeg -fflags +genpts -i your.dv -c copy output.avi
    Quote Quote  
  3. So you used a command like this?

    Code:
    ffmpeg -i input.dv -c copy output.avi
    That's always worked for me. How is your audio out of sync? The fixed amount all the way through the video? Or does the sync get further and further off over the duration of the video? And do all DV files result in the same amount of async?
    Quote Quote  
  4. Originally Posted by ProWo View Post
    Try
    Code:
    ffmpeg -fflags +genpts -i your.dv -c copy output.avi
    Thanks but no success.
    Quote Quote  
  5. Originally Posted by jagabo View Post
    So you used a command like this?

    Code:
    ffmpeg -i input.dv -c copy output.avi
    That's always worked for me. How is your audio out of sync? The fixed amount all the way through the video? Or does the sync get further and further off over the duration of the video? And do all DV files result in the same amount of async?
    I tried this first. The out ot sync is like audio and video are playing at different speed. Like there are seconds of drift.
    Quote Quote  
  6. Originally Posted by lpmaskman View Post
    Originally Posted by jagabo View Post
    So you used a command like this?

    Code:
    ffmpeg -i input.dv -c copy output.avi
    That's always worked for me. How is your audio out of sync? The fixed amount all the way through the video? Or does the sync get further and further off over the duration of the video? And do all DV files result in the same amount of async?
    I tried this first. The out ot sync is like audio and video are playing at different speed. Like there are seconds of drift.
    Can you upload a sample of your problematic DV files? Or at least post a mediainfo report for the AVI file created from the DV in your first post.
    Last edited by jagabo; 12th Mar 2021 at 12:42.
    Quote Quote  
  7. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Something is certainly messed up. Have these been processed in any way? As the 1st audio stream should say something like "muxed in dv" or similar. Makes me think it is using a copy of audio, but cannot see the original audio (and it should).


    Scott
    Quote Quote  
  8. Originally Posted by jagabo View Post
    Originally Posted by lpmaskman View Post
    Originally Posted by jagabo View Post
    So you used a command like this?

    Code:
    ffmpeg -i input.dv -c copy output.avi
    That's always worked for me. How is your audio out of sync? The fixed amount all the way through the video? Or does the sync get further and further off over the duration of the video? And do all DV files result in the same amount of async?
    I tried this first. The out ot sync is like audio and video are playing at different speed. Like there are seconds of drift.
    Can you upload a sample of your problematic DV files? Or at least post a mediainfo report for the AVI file created from the DV in your first post.
    Due to this I cannot extract a part of it. So here is the medainfo of remuxed file:
    Code:
    Format                      : AVI
    Format/Info                 : Audio Video Interleave
    Commercial name             : DVCPRO
    Format profile              : OpenDML
    File size                   : 17.6 GiB
    Duration                    : 1 h 23 min
    Overall bit rate mode       : Constant
    Overall bit rate            : 30.3 Mb/s
    Recorded date               : 2004-08-03 21:24:24.000
    Writing application         : Lavf58.45.100
    
    Video
    ID                          : 0
    Format                      : DV
    Commercial name             : DVCPRO
    Codec ID                    : dvsd
    Codec ID/Hint               : Sony
    Duration                    : 1 h 23 min
    Bit rate mode               : Constant
    Bit rate                    : 24.4 Mb/s
    Width                       : 720 pixels
    Height                      : 480 pixels
    Display aspect ratio        : 4:3
    Frame rate mode             : Constant
    Frame rate                  : 29.970 (30000/1001) FPS
    Original frame rate         : 29.970 (29970/1000) FPS
    Standard                    : NTSC
    Color space                 : YUV
    Chroma subsampling          : 4:1:1
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Original scan type          : Interlaced
    Original scan order         : Bottom Field First
    Compression mode            : Lossy
    Bits/(Pixel*Frame)          : 2.357
    Time code of first frame    : 00:00:03;21
    Time code source            : Subcode time code
    Stream size                 : 16.7 GiB (95%)
    Encoding settings           : wb mode= / white balance= / fcm=manual focus
    
    Audio
    ID                          : 1
    Format                      : PCM
    Format settings             : Little / Signed
    Codec ID                    : 1
    Duration                    : 1 h 22 min
    Bit rate mode               : Constant
    Bit rate                    : 1 536 kb/s
    Channel(s)                  : 2 channels
    Sampling rate               : 48.0 kHz
    Bit depth                   : 16 bits
    Stream size                 : 906 MiB (5%)
    Alignment                   : Aligned on interleaves
    Interleave, duration        : 34  ms (1.01 video frame)
    Quote Quote  
  9. The only thing I see that's unusual is the "Time code of first frame". Your video starts at about 3 seconds. All the .dv file that I have start at 0. The AVI file has retained the same start time but maybe your player/editor isn't honoring that.
    Quote Quote  
  10. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    some apple product messed that up good. video and audio length are off by a minute. only the original tape and a new capture will fix it.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  



Similar Threads

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