[FFmpeg-user] Problem rewrapping DV in MOV

Ganesh.Irelan at syda.org Ganesh.Irelan at syda.org
Thu Oct 31 15:07:15 EET 2024


    > On 29 Oct 2024, at 15:16, Ganesh.Irelan--- via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
    > 
    > Hello
    > 
    > I have .dv files captured from DV videotapes with vrecord.  The .dv files play fine in Quicktime Player 10 but are not supported by Premier Pro or FCP.  I want to wrap the DV stream from the .dv files into Quicktime MOV (without transcoding) so they can be imported into Premier Pro.  FFMPEG rewraps the stream but when played in Quicktime, VLC, and Premier Pro there are narrow black vertical bars on the left and right edges of the frame.  It looks like the production aperture 720x480 is being displayed instead of the clean aperture 704x480 but that’s just a guess.  Can someone tell me an FFMPEG command that will result in MOV wrapped DV that displays without the vertical borders?
    > 
    > This is what I tried.  
    > 
    > 3137-Mac-Pro-DAM:~ kirelan$ ffmpeg -i 36058.dv -map 0 -c copy 36058_Rewrap.mov

   _______________________________________________

> On 10/29/24, 10:28 AM, "ffmpeg-user on behalf of Bouke / Videotoolshed" <ffmpeg-user-bounces at ffmpeg.org on behalf of bouke at videotoolshed.com> wrote:
 >   Try adding -aspect 4:3 (or 16:9 of course)
 >   Bouke

   _______________________________________________

Thanks for your reply.  A dv wrapped .mov file was created but it only contained the first 17 minutes of the 39 minute source.  The resulting file was viewable and did not have the unwanted vertical bars but, ultimately, the conversion failed.

3137-Mac-Pro-DAM:~ kirelan$ ffmpeg -i 36058_PRM.dv  -map 0 -c copy -aspect 4:3 36058_Aspect.dv
ffmpeg version 6.1.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[dv @ 0x7fde0e407500] Detected timecode is invalid
[dv @ 0x7fde0e407500] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from '/Volumes/QNAP1/z_TESTS/FFMPEG_Wrap_DV_to_MOV/36058_PRM.dv':
  Duration: 00:39:07.91, start: 0.000000, bitrate: 28771 kb/s
  Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, 60k fps, 29.97 tbr, 60k tbn
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[vost#0:0/copy @ 0x7fde0e40bc80] Overriding aspect ratio with stream copy may produce invalid files
Output #0, dv, to '36058_Aspect.dv':
  Metadata:
    encoder         : Lavf60.16.100
  Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 28771 kb/s, 60k fps, 29.97 tbr, 29.97 tbn
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[dv @ 0x7fde0e40b400] Can't process DV frame #25674. Insufficient audio data or severe sync problem.
[aost#0:1/copy @ 0x7fde0e40c700] Error submitting a packet to the muxer: Invalid argument
[out#0/dv @ 0x7fde0e409980] Error muxing a packet
[out#0/dv @ 0x7fde0e409980] video:3008906kB audio:160629kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
size= 3008789kB time=00:14:16.85 bitrate=28765.6kbits/s speed=47.8x    
Conversion failed!

Thank you
Kevin



More information about the ffmpeg-user mailing list