So I have been having a problem where some of my web streams have horribly scratchy/buzzy/crackly audio, making the files unwatchable. I have been upgrading/removing etc many packages.
I tested and the streams work fine in xbmc and in the web browser, so next step was use ffmpeg just as pmsencoder calls it and test it out. I found out that the output file has scratchy audio. I assume it's something to do with either aac (the source) or ac3 (the target), but I've tried a few different versions of libavcodec52/53 and am not sure what else to try.
In one particular instance, shown below, I noticed that I could wget the file and it played fine AND in higher resolution, so it made me wonder, are there any settings to control what PMSencoder tries to use as a target?
Source file:
ffmpeg version 0.8.3-6:0.8.3-1, Copyright (c) 2000-2012 the Libav developers
built on Jun 9 2012 13:36:42 with gcc 4.7.0
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'USA_RYL_402_646_1696.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isom
creation_time : 2012-06-13 22:01:44
Duration: 00:42:28.48, start: 0.000000, bitrate: 1697 kb/s
Stream #0.0(eng): Video: h264 (Main), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1599 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
creation_time : 2012-06-13 22:01:44
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 94 kb/s
Metadata:
creation_time : 2012-06-13 22:01:44
At least one output file must be specified
Output file (pmsencoder passes ntsc-dvd as target):
Input #0, mpeg, from 'out.mp4':
Duration: 00:28:07.78, start: 1.000000, bitrate: 4915 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
So I am just wondering why I would want to transcode from 720p to 480p and from aac audio that works fine to ac3 that doesn't and if there is any way I can control it.
I've tried removing pmsencoder, hoping it would just try streaming directly without transcoding, but PMS won't even list the rtmpdump streams without pmsencoder present.
