带有“jpeg”视频编解码器的 3GP 视频

时间:2021-05-29 16:10:12

标签: jpeg video-encoding mjpeg video-codecs 3gp

我有便宜的功能手机,可以录制 3gp 文件格式的视频。当我将此类视频上传到计算机并使用 mediainfo 检查它时,它会给出神秘的输出:

Format                                   : MPEG-4
Format profile                           : 3GPP Media Release 5
Codec ID                                 : 3gp5 (3gp5)
File size                                : 4.69 MiB
Duration                                 : 1 min 7 s
Overall bit rate                         : 585 kb/s
Encoded date                             : UTC 1970-01-01 00:02:13
Tagged date                              : UTC 1970-01-01 00:02:13

Video
ID                                       : 2
Format                                   : JPEG
Codec ID                                 : jpeg
Duration                                 : 1 min 7 s
Source duration                          : 1 min 7 s
Bit rate                                 : 571 kb/s
Width                                    : 240 pixels
Height                                   : 320 pixels
Display aspect ratio                     : 0.750
Frame rate mode                          : Variable
Frame rate                               : 9.137 FPS
Minimum frame rate                       : 3.686 FPS
Maximum frame rate                       : 17.192 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.813
Stream size                              : 4.57 MiB (97%)
Source stream size                       : 4.57 MiB (97%)
Language                                 : English
Encoded date                             : UTC 1970-01-01 00:02:13
Tagged date                              : UTC 1970-01-01 00:02:13
mdhd_Duration                            : 67133

视频编解码器是“JPEG”。 当我在 Totem Video Player 中播放视频时,编解码器名称为“JPEG 静止图像”。 我测试过我的手机不支持 MJPEG,并且 mediainfo 显示编解码器(也)被标识为 MPEG-4。当我在十六进制编辑器中打开视频时,它显示为 JPEG 图像序列,这是不可能的(3gp 容器支持 H.263 和 MPEG-4 而不是 MJPEG)。另一方面,转换为 3gp MPEG-4 的示例视频给出了这个 mediainfo 输出:

Format profile                           : 3GPP Media Release 4
Codec ID                                 : 3gp4 (isom/iso2/3gp4)
File size                                : 1.84 MiB
Duration                                 : 16 s 50 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 960 kb/s

Video
ID                                       : 1
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L3
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : mp4v-20
Duration                                 : 16 s 50 ms
Bit rate mode                            : Variable
Bit rate                                 : 659 kb/s
Maximum bit rate                         : 1 000 kb/s
Width                                    : 240 pixels
Height                                   : 180 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 20.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.763
Stream size                              : 1.26 MiB (69%)
Title                                    : ISO Media file produced by Google Inc.
Writing library                          : XviD 69

正如您在技术上所看到的,它也是 MPEG-4。 Totem 将第二个视频标识为 MPEG-4。 第二个视频可以在我的手机上播放。 我的问题是如何使用“jpeg”视频编解码器制作/编码我自己的 3gp 视频? 我手机的芯片组是sc6531e(数据表可在互联网上找到)

1 个答案:

答案 0 :(得分:0)

我想通了,它只是 Apple Quicktime MJPEG 编解码器。它与 3GP 容器不兼容,它旨在与 MOV 一起使用。我的手机只是在标题中更改了几个字节,尽管它是 MOV,但它看起来像 3GP。以下是规格: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html

相关问题