VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hi there.
    I downloaded ffmpeg X to hardcode subtitles on my project, and it works perfectly for that. However on playback there is NO Sound!
    I've tried different sound options but it still wont work. HELP!

    Tomorrow is the last day I can upload my film to enter a film festival. This is the only software that I've tried in a week that actually hardcoded subtitles, and now no audio! Here's the info from my encoding.


    Encoding started on Sat Feb 11 14:30:32 WAT 2012
    FIXME:Hardenabling SSE and SSE2 without detection
    MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
    Mac OSX static build for ffmpegX
    CPU: Intel Pentium III Xeon Cascades (Family: 6, Stepping: 7)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    AVI: invalid audio stream ID: 0 - ignoring (nosound)
    success: format: 0 data: 0x0 - 0x9a43bde
    AVI file format detected.
    AVI_NI: No audio stream found -> no sound.
    VIDEO: [DX50] 720x400 24bpp 25.000 fps 1300.4 kbps (158.7 kbyte/s)
    [V] filefmt:3 fourcc:0x30355844 size:720x400 fps:25.00 ftime:=0.0400
    SUB: Detected subtitle file format: subviewer
    SUB: Read 150 subtitles.
    xvid: using library version 1.2.-127 (build xvid-1.2.0-dev)
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [scale w=720 h=400]
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ================================================== ========================
    VDec: vo config request - 720 x 400 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    videocodec: XviD (720x400 fourcc=44495658 [XVID])
    xvid: par=0/0 (vga11), displayed=720x400, sampled=720x400
    xvid: CBR Rate Control -- bitrate=940kbit/s
    1 duplicate frame(s)!
    Writing header...
    ODML: vprp aspect is 16384:9102.
    Writing header...
    ODML: vprp aspect is 16384:9102.
    Flushing video frames
    Writing index...
    Writing header...
    ODML: vprp aspect is 16384:9102.
    Video stream: 940.608 kbit/s (117576 B/s) size: 105804295 bytes 899.880 secs 22497 frames
    Encoding completed on Sat Feb 11 14:33:46 WAT 2012


    Thank you in advance!
    Quote Quote  
  2. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    Can you open the original file with mediainfo, go to View->Text, and post the results?
    Quote Quote  
  3. Originally Posted by intracube View Post
    Can you open the original file with mediainfo, go to View->Text, and post the results?
    Thanks for your reply. Here it is.

    Bit rate : 1 300 Kbps
    Width : 720 pixels
    Height : 400 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.181
    Stream size : 139 MiB (90%)
    Writing library : DivX 2682

    Audio
    ID : 1
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Mode : Joint stereo
    Codec ID : 55
    Codec ID/Hint : MP3
    Duration : 14mn 59s
    Bit rate mode : Constant
    Bit rate : 128 Kbps
    Channel(s) : 2 channels
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Stream size : 13.7 MiB (9%)
    Alignment : Split accross interleaves
    Interleave, duration : 40 ms (1.00 video frame)
    Interleave, preload duration : 500 ms
    Title : Audio
    Quote Quote  
  4. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    From your first post:
    AVI: invalid audio stream ID: 0 - ignoring (nosound)
    AVI_NI: No audio stream found -> no sound.

    FfmpegX looks like it's getting confused and trying to read the audio from the first stream (0) which is video, instead of the second stream (1).

    In Ffmpegx, under the audio settings, what options are there for the 'audio track' drop down menu? If it's currently set to 0 but there's an option to set it to 1 - try that.
    Quote Quote  
  5. Originally Posted by intracube View Post
    From your first post:
    AVI: invalid audio stream ID: 0 - ignoring (nosound)
    AVI_NI: No audio stream found -> no sound.

    FfmpegX looks like it's getting confused and trying to read the audio from the first stream (0) which is video, instead of the second stream (1).

    In Ffmpegx, under the audio settings, what options are there for the 'audio track' drop down menu? If it's currently set to 0 but there's an option to set it to 1 - try that.
    Yes, the audio was on 0, and I changed it to 1, and now I have audio!

    You're a genius Intracube! Thank you! Thank you! Thank you!
    Quote Quote  
  6. Sound Problems again!

    Trying to hardcode subtitles on an mpeg file. The subtitles come out great, but no sound! Please help!


    Encoding started on Thu Mar 1 12:07:01 GMT 2012
    MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
    Mac OSX static build for ffmpegX
    CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 10)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    FIXME:Hardenabling SSE and SSE2 without detection
    success: format: 0 data: 0x0 - 0x29c6d000
    MPEG-PS file format detected.
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    MPEG: No audio stream found -> no sound.
    VIDEO: MPEG2 720x480 (aspect 1) 25.000 fps 6000.0 kbps (750.0 kbyte/s)
    [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:25.00 ftime:=0.0400
    Too many video packets in the buffer: (4096 in 8292574 bytes).
    SUB: Detected subtitle file format: subviewer
    SUB: Read 149 subtitles.
    xvid: using library version 1.2.-127 (build xvid-1.2.0-dev)
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [scale w=720 h=480]
    ================================================== ========================
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
    VDecoder init failed
    Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
    Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
    ================================================== ========================
    VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    videocodec: XviD (720x480 fourcc=44495658 [XVID])
    xvid: par=0/0 (vga11), displayed=720x480, sampled=720x480
    xvid: CBR Rate Control -- bitrate=3121kbit/s
    The selected video_out device is incompatible with this codec.
    Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
    1 duplicate frame(s)!
    Writing header...
    ODML: vprp aspect is 16384:10922.
    Writing header...
    ODML: vprp aspect is 16384:10922.
    Writing header...
    ODML: vprp aspect is 16384:10922.
    1 duplicate frame(s)!
    Flushing video frames
    Writing index...
    Writing header...
    ODML: vprp aspect is 16384:10922.
    Video stream: 3111.741 kbit/s (388967 B/s) size: 349977544 bytes 899.760 secs 22494 frames
    Encoding completed on Thu Mar 1 12:25:55 GMT 2012



    Here's the Media info for the original file.


    Format version : Version 2
    Format profile : Main@High
    Format settings, BVOP : Yes
    Format settings, Matrix : Default
    Format settings, GOP : M=3, N=12
    Duration : 14mn 59s
    Bit rate : 6 000 Kbps
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 3:2
    Frame rate : 25.000 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Bottom Field First
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.694
    Stream size : 638 MiB (95%)

    Audio
    ID : 192 (0xC0)
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 2
    Duration : 14mn 59s
    Bit rate mode : Constant
    Bit rate : 160 Kbps
    Channel(s) : 2 channels
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Stream size : 17.2 MiB (3%)


    Thank you in advance.
    Quote Quote  
  7. Member
    Join Date
    Oct 2010
    Location
    England
    Search Comp PM
    Sorry for the delay, I've been away for a few days.

    I haven't actually used Ffmpegx - my last suggestion was a hunch, so I don't know what the cause of this new problem could be. Are there any audio settings in Ffmpegx that could be set incorrectly? Can you choose a different audio track or is the option disabled? What about the 'Encode audio' tick box.
    Quote Quote  



Similar Threads

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