VideoHelp Forum




Results 1 to 22 of 22
  1. I'm triying to encode an avi file to a vcd. I can't see the file with quicktime (there is a program error). I have all codecs installed (divx, 3ivx and ac3). I can play the movie with vlc. As it says the tutorial "how to convert avi to vcd" I try to encode with mplayer. When I drop the avi file into the ffmpegx area it says From: Unrecognized, No Video and No Audio. What can I do? Please Help me.

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Open the file in VLC. Pause the movie if you like. Open the Info window (Cmd-I). There should be listed 'Stream 0' and 'Stream 1' with little triangles. Press the triangles to get more detailed information. 'Stream 0' will likely be video; what codec is used? 'Stream 1' will likely be audio; what codec is used?

  3. Stream 0 = XVID codec, 512x384
    Stream 1 = VORB codec, 48000Hz, 72001bps

  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Looks like someone renamed an .ogm file to .avi. Not sure how to convert .ogm files on Mac OS.

  5. Try eventually with "DivX mencoder".

  6. I tried to do this, but no way. In the Source format it still says "unrecognized". I selected DivX mencoder from the quick pressets but encoding fails.

  7. Please email me the output messages (blue "i" icon) to major4@mac.com for closer inspection.

  8. Originally Posted by major
    Please email me the output messages (blue "i" icon) to major4@mac.com for closer inspection.
    I sent you an email and I have not received any answer from you so I post here the output message:
    Code:
    Encoding started on Fri May  6 12:37:40 CEST 2005
    MEncoder dev-CVS-050123-19:55-3.3 (C) 2000-2005 MPlayer Team
    Mac OSX static build for ffmpegX
    AltiVec found
    CPU: PowerPC
    The vbitrate option must be >= 4: 0
    Exiting... (error parsing cmdline)
    Please tell me something.
    Thankyou

  9. Sorry but I didn't receive your email. The output above shows that you are using a video bitrate of zero. Please set the bitrate to 900 and try again.

  10. Originally Posted by major
    Please set the bitrate to 900 and try again.
    Code:
    Encoding started on Fri May  6 16:18:12 CEST 2005
    MEncoder dev-CVS-050123-19:55-3.3 (C) 2000-2005 MPlayer Team
    Mac OSX static build for ffmpegX
    AltiVec found
    CPU: PowerPC
    The ofps option must be a floating point number or a ratio (numerator[:/]denominator): -vop
    Exiting... (error parsing cmdline)
    I've set the bitrate to 900 as you said.
    Are you sure I can decode this file?
    Thankyou for your interest.
    Good job man

  11. Also set framerate to NTSC or PAL.

  12. framerate set to pal 25 fps bitrate set to 900
    Code:
    Encoding started on Fri May  6 18:30:29 CEST 2005
    MEncoder dev-CVS-050123-19:55-3.3 (C) 2000-2005 MPlayer Team
    Mac OSX static build for ffmpegX
    AltiVec found
    CPU: PowerPC
    success: format: 0  data: 0x0 - 0xe9a0d90
    AVI: invalid audio stream ID: 1 - ignoring (nosound)
    Seek failed
    AVI: Missing video stream!? Contact the author, it may be a bug :(
    [Ogg] stream 0: video (FOURCC XVID), -vid 0
    [Ogg] stream 1: audio (Vorbis), -aid 0
    Ogg file format detected.
    VIDEO:  [DIVX]  512x384  12bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:18  fourcc:0x44495658  size:512x384  fps:25.00  ftime:=0.0400
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
    Opening video filter: [scale w=640 h=352]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
    Writing AVI header...
    ==========================================================================
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: FAST_BILINEAR scaler, from Planar YV12 to Planar YV12 using AltiVec
    videocodec: libavcodec (640x352 fourcc=58564944 [XVID])
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

  13. Is it encoding?

  14. it looks like, but the process bar instead of increasing, spins like a barber shop bar

  15. Good. You may ignore the process bar and wait for the "Finished" message.

  16. This is the finished message. The final file is an .avi.ff.avi
    Code:
    Encoding started on Mon May  9 09:41:54 CEST 2005
    MEncoder dev-CVS-050123-19:55-3.3 (C) 2000-2005 MPlayer Team
    Mac OSX static build for ffmpegX
    AltiVec found
    CPU: PowerPC
    success: format: 0  data: 0x0 - 0xe9a0d90
    AVI: invalid audio stream ID: 1 - ignoring (nosound)
    [Ogg] stream 0: video (FOURCC XVID), -vid 0
    Seek failed
    AVI: Missing video stream!? Contact the author, it may be a bug :(
    [Ogg] stream 1: audio (Vorbis), -aid 0
    Ogg file format detected.
    VIDEO:  [DIVX]  512x384  12bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:18  fourcc:0x44495658  size:512x384  fps:25.00  ftime:=0.0400
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
    Opening video filter: [scale w=640 h=352]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
    Writing AVI header...
    ==========================================================================
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: reducing / aligning filtersize 2 -> 2
    SwScaler: FAST_BILINEAR scaler, from Planar YV12 to Planar YV12 using AltiVec
    videocodec: libavcodec (640x352 fourcc=58564944 [XVID])
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Flushing video frames
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing AVI index...
    Fixing AVI header...
    Video stream:  896.666 kbit/s  (112083 bps)  size: 148985507 bytes  1329.240 secs  33231 frames
    Encoding completed on Mon May  9 10:04:26 CEST 2005

  17. Hi Major,
    I made what you said but, after encoding, the audio is missing. Is There anything to do?

  18. D-Vision 2 used to directly process .ogm files, but I'm not sure if the current version (3) does what you need. Try going to versiontracker.com and getting a copy of "OGMTools", and run the installer (if any), or open your terminal and cd to the folder/directory that the ogmtools are in. One of them will be "ogmdemux". You may have to change the name of your original .avi file (which seems to really be an .ogm file with its extension changed) to reflect the proper extension -- change the .avi to .ogm -- or this may be unnecessary. Anyway, if there's an installer that'll put the OGMTools in the right place, you should be able to open your terminal, type "ogmdemux", hit the spacebar once, then drag your .ogm file into the terminal (which will automatically type in the file name and path), and hit return. This should break apart your .ogm into a video-track .avi and an audio-track .ogg file. You can use iTunes to convert that .ogg to an mp3, then use ffmpegX to recombine your .avi with your new .mp3 soundtrack.

  19. Thankyou adamntius I thought there was anythig to do with this ogg files. Actually I'm doing something simmilar to your explanation but using virtual pc and virtualdub to split the sound and video, transform the audio to mp3 and adding the mp3 audio to the avi file. Then when I have an avi file, return to mac ffmpegx then encode with divx mencoder and after that, encoding the resulting file to svcd. Too long process for me, isn't it? So i'm going to try what you tell me. Thanks. I will explain here the results.

  20. If you use OGMTools, remember that the demuxed files will probably be in your home directory, not necessarily in the folder you started in. It works quite quickly. There may be better tools out there for re-encoding your .ogg to .mp3, or you may have a way to go straight to .mp2, .mpa or .m2a, and eliminate a step. Quicktime used to have an .ogg codec available so you could import the .ogg into Quicktime, then export it into whatever sound format you wanted, but it's been a long time since I've used it. Just make sure you comply with whatever standard (i.e. constant or variable bitrate in the right range) is appropriate for your SVCD. I had to stop using Quicktime for this because I always seemed to end up with VBR when I needed CBR sound.

  21. ok I can't convert the oog file to mp3 with iTunes, everytime I try it crash. but using D-vision as you said I can convert ogg to mp3, but now I have an avi and mp3 file. How do I recombine both in ffmpegx?

  22. Well, you can make an .avi with both video and sound using either ffmpegX or D-Vision, by re-encoding, but passing the video stream through unchanged, and adding the new audio track as if it were a second track (only in this case it's the first). Because you're passing the video through, this will be quite quick to do, and you'll get a new .avi with both video and sound. You can then do whatever you want with it as normally.

    You may be able to go straight to SVCD, though, by doing the usual encoding, and adding in, again, a "second" soundtrack via the audio tab in ffmpegX. I'm not certain you can do it that way under mpeg2enc or ffmpeg mpeg2, but I imagine it's possible if you experiment a bit.

    Be careful about the bitrate of the audio: if it's variable when it should be constant, or vice versa, you may get a badly out-of-sync new recording.




Similar Threads

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