VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi,

    I recently refreshed FFMpeg (from 0.6 to 1.2) and I realize the new binary isn't taking the audio sampling rate more than 8000 for RM.

    Any idea why is this not supported any longer ? It used to work earlier.

    -------------------------------------------------------------------------------------------------------------
    C:\Users\Administrator\Desktop\FFMpeg\1.2>ffmpeg.e xe -i C:\Samples\Wildlife.mp4
    -f rm -vcodec rv10 -r 15 -s 320x176 -aspect 1.8181818181818181 -b:v 100000 -qsca
    le 15 -acodec real_144 -ac 1 -ar 16000 -vol 256 -strict experimental C:\Samples
    \Output.rm

    ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
    built on Mar 28 2013 00:34:08 with gcc 4.8.0 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
    sm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libo
    pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-lib
    twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enabl
    e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 52. 18.100 / 52. 18.100
    libavcodec 54. 92.100 / 54. 92.100
    libavformat 54. 63.104 / 54. 63.104
    libavdevice 54. 3.103 / 54. 3.103
    libavfilter 3. 42.103 / 3. 42.103
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Samples\Wildlife.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01 00:00:00
    title : Wildlife in HD
    encoder : Lavf53.24.0
    comment : Footage: Small World Productions, Inc; Tourism New Zealand
    | Producer: Gary F. Spradling | Music: Steve Ball
    copyright : © 2008 Microsoft Corporation
    Duration: 00:00:30.14, start: 0.000000, bitrate: 5514 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720,
    5392 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 12
    7 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    handler_name : SoundHandler
    Please use -q:a or -q:v, -qscale is ambiguous
    [real_144 @ 0000000004450a20] Specified sample rate 16000 is not supported
    Output #0, rm, to 'C:\Samples\Output.rm':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    copyright : © 2008 Microsoft Corporation
    title : Wildlife in HD
    encoder : Lavf53.24.0
    comment : Footage: Small World Productions, Inc; Tourism New Zealand
    | Producer: Gary F. Spradling | Music: Steve Ball
    Stream #0:0(eng): Video: rv10, yuv420p, 320x176 [SAR 1:1 DAR 20:11], q=2-31,
    100 kb/s, 90k tbn, 15 tbc
    Metadata:
    creation_time : 1970-01-01 00:00:00
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: ra_144, 16000 Hz, mono, s16, 128 kb/s
    Metadata:
    creation_time : 1970-01-01 00:00:00
    handler_name : SoundHandler
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 -> rv10)
    Stream #0:1 -> #0:1 (aac -> real_144)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters
    such as bit_rate, rate, width or height
    -------------------------------------------------------------------------------------------------------------

    Thanks,
    Rajiv
    Quote Quote  
  2. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    try...

    -acodec real_288
    Quote Quote  
  3. I don't think FFMpeg has the ability to encode real_288 yet. It gives below error ..

    Unknown encoder 'real_288'
    Quote Quote  
  4. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Yes I see! It only decodes real_288.

    Probably a license issue. Are you sure it accepted -ar 16000 in the past?
    Quote Quote  
  5. Yes I think so ... It gave me a warning "Overflow. Broken sample", but converted the video successfully.

    And if I look at the video properties in MediaInfo tool it does show sampling rate as 16000.

    Pls see the attached output using old binary..

    What about the license .. I am not aware of any license for FFMpeg.
    Quote Quote  
  6. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Originally Posted by rajivrp View Post
    What about the license .. I am not aware of any license for FFMpeg.
    Not for FFmpeg. For the real audio encoder to include in FFmpeg.

    Yes I've seen the output and FFmpeg says 16000. When I try it with a recent version with -ar 16000 it encodes but the output says 8000. They must have changed that.
    Quote Quote  
  7. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Moving you to our video conversion section.
    Quote Quote  
  8. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Since you're on a Windows machine, and since ffmpeg not always works as it should, I think you'd better encode the audio part with Easy RealMedia Producer, and later add the new audio to the video encoded by ffmpeg.

    And if the RealMedia multiplexer of ffmpeg happens to fail, you can try the standalone RM muxer.
    Last edited by El Heggunte; 19th May 2013 at 17:40. Reason: edit
    Quote Quote  
  9. Yeah ....... I realize it too of late that FFMpeg is quite inconsistent especially when you change the version. Am struggling with bunch of conversion options that are just not available any longer apparently, will perhaps post them in a separate thread to see if anyone has any idea.

    Actually I am using it in an app for doing various kinds of conversions across different formats, so probably it won't be too feasible to introduce a new tool just for RM for only this specific usecase.

    Thanks anyways guys.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!