white noise on audio track

30 views
Skip to first unread message

Simon Humphreys

unread,
Jan 5, 2013, 6:41:07 PM1/5/13
to tovid...@googlegroups.com
Hi,

using the CLI and on converting an .mp4 to .mpg the audio track is only white noise, am I missing an option:

tovid mpg -ffmpeg -in filein.mp4 -out file_out

Thanks

Mark Fletcher

unread,
Jan 7, 2013, 1:36:37 AM1/7/13
to tovid...@googlegroups.com
Guesses would include 5.1 or 7.1 or something audio on the original not being downmixed properly. But next to impossible to diagnose without a _lot_ more info -- what version of tovid are you using and where did you get it from? What version of ffmpeg are you using? What OS are you running this on (I can guess Linux, what flavour?)

Also can you make the log file available (eg gzip and attach or provide a link if you can web publish it). I suspect there will be a complaint, probably from ffmpeg, buried in it somewhere that will explain what happened here. 

I'm not particularly a tovid expert but I'll try to help if you can answer the above. 

Mark

Papalulu Papp

unread,
Feb 15, 2013, 1:22:34 PM2/15/13
to tovid...@googlegroups.com
I had the same problem, using tovd to convert files to mpg (target: the videoplayer of my coolstream cablebox)-

Reason of cruel sound was wrong audiocodec.
So i took the commandline (you see it in the console output from tovid) and did two changes:

I changed "ffmpeg" to "avconv", and i added the parameter for audio codec "-acodec mp2".

So my adapted batch "tovid_mp2" looks like:


#! /bin/sh

nice -n 0 avconv -i "$1" -threads 4    -target pal-dvd -qmin 3 -qmax 31 -b 7200k -ab 224k -ac 2   -r 25.000  -acodec mp2        -s 720x576   -aspect 16:9 -map 0:0  -map 0:1  "/datamovies/movies/vlc2/$1.mpg"

Perhaps thats also a workaround for you...
Hint: Play with the codecs.

Good luck..

Palu

grepper

unread,
Feb 17, 2013, 9:23:08 PM2/17/13
to tovid...@googlegroups.com
On 15/02/13 01:22 PM, Papalulu Papp wrote:
> I had the same problem, using tovd to convert files to mpg (target: the
> videoplayer of my coolstream cablebox)-
>
> Reason of cruel sound was wrong audiocodec.
> So i took the commandline (you see it in the console output from tovid)
> and did two changes:
>
> I changed "ffmpeg" to "avconv", and i added the parameter for audio
> codec "-acodec mp2".
>
> So my adapted batch "tovid_mp2" looks like:
>
>
> *#! /bin/sh
>
> nice -n 0 avconv -i "$1" -threads 4 -target pal-dvd -qmin 3 -qmax 31 -b
> 7200k -ab 224k -ac 2 -r 25.000 -acodec mp2 -s 720x576 -aspect 16:9 -map
> 0:0 -map 0:1 "/datamovies/movies/vlc2/$1.mpg"*
>
> Perhaps thats also a workaround for you...
> Hint: Play with the codecs.
>
> Good luck..
>
> Palu
>
> --
> You received this message because you are subscribed to the Google
> Groups "tovid-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to tovid-users...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Just a note to say that tovid (in current SVN) now allows you to use
avconv if it is installed rather than ffmpeg.

grepper
Reply all
Reply to author
Forward
0 new messages