|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#26 | |
|
Quote:
I wonder if MP4Tools (cli) can enable/disable audio tracks. You also might find the following two sites to be interesting and/or helpful. This detailed article from someone on the Quicktime engineering team seems to have some code on how to set these various options. Here is a technical Apple Developer Library article on Quicktime Modifier Tracks and Alternate Tracks. Maybe there is something useful in there. |
||
|
|
0
|
|
|
#27 |
|
Thanks for your help, I read those 2 links, but they don't really help. Ideally I don't want to use any other tools beyond ffmpeg to encode and atomicparsley to tag as they're working fine, doing everything I need - almost. I still cannot ascertain if it is some metadata that defines these "alternate tracks" groups and sets the ac3 track to disabled and if so what they are and if I can set them with either ffmpeg or atomicparsley
|
|
|
|
0
|
|
|
#28 | |
|
Quote:
BTW, HandbrakeCLI correctly enables the first 2-channel track, disables the second surround sound track (AC-3 5.1), and puts them in the correct alternate group. Have you tried the Apple TV 2/3 preset in Handbrake (app or CLI)? Could you integrate it into your workflow? |
||
|
|
0
|
|
|
#29 |
|
Here's some short 4mb 40s samples I used uploaded to dropbox. My prog detects what is in original file so in case of an m4v will just re-mux it and tag it. (This file has tag data from 'a clockwork orange' in it, just chosen at random)
original working file re-muxed+tagged non-working I am loath to use different progs as ffmpeg can do all encoding/remuxing I need and atomicparsley can do all tagging, which worked great until atv 5.1. TBH I've finished converting all MY files, tagged most of them and downgraded my ATV back to 5.0.2, so this surprise from Apple just prohibits a public release of my app as NOW it doesn't work properly! I'm not sure if I should even bother trying to work it out! 5 hours googling has revealed no clues as to what to do. If anyone knows if ffmpeg or atomicparsley can - enable the first 2-channel track, disable the second surround sound track (AC-3 5.1), and put them in the correct alternate group - I'm all ears! |
|
|
|
0
|
|
|
#30 |
|
Here is a screenshot from Subler of the two files you provided. The one on the left is the working one, and as you can see, the second track (surround sound) is disabled. The one on the right doesn't work and you can see that both tracks are enabled. Also, no fallback track is set but that shouldn't affect playback. The alternate groups for audio tracks are set correctly so you don't have to worry about that.
![]() Below is your file after I ran it through Subler. Download it and see if it works.
|
|
|
|
0
|
|
|
#31 |
|
This is how the file should look. The only thing extra I would add - the video does not have to be tagged as English - unknown is fine. I know of no instance where this will break anything - but Video English is kind of weird.
The other thing I noticed that *could* be weird in the long run - if you ever want to use the video on something else. The video profile is 3. I'm not at home - but I have a small dvd file here at work on a thumb drive which reads it as 3.1. I think the current appletv3 preset is 4.1 but don't quote me on that - could be 3.1 as well. I have no idea what fallback is - never set it, never had to - never had a problem with aac/ac3 issues |
|
|
|
0
|
|
|
#32 |
|
Yes, you're fixed file plays fine on ATV3+IOS-5.1. Thanks for the heads up on alternate tracks being correct, I've been googling that for hours, reading ffmpeg source code etc. So I just need to figure out IF ffmpeg can set audio track 2 to disabled.
Thanks for your help |
|
|
|
0
|
|
|
#33 | ||||
|
I'm not the best with the command line, but I tried disabling track 3 using mp4track and it worked.
I renamed your non-working file and used the following command in the Terminal. Quote:
Quote:
Quote:
---------- Quote:
Tagging the video track as English is just me being anal-retentive. It's not necessary but it is tidy. |
|||||
|
|
0
|
|
|
#34 |
|
CovertApple,
Can you integrate mp4tools and/or MP4Box into your workflow? MP4v2 MP4v2 Command-line Tools Guide MP4Box |
|
|
|
0
|
|
|
#35 |
|
Well theoretically I can add another program to workflow BUT I had hoped there would be someway that ffmpeg could do it as I did';t want app to bloat or get less stable.
MP4Box that I've seen other tools use, seems to unpack all the components of the files then re-pack them. I'd probably rather find out what the coder did. I'll have to think about it, need zome Zzzzz's now. Still cannot understand why apple did this in 5.1 |
|
|
|
0
|
|
|
#36 | |
|
Quote:
__________________
17" MacBook Pro, 2.66 GHz, 8GB RAM; AppleTV 3; iPad 2, 32GB; 2TB Time Capsule (RIP 9/12); AEBS w 1TB Seagate HDD; AE; 65" Mits DLP, Sony STR-DB1070 AVR
|
||
|
|
0
|
|
|
#37 |
|
ConvertApple,
I came across this Windows utility for modifying/muxing/demuxing Quicktime-compliant MP4s. Might be worth checking out. MP4Creator |
|
|
|
0
|
|
|
#38 | ||
|
Quote:
From that thread: Quote:
|
|||
|
|
0
|
|
|
#39 |
|
MP4v2 would be great but I can find no windows binary for it. Downloaded the source but it won't compile, got a missing file from svn but still won't compile, tried for 2 hours so given up on that. Best hope is if ffmpeg can do it.
Last edited by ConvertApple; Oct 4, 2012 at 04:49 AM. |
|
|
|
0
|
|
|
#40 |
|
SUCCESS!!! Thx for tips guys. I svn'd latest source + reinstalled vs2008 (didn't like vs2010) and got it compiled - So I now have a solution! Next comes the simple part writing the code.
It'll probably take me a week or 2 after that to get time to polish it, but then I'll release it. It's aim was the be mega-fast, require no user-intervention (beyond naming your files properly), minimal user options and to NEVER crash! So beyond disabling track2 (or is that disabling all tracks bar track1?) are there any other maggots in the apple that might bite me in the future I should be aware of? |
|
|
|
0
|
|
|
#41 |
|
are you all still having problems with this? i haven't updated yet...
|
|
|
|
0
|
|
|
#42 |
|
I am running my app to FIX all my video files (only alters those with 2+ audio streams in). It seems to take about a minute per file. I wouldn't upgrade yet. In a week or two I can let you have an app that will auto-fix all your files with a single click. BUT it's a windows app and on a mac forum perhaps that is sacriledge!
|
|
|
|
0
|
|
|
#43 | |
|
Quote:
__________________
13" Unibody Macbook, 2.0 GHz, 2 GB RAM, 160 GB HD iPad 2, 16 GB, WiFi Apple TV 2 & 3 Airport Extreme (Late 2009)
|
||
|
|
0
|
|
|
#44 |
|
Understood, but "checking" a file says this is the default, so by checking both files you were telling the aTV that both files are default. If you look back through previous posts here, you will see that the recommendation is to only have the first file (stereo) checked as default. Apparently, something in the new version was changed to no longer allow 2 default files. IMO, that doesn't sound like "breaking", it sounds like it was "fixing".
__________________
17" MacBook Pro, 2.66 GHz, 8GB RAM; AppleTV 3; iPad 2, 32GB; 2TB Time Capsule (RIP 9/12); AEBS w 1TB Seagate HDD; AE; 65" Mits DLP, Sony STR-DB1070 AVR
|
|
|
|
0
|
|
|
#45 | ||
|
Quote:
I could be wrong, but I think chapters are only supported if the video has the file extension M4V (rather than MP4). Also, be sure to use mp4file (part of MP4v2) to "optimize" your MP4/M4V files. Quote:
If you make changes to the file (like changing or adding tags) after optimizing, the "MooV" atom will no longer be at the beginning of the file, so you'll have to optimize it again if you want to keep the "fast-start" feature. Just make the optimize option be the last thing you run on the file. If the MP4/M4V file will be bigger than 4 GB, be sure to enable "64 Bit chunk offset" or the file may not work on older devices. |
|||
|
|
0
|
|
|
#46 | |
|
Quote:
If you don't use 64 bit chunk offset and the file ends up over 4 GB, it will not work on *any* devices. It will be a broken file. |
||
|
|
0
|
|
|
#47 | |
|
Quote:
My novice understanding was that checking meant it was enabled, not defaulted. Seeing the checks as defaults makes more sense to me that only 1 should be selected.
__________________
13" Unibody Macbook, 2.0 GHz, 2 GB RAM, 160 GB HD iPad 2, 16 GB, WiFi Apple TV 2 & 3 Airport Extreme (Late 2009)
|
||
|
|
0
|
|
|
#48 |
|
EVER since I encode EVERYTHING to MKV via
handbrake, using about 1700 AND selecting AC3 pass through for either 2.0. 5.1 OR HOLD ON NOW, DTS pass thru for those that have it and send it via HDMI to an input port on my AVR...then to the flat screen, VIDEO and AUDIO have never been better.. My ATV is basically a nite lite. Why have crippled audio and have to put up with all this. In MY case I have access to flea markets, ( great dvds @ 3 for 5.00), and a great library which gives me an ENDLESS supply of material.
I can see why those that rent APPLE media or those that still stream to the ATV like it, but I cut the cord to that thing and ever since have enjoyed SUPERB MOVIE sound and audio with very little trouble. Just my .02 |
|
|
|
0
|
|
|
#49 | |
|
Quote:
__________________
17" MacBook Pro, 2.66 GHz, 8GB RAM; AppleTV 3; iPad 2, 32GB; 2TB Time Capsule (RIP 9/12); AEBS w 1TB Seagate HDD; AE; 65" Mits DLP, Sony STR-DB1070 AVR
|
||
|
|
0
|
|
|
#50 | |
|
Quote:
Is it possible for you to recompile the source code for SublerCLI so it works in Windows? If so, it might be helpful. |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 04:27 PM.








17" MacBook Pro, 2.66 GHz, 8GB RAM;
Linear Mode
