[FFmpeg-user] Question about encoding DVCPRO50

Hamza El farissi smexxxrecords at gmail.com
Wed Jun 21 11:39:37 EEST 2023


Hello Kieran,

Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> dvvideo (native))
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, dv, to 'Sony21.mxf':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    timecode        : 09:58:04:07
    material_package_umid:
0x060A2B340101010501010D0013DF7323529471342CDF732300529471342CDF00
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    encoder         : Lavf60.3.100
  Stream #0:0: Video: dvvideo, yuv422p(tv, bottom first), 720x576 [SAR
16:15 DAR 4:3], q=2-31, 50000 kb/s, 25 fps, 25 tbn
    Metadata:
      file_package_umid:
0x060A2B340101010501010D0013DF7323529471342CDF732300529471342CDF01
      encoder         : Lavc60.3.100 dvvideo
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      file_package_umid:
0x060A2B340101010501010D0013DF7323529471342CDF732300529471342CDF01
      encoder         : Lavc60.3.100 pcm_s16le
frame= 5194 fps=2109 q=-0.0 Lsize= 1460812kB time=00:03:27.72
bitrate=57611.1kbits/s speed=84.3x

This is the command i used :

ffmpeg -i Sony.mxf -codec:v dvvideo -b:v 50000k -minrate 50000k -maxrate
50000k -top 0 -s 720x576 -pix_fmt yuv422p -target pal-dv50 -codec:a
pcm_s16le Sony21.mxf

and this is the mediainfo i get from the output file

Format                                   : DV
Commercial name                          : DVCPRO
File size                                : 1.39 GiB
Duration                                 : 6 min 55 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 28.8 Mb/s
Frame rate                               : 25.000 FPS
Recorded date                            : 1970-01-01 00:00:00.000
FileExtension_Invalid                    : dv dif

Video
Format                                   : DV
Commercial name                          : DVCPRO
Duration                                 : 6 min 55 s
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
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.357
Time code of first frame                 : 09:58:04:07
Time code source                         : Subcode time code
Stream size                              : 1.18 GiB (85%)

Audio #1
ID                                       : 0
Format                                   : PCM
Format settings                          : Big / Signed
Duration                                 : 6 min 55 s
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                              : 76.1 MiB (5%)

Audio #2
ID                                       : 1
Format                                   : PCM
Format settings                          : Big / Signed
Duration                                 : 6 min 55 s
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                              : 76.1 MiB (5%)

i would like the format to be DV50, the commercial name to be DVCPRO50, Bit
rate to be 48.8 MB/s, Scan Order to be Bottom Field First

Thank you very much for your help


Le mer. 21 juin 2023 à 06:37, Kieran O Leary <kieran.o.leary at gmail.com> a
écrit :

> On Mon 19 Jun 2023 at 22:20, Hamza El farissi <smexxxrecords at gmail.com>
> wrote:
>
> > Hello , I'm attempting to encode a video into DVCPRO50 format.
> > I have found and read the documentation which suggests that FFmpeg should
> > be capable of this, but I'm having trouble with the specific command
> needed
> > to achieve the desired result.
>
>
> Can you post the complete terminal output including your command?
>
> Best,
>
> Kieran
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list