[FFmpeg-user] How to accept m.youtube.com 3gp content

robertk54 at aol.com robertk54 at aol.com
Wed Jun 29 03:23:39 CEST 2011



 

 I am trying to use ffmpeg to process rtsp streams.  I thought a simple test would be to access 'm.youtube.com' and reference the 3gp content as shown below.  Seems ffmpeg is unable to determine the audio codec, it reports "Stream #0.1: Audio: 0x0000".  I know this is not the latest version, it was the easiest to install using yum.  Should I expect this to work with this version?  Is there a way to get the latest (or newer) version using yum?

Thanks,
Bob

ffmpeg -i rtsp://v1.cache6.c.youtube.com/CjYLENy73wIaLQm_je4sQp1rhBMYJCAkFEIJbXYtZ29vZ2xlSARSBXdhdGNoYMOY6puCsomuTQw=/0/0/0/video.3gp -vn -ar 8000 -ac 1 -f mulaw -y Sample.pcm
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec  4 2010 15:37:20 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[rtsp @ 0x99bb850]max_analyze_duration reached
[rtsp @ 0x99bb850]Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://v1.cache6.c.youtube.com/CjYLENy73wIaLQm_je4sQp1rhBMYJCAkFEIJbXYtZ29vZ2xlSARSBXdhdGNoYMOY6puCsomuTQw=/0/0/0/video.3gp':
  Metadata:
    title           : Video
  Duration: 00:13:34.14, start: 0.-45986, bitrate: N/A
    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: 0x0000, 22050 Hz, 1 channels
Output #0, mulaw, to 'Sample.pcm':
    Stream #0.0: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Decoder (codec id 0) not found for input stream #0.1



 


More information about the ffmpeg-user mailing list