[Cin] ffmpeg raw dv profiles patch

Andrew Randrianasulu randrianasulu at gmail.com
Fri Jan 5 09:47:13 CET 2024


пт, 5 янв. 2024 г., 11:38 Terje J. Hanssen via Cin <
cin at lists.cinelerra-gg.org>:

>
>
> Den 05.01.2024 03:38, skrev Andrew Randrianasulu via Cin:
> > Just for testing my aspect ratio patch series ...
> >
> > It makes funny dv out of HDV with two channel of audio:
> >
> > mediainfo /dev/shm/dv.dv
> > General
> > Complete name                            : /dev/shm/dv.dv
> > Format                                   : DV
> > Commercial name                          : DVCPRO HD
> > File size                                : 322 MiB
> > Frame rate                               : 25.000 FPS
> > Recorded date                            : 1970-01-01 00:00:00.000
> >
> > Video
> > Format                                   : DV
> > Commercial name                          : DVCPRO HD
> > Width                                    : 1 440 pixels
> > Height                                   : 1 080 pixels
> > Display aspect ratio                     : 16:9
> > Frame rate mode                          : Constant
> > Frame rate                               : 25.000 FPS
> > Standard                                 : PAL
> > Color space                              : YUV
> > Scan type                                : Interlaced
> > Scan order                               : Bottom Field First
> > Compression mode                         : Lossy
> > Time code of first frame                 : 00:00:00:00
> > Time code source                         : Subcode time code
> >
> > Audio #1
> > ID                                       : 0
> > Format                                   : PCM
> > Format settings                          : Big / Signed
> > Bit rate mode                            : Constant
> > Bit rate                                 : 768 kb/s
> > Channel(s)                               : 1 channel
> > Sampling rate                            : 48.0 kHz
> > Bit depth                                : 16 bits
> >
> > Audio #2
> > ID                                       : 1
> > Format                                   : PCM
> > Format settings                          : Big / Signed
> > Bit rate mode                            : Constant
> > Bit rate                                 : 768 kb/s
> > Channel(s)                               : 1 channel
> > Sampling rate                            : 48.0 kHz
> > Bit depth                                : 16 bits
> >
> > Audio #3
> > ID                                       : 2
> > Format                                   : PCM
> > Format settings                          : Big / Signed
> > Bit rate mode                            : Constant
> > Bit rate                                 : 768 kb/s
> > Channel(s)                               : 1 channel
> > Sampling rate                            : 48.0 kHz
> > Bit depth                                : 16 bits
> >
> > Audio #4
> > ID                                       : 3
> > Format                                   : PCM
> > Format settings                          : Big / Signed
> > Bit rate mode                            : Constant
> > Bit rate                                 : 768 kb/s
> > Channel(s)                               : 1 channel
> > Sampling rate                            : 48.0 kHz
> > Bit depth                                : 16 bits
> >
> >
> > ffprobe says:
> >
> > ffprobe /dev/shm/dv.dv
> > ffprobe version 4.4.4 Copyright (c) 2007-2023 the FFmpeg developers
> >    built with gcc 11.2.0 (GCC)
> >    configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
> > --docdir=/usr/doc/ffmpeg-4.4.4/html --mandir=/usr/man --disable-debug
> > --enable-shared --disable-static --enable-gpl --enable-version3
> > --enable-avresample --arch=i586 --enable-libfontconfig
> > --enable-libfreetype --enable-libfribidi --enable-gnutls
> > --enable-libass --enable-libbluray --enable-libcdio --enable-frei0r
> > --enable-libgsm --enable-openal --enable-libopus --enable-librtmp
> > --enable-libspeex --enable-libssh --enable-libtheora
> > --enable-libtwolame --enable-libv4l2 --enable-libvidstab
> > --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
> > --enable-libx265 --enable-libxvid --enable-libzmq --enable-libmp3lame
> > --enable-opencl --enable-opengl --enable-libopenjpeg
> > --disable-libpulse --enable-libsmbclient --enable-libsvtav1
> > --enable-libxml2 --enable-librsvg --enable-libdrm --enable-libaom
> > --enable-libdav1d --enable-libsoxr --enable-libzimg
> > --enable-vapoursynth
> >    libavutil      56. 70.100 / 56. 70.100
> >    libavcodec     58.134.100 / 58.134.100
> >    libavformat    58. 76.100 / 58. 76.100
> >    libavdevice    58. 13.100 / 58. 13.100
> >    libavfilter     7.110.100 /  7.110.100
> >    libavresample   4.  0.  0 /  4.  0.  0
> >    libswscale      5.  9.100 /  5.  9.100
> >    libswresample   3.  9.100 /  3.  9.100
> >    libpostproc    55.  9.100 / 55.  9.100
> > [dv @ 0x886bfc0] Estimating duration from bitrate, this may be inaccurate
> > Input #0, dv, from '/dev/shm/dv.dv':
> >    Metadata:
> >      timecode        : 00:00:00:00
> >    Duration: 00:00:23.48, start: 0.000000, bitrate: 115200 kb/s
> >    Stream #0:0: Video: dvvideo, yuv422p, 1440x1080 [SAR 4:3 DAR 16:9],
> > 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
> >    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
> >    Stream #0:2: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
> >    Stream #0:3: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
> >    Stream #0:4: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
> >
> > so, 8 streams ( four stereo pairs), only first 2 of them are real :)
>
> The format seems to be DVCPro HD (Panasonic), not HDV?
> https://en.wikipedia.org/wiki/DV_(video_format)#DVCPRO_HD
>
> But recorded date 1970  was early?
>


yeah, I just mean I used HDV as source.

Date 1970 is surely too early, but such is default! Probably makes it
easier to see if file was from camera or re-encoded.

>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240105/c67965f6/attachment-0001.htm>


More information about the Cin mailing list