|
Help converting avi files
|
|
Barond14
Junior Member
|
21. March 2012 @ 19:40 |
Link to this message
|
I'm trying to put a couple avi files onto a dvd for a friend of mine. They play fine when played through my vlc media player on my pc. However when I burn them to dvd using Imgburn (write files/folders to disc), and play the disc through my PS3, one of the files has no sound at all, and the other is out of sync. Can anyone help me fix this problem?
|
Advertisement
|
|
|
hello_hello
Junior Member
|
22. March 2012 @ 07:14 |
Link to this message
|
It could be several things. The audio type may not be supported by the PS3 (I don't own one so I have no idea what it'll play). Do you have an AVI capable DVD player which you can use to test the AVIs on another device. There's a slight possibility the burn quality is quite poor and the drive it having trouble reading the disc.
Every so often I come across an AVI (or MKV/MP4) which my player doesn't like. Quite often, remuxing it will fix the problem for reasons I don't understand.
Try downloading and installing VirtualDubMod. Open the AVIs with it, then resave them as a new AVI (from the File menu). Before you hit save, select "Direct Stream Copy" in the drop down "video mode" box, otherwise VirtualDubMod will try to re-encode the video. It should only take a minute to resave the AVI. Try the newly saved version with the PS3.
(If VirtualDubMod complains about the AVI containing variable bitrate MP3 when you open it and asks if you want to re-write the header, select "no")
If that doesn't work, try using MediaInfo to determine the type of video and audio in the AVIs, save the info and post it here.
|
Barond14
Junior Member
|
22. March 2012 @ 17:02 |
Link to this message
|
Originally posted by hello_hello: It could be several things. The audio type may not be supported by the PS3 (I don't own one so I have no idea what it'll play). Do you have an AVI capable DVD player which you can use to test the AVIs on another device. There's a slight possibility the burn quality is quite poor and the drive it having trouble reading the disc.
Every so often I come across an AVI (or MKV/MP4) which my player doesn't like. Quite often, remuxing it will fix the problem for reasons I don't understand.
Try downloading and installing VirtualDubMod. Open the AVIs with it, then resave them as a new AVI (from the File menu). Before you hit save, select "Direct Stream Copy" in the drop down "video mode" box, otherwise VirtualDubMod will try to re-encode the video. It should only take a minute to resave the AVI. Try the newly saved version with the PS3.
(If VirtualDubMod complains about the AVI containing variable bitrate MP3 when you open it and asks if you want to re-write the header, select "no")
If that doesn't work, try using MediaInfo to determine the type of video and audio in the AVIs, save the info and post it here.
Ok, thank you for responding. I'm trying those methods as we speak. I just opened one of the files in VDubMOd. Clicked no for the warning you mentioned. Next i got this...
[!] Couldn't locate decompressor for format 'xvid' (unknown).
VirtualDub requires a Video for Windows (VFW) compatible codec to
decompress video. DirectShow codecs, such as those used by Windows Media
Player, are not suitable. Only 'Direct stream copy' is available for this
video.
I then continued to save the file as you said. Seeing now if it works. The other file would not even save. Gave an audio error. Audio samples 0-0 could not be read in the source.
I ran the file that would not save through media info. Here are the results...
General
Complete name : C:\Documents and Settings\Scott\Desktop\PS3 Media Files\through.the.fire.2005.limited.dvdrip.xvid-imbt.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 700 MiB
Duration : 1h 42mn
Overall bit rate mode : Variable
Overall bit rate : 950 Kbps
Writing application : Nandub v1.0rc2
Writing library : Nandub build 1852/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1h 42mn
Bit rate : 812 Kbps
Width : 576 pixels
Height : 320 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.184
Stream size : 598 MiB (86%)
Writing library : XviD 1.1.0 Beta2 (UTC 2005-04-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1h 42mn
Source duration : 1h 42mn
Bit rate mode : Variable
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 480ms
Stream size : 92.0 MiB (13%)
Alignment : Split accross interleaves
Interleave, duration : 24 ms (0.58 video frame)
Interleave, preload duration : 1475 ms
Writing library : LAME3.90.
Encoding settings : -m j -V 4 -q 2 -lowpass 17.6 --abr 128
This message has been edited since posting. Last time this message was edited on 22. March 2012 @ 20:23
|
hello_hello
Junior Member
|
23. March 2012 @ 03:34 |
Link to this message
|
So how did you go with the file you could re-save?
There's nothing out of the ordinary with the audio of your second AVI. It's just plain old MP3, so I'd assume the audio stream is damaged. PCs can be a lot more forgiving than hardware players. I also assume you could open the second AVI, just not re-save it? If so you could try deleting the first few seconds it using VirtualDubMod first.
The two buttons for marking sections of video are the ones furthest to the right below the navigation bar. When you first open the AVI select the left "mark" button. Now navigate to the next keyframe using the right keyframe button (they're the ones with a picture of a key). Select the right "mark" button to mark that spot. Now use the Edit/delete menu to remove the section you've marked and try re-saving the AVI again.
Alternatively, if your friend doesn't particularly need AVIs, you can try re-muxing the AVI as an MKV. MKVMergeGUI is part of MKVToolNix. Just open the AVI with MKVMergeGUI and hit the "start muxing" button. It'll resave the AVI as an MKV but it's also good at removing junk data in the process. If you need MP4s rather than MKVs I'd probably convert to MKV first, then use YAMB to convert the MKV to MP4. YAMB should also open the original AVI but it's not as good as dealing with problem files as MKVMergeGUI. Thinking about it, if MKVMergeGUI saves the AVI as an MKV successfully, you might be able to open the MKV using VirtualDubMod and resave it as an AVI again, but VirtualDubMod's MKV support is fairly limited.
This message has been edited since posting. Last time this message was edited on 23. March 2012 @ 03:37
|
hello_hello
Junior Member
|
23. March 2012 @ 03:41 |
Link to this message
|
PS I was being dumb..... you probably won't be able to edit out a section of the AVI using VirtualDubMod unless it can decode the video. For that you'll need to install a vfw codec. Xvid itself should do, or something like ffdshow should allow VirtualDubMod to decode the video.
|
Barond14
Junior Member
|
23. March 2012 @ 22:02 |
Link to this message
|
Originally posted by hello_hello: So how did you go with the file you could re-save?
There's nothing out of the ordinary with the audio of your second AVI. It's just plain old MP3, so I'd assume the audio stream is damaged. PCs can be a lot more forgiving than hardware players. I also assume you could open the second AVI, just not re-save it? If so you could try deleting the first few seconds it using VirtualDubMod first.
The two buttons for marking sections of video are the ones furthest to the right below the navigation bar. When you first open the AVI select the left "mark" button. Now navigate to the next keyframe using the right keyframe button (they're the ones with a picture of a key). Select the right "mark" button to mark that spot. Now use the Edit/delete menu to remove the section you've marked and try re-saving the AVI again.
Alternatively, if your friend doesn't particularly need AVIs, you can try re-muxing the AVI as an MKV. MKVMergeGUI is part of MKVToolNix. Just open the AVI with MKVMergeGUI and hit the "start muxing" button. It'll resave the AVI as an MKV but it's also good at removing junk data in the process. If you need MP4s rather than MKVs I'd probably convert to MKV first, then use YAMB to convert the MKV to MP4. YAMB should also open the original AVI but it's not as good as dealing with problem files as MKVMergeGUI. Thinking about it, if MKVMergeGUI saves the AVI as an MKV successfully, you might be able to open the MKV using VirtualDubMod and resave it as an AVI again, but VirtualDubMod's MKV support is fairly limited.
Originally posted by hello_hello: PS I was being dumb..... you probably won't be able to edit out a section of the AVI using VirtualDubMod unless it can decode the video. For that you'll need to install a vfw codec. Xvid itself should do, or something like ffdshow should allow VirtualDubMod to decode the video.
I just tried to re-open the second avi file, and now it is re-saving. Ill let you know what happens with the dvd after the two file sa reconverted and i burn to dvd. But you are right, the ps3 will play mp4s pretty nicely as well if that will help from the start of this. Not sure if they will allow me to burn mp4s through imgburn though.
This message has been edited since posting. Last time this message was edited on 23. March 2012 @ 22:04
|
Barond14
Junior Member
|
23. March 2012 @ 22:16 |
Link to this message
|
Originally posted by Barond14: Originally posted by hello_hello: So how did you go with the file you could re-save?
There's nothing out of the ordinary with the audio of your second AVI. It's just plain old MP3, so I'd assume the audio stream is damaged. PCs can be a lot more forgiving than hardware players. I also assume you could open the second AVI, just not re-save it? If so you could try deleting the first few seconds it using VirtualDubMod first.
The two buttons for marking sections of video are the ones furthest to the right below the navigation bar. When you first open the AVI select the left "mark" button. Now navigate to the next keyframe using the right keyframe button (they're the ones with a picture of a key). Select the right "mark" button to mark that spot. Now use the Edit/delete menu to remove the section you've marked and try re-saving the AVI again.
Alternatively, if your friend doesn't particularly need AVIs, you can try re-muxing the AVI as an MKV. MKVMergeGUI is part of MKVToolNix. Just open the AVI with MKVMergeGUI and hit the "start muxing" button. It'll resave the AVI as an MKV but it's also good at removing junk data in the process. If you need MP4s rather than MKVs I'd probably convert to MKV first, then use YAMB to convert the MKV to MP4. YAMB should also open the original AVI but it's not as good as dealing with problem files as MKVMergeGUI. Thinking about it, if MKVMergeGUI saves the AVI as an MKV successfully, you might be able to open the MKV using VirtualDubMod and resave it as an AVI again, but VirtualDubMod's MKV support is fairly limited.
Originally posted by hello_hello: PS I was being dumb..... you probably won't be able to edit out a section of the AVI using VirtualDubMod unless it can decode the video. For that you'll need to install a vfw codec. Xvid itself should do, or something like ffdshow should allow VirtualDubMod to decode the video.
I just tried to re-open the second avi file, and now it is re-saving. Ill let you know what happens with the dvd after the two file sa reconverted and i burn to dvd. But you are right, the ps3 will play mp4s pretty nicely as well if that will help from the start of this. Not sure if they will allow me to burn mp4s through imgburn though.
OK, video A, and video B, both put through virtualdubmod and saved. Then burned using imgburn and played on dvd through my ps3. Video A has no sound, video b has the sound out of sync.
|
scorpNZ
AfterDawn Addict
4 product reviews
|
23. March 2012 @ 23:31 |
Link to this message
|
attar has answered questions like this before,do a forum search for each individual problem,may have to play with wording
avi burned to dvd has no sound
avi to dvd has sound out of sync
or
burned avi sound out of sync
etc,etc
unsubbed
|
hello_hello
Junior Member
|
24. March 2012 @ 01:39 |
Link to this message
|
Well I'm at a loss to be honest.... and knowing nothing about the PS3 doesn't help. It's a pity you can't test the discs you burn using a different player at least to determine if it's a PS3 problem. Until someone more clever comes along....
Once again it's working with the idea of remuxing the files based on this forum post.
http://forum.doom9.org/showthread.php?t=156349
While it appears the reason wasn't found, the poster there claimed he was creating AVIs which wouldn't play on the PS3, but played fine after remuxing them using AVI-Mux GUI. Maybe give it a whirl instead of VirtualDubMod.
|
Barond14
Junior Member
|
24. March 2012 @ 13:10 |
Link to this message
|
Originally posted by hello_hello: Well I'm at a loss to be honest.... and knowing nothing about the PS3 doesn't help. It's a pity you can't test the discs you burn using a different player at least to determine if it's a PS3 problem. Until someone more clever comes along....
Once again it's working with the idea of remuxing the files based on this forum post.
http://forum.doom9.org/showthread.php?t=156349
While it appears the reason wasn't found, the poster there claimed he was creating AVIs which wouldn't play on the PS3, but played fine after remuxing them using AVI-Mux GUI. Maybe give it a whirl instead of VirtualDubMod.
WEll thank you very much for trying. I greatly appreciate it. Still trying that yamb program. When I open the files though it says error. Try re-installing. Missing dll file or soemthing. Regex2.dll not found.
This message has been edited since posting. Last time this message was edited on 24. March 2012 @ 13:15
|
Barond14
Junior Member
|
24. March 2012 @ 13:32 |
Link to this message
|
Originally posted by Barond14: Originally posted by hello_hello: Well I'm at a loss to be honest.... and knowing nothing about the PS3 doesn't help. It's a pity you can't test the discs you burn using a different player at least to determine if it's a PS3 problem. Until someone more clever comes along....
Once again it's working with the idea of remuxing the files based on this forum post.
http://forum.doom9.org/showthread.php?t=156349
While it appears the reason wasn't found, the poster there claimed he was creating AVIs which wouldn't play on the PS3, but played fine after remuxing them using AVI-Mux GUI. Maybe give it a whirl instead of VirtualDubMod.
WEll thank you very much for trying. I greatly appreciate it. Still trying that yamb program. When I open the files though it says error. Try re-installing. Missing dll file or soemthing. Regex2.dll not found.
YOU DID IT!!!!! HAha. Thank you soo much. AVI-Mux GUI worked for both files. No idea why but they both now stream onto my ps3 just fine. Gonna burn them now and see for sure but I have a good idea they will work now. Can't thank you enough.
|
hello_hello
Junior Member
|
24. March 2012 @ 13:46 |
Link to this message
|
Nothing's ever easy, is it?
I've been meaning to try one of these myself, as YAMB can be a bit pedantic, although I've never had a missing dll problem. It just sometimes chokes on files I think it should be okay with. Anyway....
MkvToMp4
rebox.NET
|
hello_hello
Junior Member
|
25. March 2012 @ 04:19 |
Link to this message
|
Originally posted by Barond14:
YOU DID IT!!!!! HAha. Thank you soo much. AVI-Mux GUI worked for both files. No idea why but they both now stream onto my ps3 just fine. Gonna burn them now and see for sure but I have a good idea they will work now. Can't thank you enough.
I'm glad that appears to have worked, but it'd be really nice to know why it worked. Maybe we'll never know.
I use AutoGK for converting to AVI which uses VirtualDubMod for encoding and I've never had a problem playing my encodes on anything, but the PS3 is one device I've never personally used. It'd be interesting to know what AVI-Mux GUI does differently. Later on if I get a chance I might have to try resaving a few AVIs with it to see if I can work it out. I've never been able to just leave well enough alone.... I always have to work out "why".... if I can.
Edit: Well I did a little experimenting. The hardware decoder in my smartphone seems to have audio sync issues when decoding pretty much any AVI, and it doesn't play the video completely smoothly (it decodes h264/MKV/MP4 perfectly). If I switch to the media player's software decoder AVIs play fine. So I thought I'd remux a few AVIs with AVI-Mux GUI after adjusting various settings and try playing the new versions. While the software decoder still happily plays any of them, so far I've not been able to create an AVI using AVI-Mux GUI which the hardware decoder in my phone can decode at all. Go figure.....
I'd still be keen to know why, but I guess I could spend the rest of my life trying to work it out.
This message has been edited since posting. Last time this message was edited on 25. March 2012 @ 05:09
|
Advertisement
|
|
|
Barond14
Junior Member
|
25. March 2012 @ 22:05 |
Link to this message
|
Originally posted by hello_hello: Originally posted by Barond14:
YOU DID IT!!!!! HAha. Thank you soo much. AVI-Mux GUI worked for both files. No idea why but they both now stream onto my ps3 just fine. Gonna burn them now and see for sure but I have a good idea they will work now. Can't thank you enough.
I'm glad that appears to have worked, but it'd be really nice to know why it worked. Maybe we'll never know.
I use AutoGK for converting to AVI which uses VirtualDubMod for encoding and I've never had a problem playing my encodes on anything, but the PS3 is one device I've never personally used. It'd be interesting to know what AVI-Mux GUI does differently. Later on if I get a chance I might have to try resaving a few AVIs with it to see if I can work it out. I've never been able to just leave well enough alone.... I always have to work out "why".... if I can.
Edit: Well I did a little experimenting. The hardware decoder in my smartphone seems to have audio sync issues when decoding pretty much any AVI, and it doesn't play the video completely smoothly (it decodes h264/MKV/MP4 perfectly). If I switch to the media player's software decoder AVIs play fine. So I thought I'd remux a few AVIs with AVI-Mux GUI after adjusting various settings and try playing the new versions. While the software decoder still happily plays any of them, so far I've not been able to create an AVI using AVI-Mux GUI which the hardware decoder in my phone can decode at all. Go figure.....
I'd still be keen to know why, but I guess I could spend the rest of my life trying to work it out.
LOL. Maybe. It's weird. But once again thanks. Really do appreciate everything.
|
|