This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] MP4 can't encode with PCM, but why this MP4 file can?
#1
MP4 can't encode with PCM, but why this MP4 file can?

i upload this, please help me to research. many thanks.
https://drive.google.com/uc?id=1Y3NMUj-f...t=download

my question is two,

1) why this MP4 file can contain PCM audio tracks? The first track of the MP4 is what i want to encode with by Hybrid, but when i encode it displays MP4 PCM error. why this MP4 can contain PCM audios, i want to encode but can not?

2) the MP4 file have many PCM tracks, can all these tracks mux a 5.1 or 7.1 true HD sound track by Hybrid?
because some tracks have no dialogue voice, only are sounds like winds, sands, background noise.
Reply
#2
Quote:i upload this, please research for me. thanks
Sorry, but I'm not downloading a 16GB sample,...

Quote:1) why this MP4 file can contain PCM audio tracks?
Probably because it does not care about the MPEG-4 container file standard,...

Quote:2) the MP4 file have many PCM tracks, can all these tracks mux a 5.1 or 7.1 true HD sound track by Hybrid?
I don't understand the question.
Hybrid does not support wav/pcm audio in mp4 files.
Hybrid does not limit the channel count as long as the audio format support the channel count.

-> If you want/need pcm/wav audio use another container, or some tool that does not care about standards.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
16G seems a little big, but for research, and it's valueable, not many time to download, about 20 minutes it can be downloaded.

it's worth when you research to find out the truth, maybe you will learn something more to improve Hybrid.

i can't split out a smaller file, because it will be MKV format, not the original MP4.

and these track only the first in it is the full dialogue track, others seem are background, if all tracks can mux get a best high quality track, that would be good.


there are 5 PCM audio tracks in this MP4, and this is info:

[Image: 9V4OnD3wyJNIjSk.jpg]

General
Format                        : MPEG-4
Format profile                : QuickTime
Codec ID                      : qt  2005.03 (qt  )
File size                      : 16.1 GiB
Duration                      : 44 min 47 s
Overall bit rate              : 51.5 Mb/s
Encoded date                  : UTC 2019-11-16 03:34:43
Tagged date                    : UTC 2019-11-22 07:40:35
Writing library                : Apple QuickTime
TSC                            : 25
TSZ                            : 1

Video
ID                            : 1
Format                        : AVC
Format/Info                    : Advanced Video Codec
Format profile                : Main@L5
Format settings                : 2 Ref Frames
Format settings, CABAC        : No
Format settings, Reference fra : 2 frames
Format settings, GOP          : N=2
Codec ID                      : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                      : 44 min 47 s
Bit rate                      : 43.8 Mb/s
Width                          : 1 920 pixels
Height                        : 1 080 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.845
Stream size                    : 13.7 GiB (85%)
Title                          : Apple  ”∆µ√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:27:30
Tagged date                    : UTC 2019-11-16 05:35:50
Color range                    : Limited
Color primaries                : BT.709
Transfer characteristics      : BT.709
Matrix coefficients            : BT.709
Codec configuration box        : avcC

Audio #1
ID                            : 2
Format                        : PCM
Format settings                : Little / Signed
Codec ID                      : sowt
Duration                      : 44 min 47 s
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                    : 492 MiB (3%)
Title                          : Apple …˘“Ù√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:28:06
Tagged date                    : UTC 2019-11-16 05:35:50

Audio #2
ID                            : 3
Format                        : PCM
Format settings                : Little / Signed
Codec ID                      : sowt
Duration                      : 44 min 47 s
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                    : 492 MiB (3%)
Title                          : Apple …˘“Ù√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:29:37
Tagged date                    : UTC 2019-11-16 05:35:50

Audio #3
ID                            : 4
Format                        : PCM
Format settings                : Little / Signed
Codec ID                      : sowt
Duration                      : 44 min 47 s
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                    : 492 MiB (3%)
Title                          : Apple …˘“Ù√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:31:10
Tagged date                    : UTC 2019-11-16 05:35:50

Audio #4
ID                            : 5
Format                        : PCM
Format settings                : Little / Signed
Codec ID                      : sowt
Duration                      : 44 min 47 s
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                    : 492 MiB (3%)
Title                          : Apple …˘“Ù√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:32:43
Tagged date                    : UTC 2019-11-16 05:35:50

Audio #5
ID                            : 6
Format                        : PCM
Format settings                : Little / Signed
Codec ID                      : sowt
Duration                      : 44 min 47 s
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                    : 492 MiB (3%)
Title                          : Apple …˘“Ù√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:34:17
Tagged date                    : UTC 2019-11-16 05:35:50

Other
ID                            : 7
Type                          : Time code
Format                        : QuickTime TC
Duration                      : 44 min 47 s
Frame rate                    : 25.000 FPS
Time code of first frame      : 00:00:00:00
Time code, striped            : Yes
Title                          :  ±º‰¬Î√ΩÃÂ¥¶¿Ì≥ÖÚ
Language                      : English
Encoded date                  : UTC 2019-11-16 05:35:50
Tagged date                    : UTC 2019-11-16 05:35:50
Reply
#4
Quote:it's worth when you research to find out the truth, maybe you will learn something more to improve Hybrid
That file is not an .mp4 file.
That file is a .mov file, that someone renamed if it has a .mp4 extension.
Quote:Format profile : QuickTime
is a dead giveaway. Big Grin

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
(25.02.2021, 21:10)Selur Wrote:
Quote:it's worth when you research to find out the truth, maybe you will learn something more to improve Hybrid
That file is not an .mp4 file.
That file is a .mov file, that someone renamed if it has a .mp4 extension.
Quote:Format profile                : QuickTime
is a dead giveaway. Big Grin

Cu Selur

so if i encode x264+PCM with mov in Hybrid, i can get a .mov file, then i can change the extension name to .mp4 directly, to achieve the goal?

and another question, can all these tracks could be muxed by Hybrid to get one single best audio track?
Reply
#6
Quote:so if i encode x264+PCM with mov in Hybrid, i can get a .mov file, then i can change the extension name to .mp4 directly, to achieve the goal?
Yes, you will get a non-standard conform file. In a professional context that would be a no-go, but sure it can be done.

Quote:and another question, all these tracks could be muxed by Hybrid to get one single best audio track?
No, Hybrid has no option to 7 stereo audio stream into a 13.1 or 14 channel audio track.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
[quote pid="10975" dateline="1614281319"]
No, Hybrid has no option to 7 stereo audio stream into a 13.1 or 14 channel audio track.

Cu Selur
[/quote]

if only mux some tracks, not all 5 tracks. mux two, or three, or four tracks to make a better track. is it possible?
Reply
#8
No, Hybrid does not support merging multiple stereo stream.
Okay, to be frank, it is possible if you spend time to understand the 'merge audio streams'-option and it's custom-part which uses ffmpegs "amerge" option, see https://www.ffmpeg.org/ffmpeg-all.html#toc-amerge-1
So if you* find the time and motivation to do it, it is actually possible with Hybrid.

* I will not look into this; since I lack time and motivation to think about such stuff.
This seems like something that should be done in an NLE tool not a converter with some filtering options.
Since to properly do this you need to know exactly how to merge the streams and convert that knowledge into the corresponding muxing mapping for amerge.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#9
OK, thanks for reply
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)