Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#21 | Link |
Registered User
Join Date: Jul 2008
Posts: 565
|
|
![]() |
![]() |
![]() |
#22 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,169
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,223
|
Please read:
https://gpac.io/ https://github.com/gpac/gpac/wiki/ In most cases related to (de-)multiplexing MP4 files, MP4Box is all you need, it is already complex enough; GPAC supports even more kinds of media manipulation by building "filter" chains and even trees. Do you remember GraphEdit for DirectShow filter graphs? GPAC is like that ... on steroids, but with a command line interface, and all in one binary. Last edited by LigH; 2nd March 2024 at 03:14. |
![]() |
![]() |
![]() |
#24 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,346
|
I've just remembered...
Many years ago I used DVBPortal's MP4Multiplexer/Demultiplexer as well. It used something called mp4creator.exe. https://www.videohelp.com/software/MP4Muxer EDIT: Needless to say mp4creator.exe is years out of date and not suitable for todays needs!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 2nd March 2024 at 23:54. |
![]() |
![]() |
![]() |
#25 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,477
|
Quote:
The same file (re)muxed with ffmpeg is totally fine in GStreamer, though. So it specifically has to do with how mp4creator arranges the atoms or something.
__________________
AviSynth+ native Linux/macOS/BSD support | AviSynth+ utilities and plugins for non-Windows and non-x86(-64) Last edited by qyot27; 2nd March 2024 at 12:47. |
|
![]() |
![]() |
![]() |
#26 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,113
|
https://forum.doom9.org/showthread.p...36#post1998336
I cannot reproduce this issue, probably because my work flow is different. ![]() Short Explanation: My sources are mostly from YouTube or similar sites downloaded in the MP4 format (avc video in HD and aac audio). I leave the video untouched and manipulate the audio slightly. Then I save the result in the MKV format (simply because my old Xtreamer box likes the MKV format better than MP4). These files are perfect for my needs, but sometimes a friend asks me for a certain video file. And most of my friends are Apple fan boys and want the files in the MP4 format instead of my MKV files. In these cases I repack the files to the MP4 format using FFMpeg (just change the container, no other changes), and so far I never got any complaints about seeking issues. After reading Myrsloik's post I got curious and tested some of my MP4 files created from MKV files. And I could not find any seeking issues. MediaInfo reports 2 separate audio streams for the MP4, so the file size is marginally higher, but I could not see any of the problems which Myrsloik points out. So is this really an FFmpeg issue with MP4 files? Maybe I should mention that my FFmpeg version is from January 2022 (last version which supports the Fraunhofer FDK AAC codec). And I need to use this AAC codec because my Xtreamer box tends to choke on AAC audio files created with FFmpeg. Can someone enlighten me please? Maybe even uploat an MKV source file which shows this behavior after converting it to MP4 using FFmpeg? Cheers manolito Last edited by manolito; 12th March 2024 at 16:43. |
![]() |
![]() |
![]() |
#27 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,346
|
Out of interest...
Are there any MP4 muxers that are able to support .m2ts files that contain 'Dolby TrueHD with an AC3 core', or is the AC3 core always removed? Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
![]() |
![]() |
![]() |
#29 | Link | |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,346
|
Quote:
Failing the above... It's possible to add a lossy AC3 stream into any lossless Dolby TrueHD stream using UsEac3To v1.3.3 Failing that failing... I shall also look for a short sample ![]() EDIT: With any luck this link to my Microsoft OneDrive should work: https://1drv.ms/v/s!Aj3f3LPxO1ZSiBGD...083qE?e=SjePZf. Click on the download icon at the top left corner.
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 21st March 2024 at 17:25. |
|
![]() |
![]() |
![]() |
#30 | Link | ||
Senior Member
Join Date: Apr 2004
Posts: 1,054
|
Quote:
Quote:
https://forum.doom9.org/showthread.p...36#post1992736 |
||
![]() |
![]() |
![]() |
#31 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,113
|
Thanks Video Dude for confirming my findings...
![]() I did try the test files from your link, but they were not too helpful. Mostly the source mkv files were already broken, so it was no surprise that the resulting MP4 files were broken as well. The scenario which Myrsloik describes is different: His mkv cource file has no search issues, but the MP4 file he gets after converting the source to MP4 using FFmpeg does have thouse search issues. And I cannot reproduce this problem, at least not for my source files (AVC video and AAC audio). Maybe this is different for other source formats, so it would be nice if Myrsloyk or someone else could provide a link to a short MKV clip which has no problems, but which after converting it to MP4 using FFmpeg does show these issues. Thanks again and cheers manolito Last edited by manolito; 8th April 2024 at 07:13. |
![]() |
![]() |
![]() |
#32 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,477
|
Quote:
But considering I am far more comfortable bisecting FFmpeg than I would be trying to do that with the relevant plugin for GStreamer, I was able to find the commit that causes the issue. The thing that doesn't make any sense is that that commit would have been present in the version of FFmpeg and mpv I was using on 23.10 just a couple days ago...where the issue wasn't happening. So I have to investigate further - my fear(?) is that while that commit may be the source of the issue for FFmpeg, it may have only been exposed and triggered because of a change in some other low-level part of the OS or even in GCC (which I suspect because trying to bisect the issue on 24.04 exhibited the same problem even with old versions between that commit and HEAD, which again, makes no sense when it didn't do this a couple months ago on 23.10). EDIT: It seems to be a *bit* more nuanced than that. mpv had a couple of workarounds for FFmpeg's support of MP4 advanced editlists that was removed back in January. My build of mpv must have predated that, because reverting the removal commit only from mpv and not from FFmpeg allowed the file to work the way it was intended. So yeah, some of these commits in FFmpeg do affect the default behavior when consuming mp4creator-muxed files, but FFmpeg does have an -ignore_editlists option that controls that behavior which breaks these files, and setting that option to 'true' allows FFmpeg to see the correct length and decode the file as intended. On mpv's side, that same option can be passed through --demuxer-lavf-o to achieve the same thing (although I don't know what setting that unconditionally would do as far as video playback is concerned), so no commit reverting is necessary. I hope this is the last time I have to say anything about this.
__________________
AviSynth+ native Linux/macOS/BSD support | AviSynth+ utilities and plugins for non-Windows and non-x86(-64) Last edited by qyot27; 27th April 2024 at 06:06. |
|
![]() |
![]() |
![]() |
#33 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,223
|
New uploads (MSYS2, MinGW32 / MinGW64, GCC 14.1):
MP4Box 2.5-DEV-rev461-ge2250d68-ab-suite GPAC 2.5-DEV-rev461-ge2250d68-ab-suite |
![]() |
![]() |
![]() |
#34 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,221
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#36 | Link | |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,448
|
Quote:
![]() Within some days, I will check whether the newest MP4Box finally started supporting VC-1 video and DTS audio ![]() Very-unlikely, I know, but anyway, it's always good to bash the GPAC devilopers ![]() ![]() ![]()
__________________
«Your software patents have expired.» Last edited by filler56789; 22nd July 2024 at 17:02. Reason: styling :-) |
|
![]() |
![]() |
![]() |
#37 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,223
|
New uploads (MSYS2, MinGW32 / MinGW64, GCC 14.2.0):
MP4Box 2.5-DEV-rev503-g25797108-ab-suite GPAC 2.5-DEV-rev503-g25797108-ab-suite |
![]() |
![]() |
![]() |
#39 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,223
|
New uploads (MSYS2, MinGW32 / MinGW64, GCC 14.2):
MP4Box 2.5-DEV-rev816-g1bc97198-ab-suite GPAC 2.5-DEV-rev816-g1bc97198-ab-suite |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|