LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2007, 07:13 PM   #1
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
Normalizing AVI Audio in Transcode


I would like to normalize the audio in a few AVI files I have using transcode. I know the flag to normalize, but transcode seems to want to convert video at the same time, otherwise the audio goes to /dev/null. Is there any way to do this easily with transcode or another program without dealing with the video and without extracting the audio and then putting back in the AVI file?
 
Old 10-17-2007, 03:04 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I seriously doubt it's possible to alter audio tracks without separating them from the video first. You have to demux the audio stream, modify it, then remux it back with the video. Even programs like transcode always do this when they do their work. But I suppose in this case you just want to know how to get transcode to pass the video stream through unchanged.

This page explains how to pass through video streams while processing the audio. I'm not sure if the 'raw' module will work with all video types though.

What I've always done in the past myself is write up a bash script to automate manually running a demux-reencode-remux process, usually with the underlying tc tools included rather than with transcode proper. In my experience, working with the streams separately often leads to less problems than trying to get the program to do everything at once.
 
Old 10-17-2007, 11:19 PM   #3
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Original Poster
Rep: Reputation: 30
That link had exactly what i needed, thanks a lot!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transcode an AVI into an MPEG-2 and stream it over the LAN cccc Linux - Software 1 09-05-2007 06:21 AM
transcode vob to avi - audio sync problem Steve Riley Linux - General 5 07-05-2006 08:28 AM
transcode: audio too fast toffi22 Linux - Software 1 07-04-2006 08:53 AM
Transcode without audio? nyk Linux - Software 2 08-25-2005 08:33 AM
Transcode Audio fortezza Linux - Software 0 02-16-2005 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration