如何使用FFmpeg将mp4转换为mp4?

幽灵猫

我有一组MP4文件;他们都在我的Ubuntu盒子上玩VLC。但是,当将它们复制到USB时;并想从我的电视(Grundig,28 VLE 5500WG)中播放它们;其他人没有。没有特定的错误消息;就像“未知文件格式”之类的东西。

Mediainfo(工作文件):

Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 368 MiB
Duration                                 : 1h 6mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 770 Kbps

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1h 6mn
Bit rate                                 : 640 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.088
Stream size                              : 306 MiB (83%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 1h 6mn
Bit rate mode                            : Variable
Bit rate                                 : 124 Kbps
Maximum bit rate                         : 140 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 59.3 MiB (16%)

Mediainfo损坏的文件:

Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 269 MiB
Duration                                 : 47mn 22s
Overall bit rate mode                    : Variable
Overall bit rate                         : 793 Kbps
Writing application                      : Stupid Ocelot

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 47mn 22s
Bit rate                                 : 680 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.094
Stream size                              : 231 MiB (86%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 47mn 22s
Bit rate mode                            : Variable
Bit rate                                 : 96.0 Kbps
Maximum bit rate                         : 110 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 32.5 MiB (12%)
幽灵猫

我想出了一种可行的方法(不确定是否最佳)。跑步

ffmpeg -i broken.mp4 -pix_fmt yuv420p -crf 18 good.mp4

创建一个更大的MP4(就质量而言可能最小程度地变差)...并且可以在我的电视机上使用。

(但我仍在寻找其他答案,如果有的话)

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

通过ffmpeg将jpg转换为mp4

来自分类Dev

使用ffmpeg将wmv转换为mp4

来自分类Dev

ffmpeg将rtp转换为mp4(http)流

来自分类Dev

使用ffmpeg将mp4转换为gif时降低fps

来自分类Dev

使用ffmpeg将mp4转换为相同的高质量avi文件?

来自分类Dev

PHP ffmpeg将GIF转换为MP4

来自分类Dev

将零碎的MP4转换为MP4

来自分类Dev

使用ffmpeg将mp4转换为相同的高质量avi文件?

来自分类Dev

使用ffmpeg将webm转换为mp4

来自分类Dev

node.js:将mp4转换为mp3时,fluent-ffmpeg引发错误

来自分类Dev

免费编解码器:如何在Xenial下使用FFmpeg将mp4转换为ogv?

来自分类Dev

使用缩略图将Mp4转换为Mp3

来自分类Dev

我如何将MP4转换为OGV,同时仍使用FFMPEG保持相同的质量?

来自分类Dev

FFMPEG:将MP4转换为相同的MP4(在不同的容器中)并添加字幕

来自分类Dev

如何使用FFmpeg和字幕将MKV转换为MP4?

来自分类Dev

使用ffmpeg将.mov视频转换为.mp4

来自分类Dev

使用Ffmpeg使用图像将mp3转换为mp4

来自分类Dev

将MP4转换为WAV

来自分类Dev

使用ffmpeg从mp4转换为avi时如何获得最佳质量?

来自分类Dev

使用ffmpeg,如何将MP4,裁剪和调整大小转换为GIF?

来自分类Dev

将mp4转换为mp3

来自分类Dev

FFMPEG无法将MP4转换为MP3 | 没有MP3编码器

来自分类Dev

如何使用ffmpeg将webp图像转换为MP4视频

来自分类Dev

如何使用FFMPEG将mp4转换为h264并添加AUD

来自分类Dev

在使用FFmpeg将MP4转换为GIF时,如何限制GIF文件中使用的颜色数量?

来自分类Dev

如何使用avconv将PPM转换为MP4

来自分类Dev

如何使用ffmpeg将.mp4v转换为.mp4?

来自分类Dev

使用ffmpeg将mp4文件夹转换为mp3?

来自分类Dev

使用 ffmpeg 批量转换 MP4

Related 相关文章

热门标签

归档