VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    I recorded clip from cable STB using iRecord (M2T format) and it plays fine with audio using VLC. Drag same clip into FFMEPGX and get no audio. File converted and has no audio in iMovie or QuickTime. Converted file (ff.avi) also has no audio in VLC.

    When I drag clip into FFMEPGX and hit play there is no audio. I have tried experimenting with settings under audio but with no success. Can't find any similar problems posted here.

    Any suggestions would be appreciated.

    Thanks,

    Steve
    Quote Quote  
  2. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    One quick thing to try is "invert mapping" (which changes the order in which audio and video are interleaved in the file).

    And if that doesn't work, unclick invert mapping, and try again. After it fails, click on the "i" button and post its contents. The status and error messages (if any) may offer a useful clue.
    Quote Quote  
  3. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Thanks for suggestions

    Tried "invert mapping" with no success.

    I have no audio when I hit play even before encoding.

    contents of "i" are below.

    Encoding started on Fri Apr 6 11:50:12 EDT 2007
    MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
    Mac OSX static build for ffmpegX
    FIXME:Hardenabling SSE and SSE2 without detection
    CPU: Intel (Family: 6, Stepping: 8)
    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
    success: format: 0 data: 0x0 - 0x4e80b90
    TS file format detected.
    DEMUX OPEN, AUDIO_ID: 0, VIDEO_ID: -1, SUBTITLE_ID: -2,
    PROBING UP TO 2000000, PROG: 0
    VIDEO MPEG2(pid=361)NO AUDIO! NO SUBS (yet)! PROGRAM N. 0
    Opened TS demuxer, audio: ffffffff(pid 0), video: 10000002(pid 361)...POS=0, PROBE=2000000
    VIDEO: MPEG2 1920x1080 (aspect 3) 29.970 fps 80000.0 kbps (10000.0 kbyte/s)
    [V] filefmt:29 fourcc:0x10000002 size:1920x1080 fps:29.97 ftime:=0.0334
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [scale w=1920 h=1080]
    The selected video_out device is incompatible with this codec.
    Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
    ==============
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 1920 x 1080 (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))
    ================================================== ========================
    Forcing output fourcc to 58564944 [DIVX]
    VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    videocodec: libavcodec (1920x1080 fourcc=58564944 [DIVX])
    1 duplicate frame(s)!
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...
    1 duplicate frame(s)!
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    1 duplicate frame(s)!
    1 duplicate frame(s)!
    demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
    1 duplicate frame(s)!
    1 duplicate frame(s)!
    ... many more "1 duplicate frame(s)!" removed for this post . . .

    1 duplicate frame(s)!
    demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
    Warning! FPS changed 23.976 -> 29.970 (-5.994005) [4]
    1 duplicate frame(s)!
    1 duplicate frame(s)!
    1 duplicate frame(s)!
    1 duplicate frame(s)!
    1 duplicate frame(s)!
    demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
    1 duplicate frame(s)!
    ...
    1 duplicate frame(s)!
    TS_PARSE: COULDN'T SYNC
    Flushing video frames
    Writing index...
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Video stream: 1433.394 kbit/s (179174 B/s) size: 11323193 bytes 63.197 secs 1531 frames
    Encoding completed on Fri Apr 6 11:51:07 EDT 2007
    Quote Quote  
  4. Member terryj's Avatar
    Join Date
    Sep 2002
    Location
    N35°25.24068, W097°34.204
    Search Comp PM
    From VLC's Info palette, what does it say
    about the audio stream? The one that plays
    in VLC.....

    Your more than likely missing a codec....
    Not familiar with iRecord, and what it encodes
    audio as or if it has a selection to choose encoders
    for audio, like Audio Hijack, Wiretap, iShowU, etc.
    "Everyone has to learn, so that they can one day teach."
    ------------------------------------------------------
    When I'm not here, Where can I be found?
    Urban Mac User
    Quote Quote  
  5. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    When you play the original in VLC, take a look at the Info data and see what it says about the audio codec type. It should be ac3 (I believe), but maybe something strange happened along the way.

    Also, try demuxing the original .m2t file. If it correctly gives you two valid elementary streams, you can transcode these separately, and remux afterwards. That might work around whatever problem you're having.

    MpegStreamclip is another possibility. See if you can play the file there. If so, have it export to mpeg. That might convert the file into a form that ffmpegx and others can handle without these troubles.

    Of course, the best solution is for Case to find this problem interesting, and have him chime in.
    Quote Quote  
  6. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Thanks for your guidance.

    audio codec in VLC is listed as a52

    I installed mpegstreamclip and not it seems I can no longer record with iRecord.

    I've working on this problem without success. Still trying though.
    Quote Quote  
  7. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Try reinstalling iRecord. Does VLC play the file fine again?

    If you want to use MpegStreamclip, you'll also need the MPEG2 component (it's not free, but it's not expensive). If you don't have it, QT can't play it, either.

    You may want to take a look at this guy's notes on doing something similar:

    http://joshnichols.com/2007/02/17/rip-recorded-video-powerbook/
    Quote Quote  
  8. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Tomlee,

    Thanks again. I got iRecord working somehow. Lookslike Josh has been down exactly the same road. I'll follow up with his roadmap tomorrow.

    Steve
    Quote Quote  
  9. Member terryj's Avatar
    Join Date
    Sep 2002
    Location
    N35°25.24068, W097°34.204
    Search Comp PM
    Originally Posted by smillerdad
    Thanks for your guidance.

    audio codec in VLC is listed as a52
    Go and install the codec for A52 decoding/playback from here:
    QT A52 component
    This will enable audio to be played in QT.
    "Everyone has to learn, so that they can one day teach."
    ------------------------------------------------------
    When I'm not here, Where can I be found?
    Urban Mac User
    Quote Quote  
  10. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Still no audio in ffmpegx
    Installed the A52 component as directed, no audio.
    Restarted mac, still no audio
    Put a52 codec component into ffmpegx app support folder, reatarted ffmpegx and still no audio.

    I'd use mpegstreamclip as suggested but Apple website for MPEG2 component states:

    "Can the QuickTime MPEG-2 Playback Component play back AC3 audio?
    No, MPEG-2 files containing AC3 audio cannot be played back with the QuickTime MPEG-2 Playback Component. "

    My iRecord (and AVCVideocap) files have AC3 audio

    Any suggestions as to what I am missing here?
    Quote Quote  
  11. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Did you try demuxing the m2t file? At minimum, we can implement a divide and conquer strategy, because there are several ways to transcode an ac3 file into other formats.
    Quote Quote  
  12. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Can't demux in ffmpegx. "Unercognized format. You can only demux .mpg, .vob or TiVo files"

    More detailed research suggests that although Quicktime can't deal with AC3 audio, mpegstreamclip says it can. It's worth the $20 to try it since I've spent so many hours beating my head against a wall.

    Thanks again, I'll post my results.
    Quote Quote  
  13. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Im getting files into iMovie with sound. mpegstreamclip and QuickTime MPEG-2 Playback from apple were the key. Would have rather have done the conversion in ffmpegx but couldn't get ac3 audio to come through. Hopefuly the workflow will get streamlined in the future.

    Thanks again to tomlee59 and terryj who passed on good suggestions which finally helped me to "skin the cat" another way.

    Anyone else trying to get HD video from a cable box into iMovie should refer to the joshnichols blog listed above for an excellent roadmap.

    Regards,

    Steve
    Quote Quote  
  14. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Congrats for having hung in there, Steve. Some cats can't be skinned at all; glad you found a way in this case!
    Quote Quote  
  15. Member
    Join Date
    Oct 2008
    Location
    United States
    Search Comp PM
    Originally Posted by smillerdad
    Im getting files into iMovie with sound. mpegstreamclip and QuickTime MPEG-2 Playback from apple were the key. Would have rather have done the conversion in ffmpegx but couldn't get ac3 audio to come through. Hopefuly the workflow will get streamlined in the future.
    smillerdad,

    Good stuff. I'm kind of in the same boat, but I can't MPEG streamclip to show the video, let alone play the ac3 audio. The m2t file works fine in VLC; ffmpegx says there is no audio; and streamclip gives me nothing (and I made the mistake of spending $20 for the QT playback). I took those steps of adding the ac3 to ffmpegx and have re-installed streamclip.

    Any advice?
    Quote Quote  



Similar Threads

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