Using Ffmpeg To Fade In Audio, BUT Original Audio From Video Is Gone

Hi

I am trying to fade in audio at 39 seconds into the video with existing audio.

It did work, the mp3 file fades in at 39 seconds, however the original audio from the video is silence or removed.

Here is the code I've use.

Code:
ffmpeg -i audio.mp3 -i test.mp4 -c:v copy -strict experimental -shortest -af 'afade=t=in:st=39' test.mp4

How can I fix this? Thanks


Similar Content



Can Ffmpeg, Mencoder, Handbrake Fix Fluctuating Audio Like VLC Can?

Hi

I have some video files where audio dialogue is low but action scenes are loud. I was searching the web on how I can fix this and I found this link http://lifehacker.com/5920290/how-to...en-really-loud

It is an excellent tutorial from lifehacker.

I was wondering if ffmpeg, mplayer/mencoder, handbrake or other commandline program can do the same of increasing the low audio dialogue while keeping the loud action scenes the same audio level? Thanks

No Sound On Debian Live Usb Using Pavucontrol And ATI RS880 [Radeon HD 4200] Audio

Hello everyone.
The sound isn't working on my debian live usb.
I've installed pavucontrol hoping that this would turn on the sound somehow. But it hasn't.

The program is showing RS880 HDMI audio [Radeon HD 4200] as my output device.
The play back bar moves when I play video on youtube but there is no sound.
On the configuration tab, I've tried all the options under 'built-in audio' - but none of these seem to work.


aplay -l

Code:
 
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Don't know why there are 3 playback devices...

lspci | grep -i audio

Code:
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series]

Not sure why there appears to be two sound cards...

On a Ubuntu site about a similar problem with the same sound card, they suggest creating /etc/asound.conf and adding code to it http://ubuntuforums.org/showthread.php?t=1647400
However, at this point, I'm a bit lost.
Can someone help please?

No Sound After New Install Ubuntu 14.04

I just installed Ubuntu 14.04 on my Aspire E11 laptop. Everything works except sound. Nothing is muted. Alsamixer is in strange condition with no bars. Normally I find fixes by googling a question then finding then pasting commands into the terminal but all to no avail. I still have no sound. Any feedback would be appreciated.


Pulse audio controls show everything as normal with nothing muted.


This is the output forlspci -nnk | grep -i audio

$ lspci -nnk | grep -i audio
00:1b.0 Audio device [0403]: Intel Corporation ValleyView High Definition Audio Controller [8086:0f04] (rev 0e)
j

Encrypting Audio Data

will encrypting my audio data and burning it on a cd/dvd be worth it since the other person can copy it onto there pc? such as audio files for court? I know it can be copied as long as the pc reads it. but can I protect or encrypt its data as not to be altered when copied? if it is possible please do tell thanks in advance.

HDMI Audio Not Working

I have just switched over from DVI to HDMI on a new monitor. I would like to feed the audio out over HDMI. Currently I get no audio over HDMI. Is there a setting to enable this? I am running Debian Wheezy with XFCE.

No Audio Drives Please Help ASAP!

Hi I have an older model computer Dell Dimenion 9200 and installed Ubuntu 14.04 LTS...

I have no audio please help I am very new to Linux never tryed it till now...

Thank you for your help

Audio Issue..

Hi All,
I'm new to Linux and desperately need some help. I have a Samsung NP355E7C with Windows 8 OS. I have to use Hiltux for work but each time you boot into Hiltux there's no audio playback.I pugged in earphones still nothing. Please advise me on what to do.Newbie Style please.

Mplayer Song Length Limit

(Raspberry Pi Model B)
I have a really long audio file I'd like to play.
It's 10 hours long (white noise)

However, when playing it with mplayer it only gets to 4 hours before determining it's now end of file.

Code:
A:14360.8 ( 3:59:20.8) of 36080.8 (10:01:20.7)  7.2


Exiting... (End of file)

I know the audio file isn't corrupted past this point since I can fast-forward to 3:59:00:0 and let it play and it works fine (at least for the 2m I let it play)

I could in theory break up the file into 3.5 chunks to stay below the limit but I'm wondering if this is a inherent limitation of mplayer (didn't expect 4hr+) or if it's a bug.

Need Suggestions To Loop A Video Converted From An Animated Gif

hi

I have an animated gif file which I converted into a video. The video plays for one second. How can I loop it to play for 15 seconds. here is what I have tried.

Code:
ffmpeg -i 3.gif -loop input -t 15  -c:v mpeg4 -b:v 1000k out.avi

thanks

Perplexing Cron Audio Problem

I'm running LinuxLite 2.0 32bit on a Dell 3000.

I have never come across anything like this and to tell you, I am stumped.

Here are the contents of my crontab file:

Code:
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h  dom mon dow   command
*/10 * * * * /usr/bin/arecord -t wav -f cd -d 42 /home/randy/Music/lanting$(date "+\%^b\%d\%y").wav


If I run this from the terminal, everything is fine. It properly records the audio:

Code:
/usr/bin/arecord -t wav -f cd -d 42 /home/randy/Music/lanting$(date "+\%^b\%d\%y").wav

If I run this as it is shown in my crontab file, it records but there is no audio recorded.:


Code:
*/10 * * * * /usr/bin/arecord -t wav -f cd -d 42 /home/randy/Music/lanting$(date "+\%^b\%d\%y").wav

What could be causing this? I tried different cron settings for example 15 14 * * 2

This recorded at 2:15pm on Tuesday (today) but no audio. Yet if I run the code as mentioned above, from the terminal without the cron settings, the recording is fine.

Any ideas what I should do?