[FFmpeg-user] Converting DVCPRO in AVI wrapper to .dv, missing audio stream

Joanna White pittschick at me.com
Wed Nov 13 15:33:42 EET 2019


Hi there,


Apologies if there has been a similar request to this before.


I'm trying to rewrap an old AVI file with dvcp codec to the .dv wrapper so that it's explicit when committed to long-term LTO storage that it's a DV file.  I've been using an FFmprovisr command:



ffmpeg -i input_file -f rawvideo -c:v copy output_file.dv


This results in a DV file smaller than the AVI with a missing audio channel and other missing metadata. I've attached the results of mediainfo outputs of both below, AVI first.  I've tried a -map 0 function which failed. I'm sure it's a simple audio command but I've not been able to find anything online that has helped me so far.


Many thanks in anticipation,



Joanna White

Media Archive for Central England







AVI DVCP:



General
Complete name                            : /Volumes/scanner/FOR LTO/6775 DV.avi
Format                                   : MPEG-4
Commercial name                          : DVCAM
Format profile                           : QuickTime
Codec ID                                 : qt   2005.03 (qt  )
File size                                : 37.3 GiB
Duration                                 : 2 h 56 min
Overall bit rate                         : 30.3 Mb/s
Encoded date                             : UTC 2012-11-15 11:44:17
Tagged date                              : UTC 2012-11-15 13:11:49
Writing library                          : Apple QuickTime
TIM                                      : 00:00:00:00
TSC                                      : 25
TSZ                                      : 1
FileExtension_Invalid                    : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v

Video
ID                                       : 1
Format                                   : DV
Commercial name                          : DVCAM
Codec ID                                 : dvcp
Duration                                 : 2 h 56 min
Bit rate mode                            : Constant
Bit rate                                 : 24.4 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Original display aspect ratio            : 4:3
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.357
Stream size                              : 30.1 GiB (81%)
Language                                 : English
Encoded date                             : UTC 2012-11-15 11:44:17
Tagged date                              : UTC 2012-11-15 12:42:53

Audio #1
ID                                       : 2
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : sowt
Duration                                 : 2 h 56 min
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 1.89 GiB (5%)
Language                                 : English
Encoded date                             : UTC 2012-11-15 11:44:17
Tagged date                              : UTC 2012-11-15 12:42:53

Audio #2
ID                                       : 1-0
Format                                   : PCM
Format settings                          : Big / Signed
Muxing mode                              : DV
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 2 h 56 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                              : 1.89 GiB (5%)

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 2 h 56 min
Frame rate                               : 25.000 FPS
Time code of first frame                 : 00:00:00:00
Time code, striped                       : Yes
Language                                 : English
Encoded date                             : UTC 2012-11-15 12:42:53
Tagged date                              : UTC 2012-11-15 12:42:53






DV REWRAP:


General
Complete name                            : /Volumes/scanner/TEMP - BACK UPs/Source 1 AVIs MOVs/FOR LTO/6775_2.dv
Format                                   : DV
Commercial name                          : DVCAM
File size                                : 35.4 GiB
Duration                                 : 2 h 56 min
Overall bit rate mode                    : Constant
Overall bit rate                         : 28.8 Mb/s

Video
Format                                   : DV
Commercial name                          : DVCAM
Duration                                 : 2 h 56 min
Bit rate mode                            : Constant
Bit rate                                 : 24.4 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.357
Stream size                              : 30.1 GiB (85%)

Audio
ID                                       : 0
Format                                   : PCM
Format settings                          : Big / Signed
Duration                                 : 2 h 56 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                              : 1.89 GiB (5%)


More information about the ffmpeg-user mailing list