Problem rewrapping DV in MOV
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 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 @ 0x7fbee8d06b80] Detected timecode is invalid [dv @ 0x7fbee8d06b80] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from '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 Output #0, mov, to '36058_Rewrap_Map.mov': Metadata: encoder : Lavf60.16.100 Stream #0:0: Video: dvvideo (dvcp / 0x70637664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 28771 kb/s, 60k fps, 29.97 tbr, 60k tbn Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 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 [out#0/mov @ 0x7fbee8d0b940] video:8246133kB audio:439852kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.017190% size= 8687478kB time=00:39:07.87 bitrate=30311.5kbits/s speed=14.8x Thank you
On 29 Oct 2024, at 15:16, Ganesh.Irelan--- via ffmpeg-user <ffmpeg-user@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
Try adding -aspect 4:3 (or 16:9 of course) Bouke videotoolshed.com Van Oldenbarneveltstraat 33 6512 AS Nijmegen, the Netherlands +31 6 21817248 If you want to send me large files, please use: https://videotoolshed.wetransfer.com/
> On 29 Oct 2024, at 15:16, Ganesh.Irelan--- via ffmpeg-user <ffmpeg-user@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@ffmpeg.org on behalf of bouke@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
On 31 Oct 2024, at 14:07, Ganesh.Irelan--- via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
On 29 Oct 2024, at 15:16, Ganesh.Irelan--- via ffmpeg-user <ffmpeg-user@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@ffmpeg.org on behalf of bouke@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.
No clue in your case, but a captured DV tape can contain glitches that might interfere. Watch the DV stream around the part where the re-wrap stopped. Bouke videotoolshed.com Van Oldenbarneveltstraat 33 6512 AS Nijmegen, the Netherlands +31 6 21817248 If you want to send me large files, please use: https://videotoolshed.wetransfer.com/
Den 31.10.2024 14:22, skrev Bouke / Videotoolshed:
On 31 Oct 2024, at 14:07, Ganesh.Irelan--- via ffmpeg-user<ffmpeg-user@ffmpeg.org> wrote:
On 29 Oct 2024, at 15:16, Ganesh.Irelan--- via ffmpeg-user<ffmpeg-user@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@ffmpeg.org on behalf of bouke@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. No clue in your case, but a captured DV tape can contain glitches that might interfere. Watch the DV stream around the part where the re-wrap stopped.
Bouke
Sometimes it may help to first reset the timestamps: fmpeg -i 36058.dv -reset_timestamps 1 -c copy 36058_reset.dv Terje J. H
videotoolshed.com Van Oldenbarneveltstraat 33 6512 AS Nijmegen, the Netherlands +31 6 21817248 If you want to send me large files, please use: https://videotoolshed.wetransfer.com/ _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Den 31.10.2024 14:22, skrev Bouke / Videotoolshed: > >> On 31 Oct 2024, at 14:07, Ganesh.Irelan--- via ffmpeg-user<ffmpeg-user@ffmpeg.org> wrote: >> >>> On 29 Oct 2024, at 15:16, Ganesh.Irelan--- via ffmpeg-user<ffmpeg-user@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 https://linkprotect.cudasvc.com/url?a=https%3a%2f%2f36058_Rewrap.mov&c=E,1,MRkvkS39-zgTkJ-K5W4-UyKGIg2ThAghA0qSN2gma2vo3HBa4PNwZ2_dO8yIrVCim8Zw4OLBPuu2Haf0hdVK4LhqcreHbwIlvG0cgCXuCGyYlOEVpLhh&typo=1 >> _______________________________________________ >> >>> On 10/29/24, 10:28 AM, "ffmpeg-user on behalf of Bouke / Videotoolshed"<ffmpeg-user-bounces@ffmpeg.org on behalf of bouke@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. > No clue in your case, but a captured DV tape can contain glitches that might interfere. > Watch the DV stream around the part where the re-wrap stopped. > > > Bouke _______________________________________________
On 10/31/24, 11:24 AM, "ffmpeg-user on behalf of Terje J. Hanssen" <ffmpeg-user-bounces@ffmpeg.org on behalf of terjejhanssen@gmail.com> wrote:
Sometimes it may help to first reset the timestamps:
fmpeg -i 36058.dv -reset_timestamps 1 -c copy 36058_reset.dv
Terje J. H
_______________________________________________ Apparently FFMPEG only writes a CLAP atom for certain codecs and DV is not one of them. That explains why the production aperture is displayed when I play back a DV wrapped MOV file created by it. Using JES Extensifier I manually entered a CLAP atom into one of the files created by FFMPEG and it displays correctly in playback. Is there a way to manually specify that a CLAP atom be written during the conversion with FFMPEG? Thank you Kevin
participants (3)
-
Bouke / Videotoolshed -
Ganesh.Irelan@syda.org -
Terje J. Hanssen