12-10-2024, 08:35 AM
|
|
Premium Member
|
|
Join Date: May 2018
Location: Cedar Rapids, Iowa
Posts: 33
Thanked 1 Time in 1 Post
|
|
Hi there. Using Hybrid to convert an AVI file to MP4 (while doing some deinterlacing).
I understand that PCM audio inherent in AVI files won't translate or convert for MP4. So, I first pulled the audio track from the AVI file and converted it to a separate 160kbps AAC file, based on a previous recommendation on this forum.
Under Hybrid's Base tab -> Processing section, I chose "Custom" under the "Audio" drop-down menu:
Audio issue 01a.jpg
Then, under the "Audio" tab, I selected my AAC audio file to be used as the final audio track:
You must be logged in to view this content; either login or register for the forum. The attached screen shots, before/after images, photos and graphics are created/posted for the benefit of site members. And you are invited to join our digital media community. |
But when I hit the shovel man to process the new file, Hybrid says, "You just added a job with an empty audio queue while audio handling !+ ignore. Maybe you forgot to put an audio stream in the audio queue."
Audio issue 02.jpg
But... audio handling is not set to "ignore," and my audio queue is not empty... So I'm not sure what I'm doing wrong here. Any advice much appreciated!
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
12-10-2024, 08:45 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,389
Thanked 2,606 Times in 2,217 Posts
|
|
You added the audio, but didn't set a job. On the audio tab, click the vertical + sign, which adds based on the encode settings. You have 160kbps AAC set. But for pre-encoded, just uncheck encode, and it will stream copy.
The error messages stated this. "You just added a job with empty audio".
Don't feel too bad/dumb here. It's not the most newbie-obvious/dummy-friendly software, but it's the most powerful GUI with a slight learning curve. Even I make simple mistakes, especially when I rush the settings. Perhaps I should help selur make a better official guide, add some default templates. I know I need to sit down, help with MPEG encoding.
I often use Huffyuv lossless files, which have PCM WAV 48kHz 16-bit, and it converts without issues. It's only when I try to feed it that audio via Avisynth files that it balks. In those cases, I just feed it the pre-AVS AVI source files, which extracts the WAV just fine.
I convert to AAC 160kbps stereo.
|
The following users thank lordsmurf for this useful post:
CaseyStelken (12-10-2024)
|
12-10-2024, 09:14 AM
|
|
Premium Member
|
|
Join Date: May 2018
Location: Cedar Rapids, Iowa
Posts: 33
Thanked 1 Time in 1 Post
|
|
Thanks! I see the problem in my thought process - I thought that Audio tab was simply to choose whatever audio track I wanted to replace the original with and it's done... in other words, "Here it is - this one."
... but if I'm understanding correctly, I haven't added an audio track to the video processing job until I hit that + button... which means if I wanted to, I could then select a different audio file, and hit the + button again to add it as a SECOND optional audio track... and so on. Is that right?
Quote:
Originally Posted by lordsmurf
But for pre-encoded, just uncheck encode, and it will stream copy.
|
Sorry... could you elaborate on this? By "Uncheck encode," do you mean to uncheck the "Audio Encoding Options" section? Just want to make sure I'm understanding you correctly.
Quote:
Originally Posted by lordsmurf
Perhaps I should help selur make a better official guide, add some default templates.
|
(I'm trying to find an emoji offering a fistful of cash to use here)
Quote:
Originally Posted by lordsmurf
I often use Huffyuv lossless files, which have PCM WAV 48kHz 16-bit, and it converts without issues.
|
Are you saying it converts to MP4 without audio issues? Like I wouldn't have to do all this "creating a separate, converted audio track to then remux into the video during the conversion-to-MP4" process?
Thanks as always! Much appreciated.
|
12-10-2024, 09:37 AM
|
|
Premium Member
|
|
Join Date: Jul 2023
Posts: 104
Thanked 32 Times in 30 Posts
|
|
Looking at it, you might need to set it manually because the audio is set to custom, I set it to auto add (all). That makes it so the audio always has one queued element, being the audio from the original avi file
Though if you do want to change the audio source from the default audio that is baked into the file, just click that folder icon and select the given audio file you want to it. End result would look like this, having two queued elements, first one being the original .avi which I end up deleting from the list so that the edited wav file is used.
hybridaudiotabelementsexample.jpg
|
12-10-2024, 04:40 PM
|
|
Premium Member
|
|
Join Date: May 2018
Location: Cedar Rapids, Iowa
Posts: 33
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by Aya_Rei
Looking at it, you might need to set it manually because the audio is set to custom, I set it to auto add (all). That makes it so the audio always has one queued element, being the audio from the original avi file
Though if you do want to change the audio source from the default audio that is baked into the file [...]
|
I actually do want to keep the original audio intact. All I'm really wanting to do with 99% of my captured videos is apply deinterlacing, maybe do a little cropping, and convert them to MP4. But whenever I've set the audio to auto add (all), I always get the following message:
Error in job creation - PCM audio.PNG
And my understanding has been that if I want to convert from AVI to MP4 while deinterlacing in Hybrid, my only option to keep the audio intact is to first pull the audio from the AVI file and make a separate AAC file, which I can then re-mux into the MP4 file as it's being created in Hybrid. If there's an easier and more efficient way to do this, I'd love to know! But thus far this is the best I've come up with.
... is there a way to set VirtualDub to capture my AVI files paired with a different audio format to begin with? Like AAC or MP3? That would save me a lot of headache.
Last edited by CaseyStelken; 12-10-2024 at 04:57 PM.
|
12-10-2024, 05:48 PM
|
|
Premium Member
|
|
Join Date: May 2018
Location: Cedar Rapids, Iowa
Posts: 33
Thanked 1 Time in 1 Post
|
|
Holy shit, nevermind... I think I finally figured it out. I think the missing step that's been holding me back and keeping me confused all this time was not knowing to hit that + button to add my audio selection to the job. Looking back now, that feels pretty stupid. Oh well. Glad I'm learning.
I see now that if I simply choose "Custom" from the Audio Processing section in the Base tab, then head to the Audio tab and select AAC as my audio format under the "Audio Encoding Options" section... and hit the + button to add this audio selection to the job... ... then Hybrid will convert the AVI file's PCM audio to AAC for me, and use it for the newly-created MP4 file.
Holy shit, this stuff all seems so simple once you actually figure it out. And looking back, I have a feeling a few people tried explaining this to me, but I didn't understand it. Several people told me that they would "create an AAC file" for their audio in order to convert the AVI to MP4, but I misunderstood - I kept thinking they meant that they were doing this separately, outside of Hybrid, in order to plug the file back into Hybrid.
Okay. Moving on. Thanks again, everbody!
|
12-10-2024, 08:13 PM
|
|
Premium Member
|
|
Join Date: Jul 2023
Posts: 104
Thanked 32 Times in 30 Posts
|
|
That error happens because the audio format/codec in the audio tab was set to pcm which mp4 doesn't accept. But I'm glad you managed to figure out your problem.
|
12-10-2024, 08:46 PM
|
|
Free Member
|
|
Join Date: Jul 2017
Location: Town Spa Pizza, Stoughton, MA
Posts: 415
Thanked 81 Times in 69 Posts
|
|
Quote:
Originally Posted by CaseyStelken
Holy shit, nevermind...
|
video is full of “holy shit” moments.
|
12-11-2024, 01:36 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,389
Thanked 2,606 Times in 2,217 Posts
|
|
Quote:
Originally Posted by CaseyStelken
... but if I'm understanding correctly, I haven't added an audio track to the video processing job until I hit that + button... which means if I wanted to, I could then select a different audio file, and hit the + button again to add it as a SECOND optional audio track... and so on. Is that right?
|
Maybe? Easy to test:
- open/import audio file, +
- open/import different audio file, +
Quote:
By "Uncheck encode," do you mean to uncheck the "Audio Encoding Options" section?
|
Correct.
Quote:
(I'm trying to find an emoji offering a fistful of cash to use here)
|
Yep, that would work. When paid enough, I can reserve time for whatever is needed. Otherwise it's just volunteer time, which is never enough.
Quote:
Are you saying it converts to MP4 without audio issues?
Like I wouldn't have to do all this "creating a separate, converted audio track to then remux into the video during the conversion-to-MP4" process?
|
MP4 is a container. The PCM inside the AVI is encoded to my AAC specs, which is added to the new H.264 video file, in MP4 container, created as Hybrid output.
Quote:
Originally Posted by Aya_Rei
Looking at it, you might need to set it manually because the audio is set to custom, I set it to auto add (all). That makes it so the audio always has one queued element, being the audio from the original avi file
|
Correct, good call, that's a setting on the Basic tab.
Quote:
Originally Posted by CaseyStelken
I actually do want to keep the original audio intact. All I'm really wanting to do with 99% of my captured videos is apply deinterlacing, maybe do a little cropping, and convert them to MP4. But whenever I've set the audio to auto add (all), I always get the following message:
|
PCM is not valid in MP4, encoding to AAC (or AC3, MP3, for others) is required.
Quote:
And my understanding has been that if I want to convert from AVI to MP4 while deinterlacing in Hybrid, my only option to keep the audio intact is to first pull the audio from the AVI file and make a separate AAC file, which I can then re-mux into the MP4 file as it's being created in Hybrid. If there's an easier and more efficient way to do this, I'd love to know! But thus far this is the best I've come up with.
|
Nope, extra steps not needed, Hybrid processes.
Quote:
... is there a way to set VirtualDub to capture my AVI files paired with a different audio format to begin with? Like AAC or MP3? That would save me a lot of headache.
|
Yes ... but no. That will cause dropped frames.
Quote:
Originally Posted by CaseyStelken
that feels pretty stupid. Oh well. Glad I'm learning.
|
Feeling stupid is a good thing, especially taken with self-deprecating humor. It shows awareness, something most people lack. And it shows learning growth, with many people also lack. With all the "proud stupidity" seen on Facebook, Reddit, Twitter, etc, these days, it's refreshing to see that "light bulb moments" still happen.
Quote:
Originally Posted by BarryTheCrab
video is full of “holy shit” moments.
|
True, true.
|
Similar Threads
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
What Hybrid settings, procedures work best?
|
tobylars83 |
Restore, Filter, Improve Quality |
40 |
02-22-2024 01:38 PM |
Best encoding settings for DVD Decrypter to Hybrid?
|
PizzaTime |
Encode, Convert for streaming |
0 |
11-30-2023 07:45 PM |
What settings to use in Hybrid if I want to edit in Premiere after?
|
DigiTime12 |
Edit Video, Audio |
0 |
09-07-2023 05:36 PM |
Hybrid settings, AVI to x264, advice for best settings?
|
nevs |
Encode, Convert for streaming |
7 |
10-11-2022 05:32 PM |
What settings should I use/change in Hybrid?
|
SeveralOrange7639 |
Restore, Filter, Improve Quality |
3 |
06-02-2022 07:44 AM |
Thread Tools |
Search this Thread |
|
|
All times are GMT -5. The time now is 02:44 PM
|