mat <[EMAIL PROTECTED]> added the comment:

Sample is difficult to provide because it is streaming.

Command line :
./ffmpeg -i "rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=201" /tmp/test.avi
FFmpeg version SVN-r15055, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-shared --prefix=/usr/local/stow/ffmpegcvs
--enable-postproc --cpu=athlon-xp
  libavutil     49.10. 0 / 49.10. 0
  libavcodec    51.70. 0 / 51.70. 0
  libavformat   52.21. 0 / 52.21. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Aug 30 2008 23:52:11, gcc: 4.3.1
Input #0, rtsp, from 'rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=201':
  Duration: N/A, start: 15777.173467, bitrate: 15192 kb/s
    Stream #0.0: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0.1: Audio: ac3, s16
    Stream #0.2: Video: mpeg2video, yuv420p, 480x576 [PAR 32:15 DAR 16:9], 15000
kb/s, 25.00 tb(r)
File '/tmp/test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to '/tmp/test.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 480x576 [PAR 32:15 DAR 16:9], q=2-31,
200 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: mp2, s16, 64 kb/s
Stream mapping:
  Stream #0.2 -> #0.0
  Stream #0.0 -> #0.1
[mp2 @ 0x899a060]encoding 0 channel(s) is not allowed in mp2
Error while opening codec for output stream #0.1 - maybe incorrect parameters
such as bit_rate, rate, width or height

with http://article.gmane.org/gmane.comp.video.ffmpeg.devel/52488 :
$./ffmpeg -i "rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=201" /tmp/test.avi
FFmpeg version SVN-r15055, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-shared --prefix=/usr/local/stow/ffmpegcvs
--enable-postproc --cpu=athlon-xp
  libavutil     49.10. 0 / 49.10. 0
  libavcodec    51.70. 0 / 51.70. 0
  libavformat   52.21. 0 / 52.21. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Aug 30 2008 23:52:11, gcc: 4.3.1
Input #0, rtsp, from 'rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=201':
  Duration: N/A, start: 15961.205467, bitrate: 15192 kb/s
  Program 8801 
    Stream #0.0: Video: mpeg2video, yuv420p, 480x576 [PAR 32:15 DAR 16:9], 15000
kb/s, 25.00 tb(r)
    Stream #0.1(fra): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
File '/tmp/test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to '/tmp/test.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 480x576 [PAR 32:15 DAR 16:9], q=2-31,
200 kb/s, 25.00 tb(c)
    Stream #0.1(fra): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue394>
______________________________________________________

Reply via email to