[issue1978] Change default number of RTSP audio channels to 1

2010-06-01 Thread John Wimer

New submission from John Wimer j...@god.vtic.net:

I recently ran into a problem with ffmpeg decoding a mono audio RTP 
stream over, and found that I wasn't the first one with this problem. I 
saw this email from a few years ago but it was never addressed. 
[http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-
November/012266.html]

From reading the RFC that describes the SDP format, which is used by 
RTSP to describe the RTP streams, I see that if no parameters are given, 
the number of channels will be assumed to be one. From 
[http://www.ietf.org/rfc/rfc2327.txt] page 21:

 The general form of an rtpmap attribute is:

 a=rtpmap:payload type encoding name/clock rate[/encoding
 parameters]

 For audio streams, encoding parameters may specify the number of
 audio channels.  This parameter may be omitted if the number of
 channels is one provided no additional parameters are needed.  For
 video streams, no encoding parameters are currently specified.

The attached patch changes the default number of channels to match the 
the rfc.

--
messages: 10674
priority: normal
status: new
substatus: new
title: Change default number of RTSP audio channels to 1
topic: rtsp
type: patch


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1978



[issue1978] Change default number of RTSP audio channels to 1

2010-06-01 Thread John Wimer

John Wimer j...@god.vtic.net added the comment:

attach patch


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1978
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 357d3bf..342f825 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -52,7 +52,7 @@ enum RTSPTransport {
 #define RTSP_DEFAULT_PORT   554
 #define RTSP_MAX_TRANSPORTS 8
 #define RTSP_TCP_MAX_PACKET_SIZE 1472
-#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 2
+#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 1
 #define RTSP_DEFAULT_AUDIO_SAMPLERATE 44100
 #define RTSP_RTP_PORT_MIN 5000
 #define RTSP_RTP_PORT_MAX 1


[issue1959] start time and duration is incorrect if start time is not set in av_estimate_timings_from_pts for mpegts files

2010-06-01 Thread David Teirney

David Teirney ffm...@teirney.net added the comment:

I've updated the ticket title to be more accurate. Is there any further
information I can provide to help come to a resolution?

--
title: start time is not always set in av_estimate_timings_from_pts for some 
mpegts files - start time and duration is incorrect if start time is not set 
in av_estimate_timings_from_pts for mpegts files


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1959



[issue1895] FFplay - IFF ILBM - crash when libavfilter is enabled

2010-06-01 Thread Sebastian Vater

Sebastian Vater cdgs.ba...@googlemail.com added the comment:

Issue fixed. Upgrade to latest git/svn please.

--
status: open - closed
substatus: reproduced - fixed


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1895



[issue1972] VOB parser does not find all available streams

2010-06-01 Thread Michael Niedermayer

Michael Niedermayer michae...@gmx.at added the comment:

On Sat, May 29, 2010 at 06:00:08AM +, blindbunny wrote:
 
 New submission from blindbunny ffmpegbugs.10.noonee...@spamgourmet.com:
 
 My goal is to identify the streams in a DVD VOB file and later recode them.
 However, ffmpeg -i does not list all streams, so recoding them is not possible
 either. This is true for offset 0 of the first VOB file as well as any other
 offset in any other VOB file from the same set, although different streams are
 missing depending on the file/file position.
 
 mplayer detects and plays all streams from the same file successfully.
 
 For example, the command 'ffmpeg -v 9 -loglevel 99 -i /tmp/test.VOB' does (in
 contrast to mplayer) not detect the audio streams present in the program 
 stream:
 
 FFmpeg version SVN-r23349, Copyright (c) 2000-2010 the FFmpeg developers
   built on May 27 2010 15:49:21 with gcc 4.4.3
   configuration: --enable-nonfree --enable-gpl --enable-postproc
 --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libx264
 --disable-stripping
   libavutil 50.16. 0 / 50.16. 0
   libavcodec52.72. 0 / 52.72. 0
   libavformat   52.66. 0 / 52.66. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libavfilter1.20. 0 /  1.20. 0
   libswscale 0.10. 0 /  0.10. 0
   libpostproc   51. 2. 0 / 51. 2. 0
 [NULL @ 0xa46b510]Probed with size=32768 and score=52
 [mpeg @ 0xa46b510]probing stream 0
 Last message repeated 4 times
 [mpeg @ 0xa46b510]Probe with size=10112, packets=5 detected mpegvideo with 
 score=51
 [mpeg @ 0xa46b510]probed stream 0
 Input #0, mpeg, from '/tmp/test.VOB':
   Duration: 00:00:00.48, start: 0.214389, bitrate: 1450 kb/s
 Stream #0.0[0x1e0], 22, 1/9: Video: mpeg2video, yuv420p, 720x576 [PAR
 64:45 DAR 16:9], 1/50, 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
 Stream #0.1[0x20], 1, 1/9: Subtitle: dvdsub
 Stream #0.2[0x21], 1, 1/9: Subtitle: dvdsub
 Stream #0.3[0x22], 1, 1/9: Subtitle: dvdsub
 Stream #0.4[0x23], 1, 1/9: Subtitle: dvdsub
 Stream #0.5[0x24], 1, 1/9: Subtitle: dvdsub
 Stream #0.6[0x25], 1, 1/9: Subtitle: dvdsub
 Stream #0.7[0x26], 1, 1/9: Subtitle: dvdsub
 Stream #0.8[0x27], 1, 1/9: Subtitle: dvdsub
 Stream #0.9[0x28], 1, 1/9: Subtitle: dvdsub
 Stream #0.10[0x29], 1, 1/9: Subtitle: dvdsub
 Stream #0.11[0x2a], 1, 1/9: Subtitle: dvdsub
 Stream #0.12[0x2b], 1, 1/9: Subtitle: dvdsub
 Stream #0.13[0x2c], 1, 1/9: Subtitle: dvdsub
 Stream #0.14[0x2d], 1, 1/9: Subtitle: dvdsub
 Stream #0.15[0x2e], 1, 1/9: Subtitle: dvdsub
 Stream #0.16[0x2f], 1, 1/9: Subtitle: dvdsub
 Stream #0.17[0x30], 1, 1/9: Subtitle: dvdsub
 Stream #0.18[0x31], 1, 1/9: Subtitle: dvdsub
 Stream #0.19[0x32], 1, 1/9: Subtitle: dvdsub
 At least one output file must be specified

this looks like MAX_STREAMS is hit

[..]


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1972



[issue1978] Change default number of RTSP audio channels to 1

2010-06-01 Thread Ronald S. Bultje

Ronald S. Bultje rsbul...@gmail.com added the comment:

Applied in r23414.

--
status: new - closed
substatus: new - fixed


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1978



[issue1979] libavformat file protocol large file broken on MinGW

2010-06-01 Thread kemuri

New submission from kemuri kemu...@gmail.com:

fstat is not large file (4GB) compliant on MinGW.
Unlike posix platforms, it does not fail in these situations but actually 
returns the filesize truncated to 4 bytes.
use the Windows-specific _fstati64 to get the proper filesize.

--
files: libavformat_file_mingw.diff
messages: 10681
nosy: kemuri-_9
priority: normal
status: new
substatus: new
title: libavformat file protocol large file broken on MinGW
type: bug


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue1979


libavformat_file_mingw.diff
Description: Binary data