-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a duration field missing after editing tags? #98
Comments
You're right. The absence of the duration in MediaInfo's "General" section can be easily reproduced:
Editing tags shouldn't have an impact like this so this is clearly a bug. Thanks for bringing it to my attention. I'll have to figure out what's being lost here. |
Thanks for checking it out so quickly! Hope it turns out to be an easy fix.
Thanks for the nice software, I've enjoyed using it so far.
…On Sun, Jan 1, 2023 at 5:02 PM Martchus ***@***.***> wrote:
You're right. The absence of the duration in MediaInfo's "General" section
can be easily reproduced:
ffmpeg -i test1.m4a -c copy test-duration.m4a # create fresh file
tageditor-qt6 set --layout-only -f test-duration.m4a --output-files test-duration-edited.m4a
mediainfo test-duration.m4a # duration is present in the "General" section
mediainfo test-duration-edited.m4a # duration is not present in the "General" section (only in the "Audio" section)
Editing tags shouldn't have an impact like this so this is clearly a bug.
Thanks for bringing it to my attention. I'll have to figure out what's
being lost here.
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3AIN4UKSCZWGJWN5MDWTDWQIEJRANCNFSM6AAAAAATOF4DYM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
--
Aaron Rendahl, Ph.D.
Associate Professor of Statistics and Informatics
College of Veterinary Medicine, University of Minnesota
300A VetSci, 612-301-2161
|
Maybe it is an easy fix, indeed. The hard part will be figuring out where exactly the difference between the original and the edited file is. The
So duration-specific information that is stored within the This issue is possibly related to my latest changes I did to fix #80 (commit 503fb725a22bbe7e15199220b1d0e84fc6427170). |
* Skip 4 bytes reserved space correctly * See Martchus/tageditor#98
This bug should be fixed on master (of the tagparser repository). Now the duration within I've also noticed that a language value that is explicitly set to "und" (undefined) is turned into a null value. This should be fixed as well so "und" is preserved. (But a null value is also preserved. The track's language is basically kept unless one really wants to change it.) |
That's great, thank you! Open source projects (with responsive authors
and/or maintainers) are the best!
…On Mon, Jan 2, 2023 at 12:53 PM Martchus ***@***.***> wrote:
This bug should be fixed on master (of the tagparser repository). Now the
duration within moov.trak.tkhd should be preserved.
I've also noticed that a language value that is explicitly set to "und"
(undefined) is turned into a null value. This should be fixed as well so
"und" is preserved. (But a null value is also preserved. The track's
language is basically kept unless one really wants to change it.)
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3AIN6YEPOGSUWHZWYCWL3WQMP3ZANCNFSM6AAAAAATOF4DYM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
--
Aaron Rendahl, Ph.D.
Associate Professor of Statistics and Informatics
College of Veterinary Medicine, University of Minnesota
300A VetSci, 612-301-2161
|
It would be great if you could confirm whether this also solves the playback issues on that MacOS-specific player. (If not, I'll have to dig deeper.) By the way, if you encountered any problems when building for MacOS, feel free to add/update possibly missing/outdated remarks to the documentation (either here or in one of the dependencies, like the README of c++utilities). |
Yes, I'll try to do that, thanks for your quick work on this. It may be the
weekend before I'll have a chance to rebuild and try it.
I didn't run into any issues when building, it all pretty much worked. The
only issue I remember in the documentation was that it wasn't immediately
clear that all the packages were connected and that the primary build
documentation was in another package. I'll see if I can put together a more
specific suggestion when I build again.
…On Tue, Jan 3, 2023 at 6:46 AM Martchus ***@***.***> wrote:
It would be great if you could confirm whether this also solves the
playback issues on that MacOS-specific player. (If not, I'll have to dig
deeper.)
By the way, if you encountered any problems when building for MacOS, feel
free to add/update possibly missing/outdated remarks to the documentation
(either here or in one of the dependencies, like the README of
c++utilities).
—
Reply to this email directly, view it on GitHub
<#98 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3AINYYQ66CENPDKQ4NKZLWQQNT3ANCNFSM6AAAAAATOF4DYM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
--
Aaron Rendahl, Ph.D.
Associate Professor of Statistics and Informatics
College of Veterinary Medicine, University of Minnesota
300A VetSci, 612-301-2161
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
After editing tags, I discovered that my m4a files play in most but not all applications; specifically, they don't play in the Quick Look Mac application, which is used to play files from the Finder file manager. They do play in (Mac) Music and VLC.
It appears the issue may be a missing duration field; after running the file through ffmpeg using passthrough filters, this duration field is back and it then plays in all applications.
I'm using tageditor from the command line on a Mac, with everything pulled from github a few days ago and compiled without the graphical interface. It's linked against: C++ Utilities: 5.20.1-1029.23ca577, Tag Parser: 11.5.0-762.93da1f1; I somehow can't find a version number for tageditor to confirm I have the most recent update.
Using mediainfo, there are two Duration tags before (one overall, one in the track) and only a "Source duration" tag after:
Using exiftool the "Track Duration" field is now missing
Using
tageditor -if
the two files are identical; both have two "Duration" fields (one for the container, one for the track) that all say2 min 35 s 829 ms 115 µs 600 ns
. (Since the tag editor also supports changing meta-data on track level such as the language of tracks it messes with tracks in the first place. Of course no data loss should occur due to that.)The text was updated successfully, but these errors were encountered: