Problem encoding mp4 from DVD under Vista (VLC Crashes)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lecorr
New Cone
New Cone
Posts: 1
Joined: 09 Dec 2008 22:57

Problem encoding mp4 from DVD under Vista (VLC Crashes)

Postby lecorr » 09 Dec 2008 23:08

Hello,

I try to convert DVD to Divx under Vista. VLC crashes.

First, I extracted 4 movies from DVD to HD with:

Code: Select all

vlc dvdsimple://E:\@1 --sout "#standard{access=file,mux=ps,dst=xxx.mpeg2}"
(via changing @1 to @2... I got the 4 movies from my DVD)

Then I try to convert all files (the for loops for eaf file) from DVD to MP4 with this command:

Code: Select all

for %%a in (*.mpeg2) do cmd /c "C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv -I dummy %%a --sout #transcode{vcodec=mp4v,vb=3072,scale=1,acodec=mp4a,ab=192,channels=2}:standard{access=file,mux=mp4,dst=%%a.mp4} vlc://quit
I tried different variation. Using:

Code: Select all

#transcode{vcodec=mpgv,vb=800,scale=1,acodec=a52,ab=128,channels=2}
works, but convert mpeg2 to mpeg2

Given Log is for 0.9.6, but I upgraded to last version today and got the same result.

Does someone has the real good command which works, since I do not understand what's wrong with mine.

Thanks a lot.




PS: Here the log from VLC:

[00000394] dummy interface: VLC media player - version 0.9.6 Grishenko - (c) 199
6-2008 the VideoLAN team
[00000394] dummy interface:
Attention : si vous nÆavez plus accÞs Ó lÆinterface graphique, ouvrez une invite
de commande, allez dans le rÚpertoire o¨ vous avez installÚ VLC, et lancez ½ vl
c -I qt ╗.

[00000394] dummy interface: using the dummy interface module...
[00000394] main interface debug: using interface module "dummy"
[00000394] main interface debug: TIMER module_Need() : 8.000 ms - Total 8.000 ms
/ 1 intvls (Avg 8.000 ms)
[00000394] main interface debug: thread 4840 (interface) created at priority 0 (
interface/interface.c:168)
[00000394] main interface debug: thread started
[00000366] main playlist debug: starting new item
[00000366] main playlist debug: processing request item null node Liste de lectu
re skip 0
[00000366] main playlist debug: rebuilding array of current - root Liste de lect
ure
[00000366] main playlist debug: rebuild done - 2 items, index -1
[00000366] main playlist debug: creating new input thread
[00000403] main input debug: Creating an input for 'DrHouse1_1.mpeg2'
[00000403] main input debug: waiting for thread initialization
[00000403] main input debug: thread started
[00000404] main stream output debug: stream=`transcode'
[00000403] main input debug: thread 4776 (input) created at priority 1 (input/in
put.c:370)
[00000405] main stream out debug: looking for sout stream module: 1 candidate
[00000404] main stream output debug: stream=`standard'
[00000408] main stream out debug: looking for sout stream module: 1 candidate
[00000408] main stream out debug: set config option: sout-standard-access to fil
e
[00000408] main stream out debug: set config option: sout-standard-mux to mp4
[00000408] main stream out debug: set config option: sout-standard-dst to DrHous
e1_1.mpeg2.mp4
[00000408] stream_out_standard stream out debug: creating `file/mp4://DrHouse1_1
.mpeg2.mp4'
[00000408] stream_out_standard stream out debug: extension is mp4
[00000408] stream_out_standard stream out debug: extension -> mux=mp4
[00000408] stream_out_standard stream out debug: using `file/mp4://DrHouse1_1.mp
eg2.mp4'
[00000410] main access out debug: looking for sout access module: 1 candidate
[00000410] access_output_file access out debug: file access output opened (DrHou
se1_1.mpeg2.mp4)
[00000410] main access out debug: using sout access module "access_output_file"
[00000410] main access out debug: TIMER module_Need() : 4.000 ms - Total 4.000 m
s / 1 intvls (Avg 4.000 ms)
[00000408] stream_out_standard stream out debug: access opened
[00000412] main mux debug: looking for sout mux module: 1 candidate
[00000412] mux_mp4 mux debug: Mp4 muxer opened
[00000412] main mux debug: using sout mux module "mux_mp4"
[00000412] main mux debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms / 1 i
ntvls (Avg 3.000 ms)
[00000408] stream_out_standard stream out debug: mux opened
[00000408] main stream out debug: using sout stream module "stream_out_standard"

[00000408] main stream out debug: TIMER module_Need() : 23.000 ms - Total 23.000
ms / 1 intvls (Avg 23.000 ms)
[00000405] main stream out debug: set config option: sout-transcode-vcodec to mp
4v
[00000405] main stream out debug: set config option: sout-transcode-vb to 3072
[00000405] main stream out debug: set config option: sout-transcode-scale to 1
[00000405] main stream out debug: set config option: sout-transcode-acodec to mp
4a
[00000405] main stream out debug: set config option: sout-transcode-ab to 192
[00000405] main stream out debug: set config option: sout-transcode-channels to
2
[00000405] stream_out_transcode stream out debug: codec audio=mp4a 0Hz 2 channel
s 192Kb/s
[00000405] stream_out_transcode stream out debug: codec video=mp4v 0x0 scaling:
1.000000 3072kb/s
[00000405] main stream out debug: using sout stream module "stream_out_transcode
"
[00000405] main stream out debug: TIMER module_Need() : 38.000 ms - Total 38.000
ms / 1 intvls (Avg 38.000 ms)
[00000403] main input debug: `DrHouse1_1.mpeg2' gives access `' demux `' path `D
rHouse1_1.mpeg2'
[00000403] main input debug: creating demux: access='' demux='' path='DrHouse1_1
.mpeg2'
[00000414] main demux debug: looking for access_demux module: 1 candidate
[00000414] main demux debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1
intvls (Avg 1.000 ms)
[00000403] main input debug: creating access '' path='DrHouse1_1.mpeg2'
[00000416] main access debug: looking for access module: 5 candidates
[00000416] vcd access debug: trying .cue file: DrHouse1_1.cue
[00000416] vcd access debug: could not find .cue file
[00000416] access_file access debug: opening file `DrHouse1_1.mpeg2'
[00000416] main access debug: using access module "access_file"
[00000416] main access debug: TIMER module_Need() : 5.000 ms - Total 5.000 ms /
1 intvls (Avg 5.000 ms)
[00000418] main stream debug: Using AStream*Stream
[00000418] main stream debug: pre-buffering...
[00000418] main stream debug: received first data for our buffer
[00000418] main stream debug: pre-buffering done 1408981 bytes in 0s - 687635 kb
ytes/s
[00000403] main input debug: creating demux: access='' demux='' path='DrHouse1_1
.mpeg2'
[00000419] main demux debug: looking for demux module: 51 candidates
[00000419] main demux debug: using demux module "ps"
[00000419] main demux debug: TIMER module_Need() : 15.000 ms - Total 15.000 ms /
1 intvls (Avg 15.000 ms)
[00000403] main input debug: looking for a subtitle file in C:\Users\Public\Vide
os\
[00000403] main input debug: starting in sync mode
[00000403] main input debug: `DrHouse1_1.mpeg2' successfully opened
[00000419] ps demux warning: garbage at input, trying to resync...
[00000419] ps demux warning: found sync code
[00000419] ps demux debug: we found a length of: 2535680000
[00000403] main input debug: control type=1
[00000403] main input debug: selecting program id=0
[00000451] main packetizer debug: looking for packetizer module: 18 candidates
[00000451] main packetizer debug: using packetizer module "packetizer_mpegvideo"

[00000451] main packetizer debug: TIMER module_Need() : 8.000 ms - Total 8.000 m
s / 1 intvls (Avg 8.000 ms)
[00000403] main input debug: stream out mode -> no decoder thread
[00000419] ps demux debug: contains a PSM
[00000451] packetizer_mpegvideo packetizer debug: size 720x576 fps=25.000
[00000404] main stream output debug: adding a new sout input (sout_input:020F7A3
8)
[00000405] stream_out_transcode stream out debug: creating video transcoding fro
m fcc=`mpgv' to fcc=`mp4v'
[00000474] main decoder debug: looking for decoder module: 33 candidates
[00000474] main decoder debug: using decoder module "libmpeg2"
[00000474] main decoder debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms /
1 intvls (Avg 4.000 ms)
[00000475] main encoder debug: looking for encoder module: 11 candidates
[00000475] avcodec encoder debug: libavcodec initialized (interface 3360512 )
[mpeg4 @ 02143B40]removing common factors from framerate
[00000475] avcodec encoder debug: found encoder MPEG-4 Video
[00000475] main encoder debug: using encoder module "avcodec"
[00000475] main encoder debug: TIMER module_Need() : 17.000 ms - Total 17.000 ms
/ 1 intvls (Avg 17.000 ms)
[00000475] main encoder debug: removing module "avcodec"
[00000474] libmpeg2 decoder debug: 720x576 (display 720,576), aspect 768000, sar
64:45, 25.000 fps
[00000474] main decoder warning: dts != current_pts (-175000)
[00000451] main packetizer debug: switching to async mode
[00000487] main packetizer debug: looking for packetizer module: 18 candidates
[00000487] main packetizer debug: using packetizer module "a52"
[00000487] main packetizer debug: TIMER module_Need() : 3.000 ms - Total 3.000 m
s / 1 intvls (Avg 3.000 ms)
[00000403] main input debug: stream out mode -> no decoder thread
[00000487] a52 packetizer: A/52 channels:6 samplerate:48000 bitrate:448000
[00000404] main stream output debug: adding a new sout input (sout_input:020F7E1
0)
[00000405] stream_out_transcode stream out debug: creating audio transcoding fro
m fcc=`a52 ' to fcc=`mp4a'
[00000495] main decoder debug: looking for decoder module: 33 candidates
[00000495] main decoder debug: using decoder module "a52"
[00000495] main decoder debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms /
1 intvls (Avg 0.000 ms)
[00000496] main encoder debug: looking for encoder module: 11 candidates
[00000496] avcodec encoder debug: libavcodec already initialized
[00000496] avcodec encoder debug: found encoder MPEG AAC Audio
[00000496] main encoder debug: using encoder module "avcodec"
[00000496] main encoder debug: TIMER module_Need() : 21.000 ms - Total 21.000 ms
/ 1 intvls (Avg 21.000 ms)
[00000497] main filter debug: looking for audio filter2 module: 8 candidates
No accelerated IMDCT transform found
[00000497] main filter debug: using audio filter2 module "a52tofloat32"
[00000497] main filter debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms /
1 intvls (Avg 3.000 ms)
[00000405] main stream out debug: Filter 'a52tofloat32' (0212EDE8) appended to c
hain
[00000405] stream_out_transcode stream out debug: Looking for filter (fl32->s16l
, channels 6->2, rate 48000->48000)
[00000500] main filter debug: looking for audio filter2 module: 8 candidates
[00000500] audio_format filter debug: fl32->s16l, bits per sample: 32->16
[00000500] main filter debug: using audio filter2 module "audio_format"
[00000500] main filter debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms /
1 intvls (Avg 4.000 ms)
[00000405] main stream out debug: Filter 'audio_format' (045FDB28) appended to c
hain
[00000405] stream_out_transcode stream out debug: Looking for filter (s16l->s16l
, channels 6->2, rate 48000->48000)
[00000513] main filter debug: looking for audio filter2 module: 8 candidates
[00000513] mono filter debug: using stereo to mono downmix
[00000513] mono filter debug: s16l->s16l, channels 4199->1, bits per sample: 16-
>16
[00000513] main filter debug: using audio filter2 module "mono"
[00000513] main filter debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms /
1 intvls (Avg 2.000 ms)
[00000405] main stream out debug: Filter 'mono' (045810B8) appended to chain
[00000405] stream_out_transcode stream out debug: Looking for filter (s16l->s16l
, channels 1->2, rate 48000->48000)
[00000514] main filter debug: looking for audio filter2 module: 8 candidates
[00000514] main filter debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms /
1 intvls (Avg 0.000 ms)
[00000405] main stream out error: Failed to create audio filter2
[00000405] stream_out_transcode stream out debug: Looking for filter (s16l->s16l
, channels 1->2, rate 48000->48000)
[00000515] main filter debug: looking for audio filter2 module: 8 candidates
[00000515] main filter debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms /
1 intvls (Avg 1.000 ms)
[00000405] main stream out error: Failed to create audio filter2
[00000496] main encoder debug: removing module "avcodec"
[00000405] stream_out_transcode stream out debug: number of audio channels for m
ixing changed, trying to reopen the encoder for mixing 1 to 1 channels
[00000496] main encoder debug: looking for encoder module: 11 candidates
[00000496] avcodec encoder debug: libavcodec already initialized
[00000496] avcodec encoder debug: found encoder MPEG AAC Audio
[00000496] main encoder debug: using encoder module "avcodec"
[00000496] main encoder debug: TIMER module_Need() : 16.000 ms - Total 16.000 ms
/ 1 intvls (Avg 16.000 ms)
[00000412] main mux debug: adding a new input
[00000412] mux_mp4 mux debug: adding input
[00000474] main decoder warning: backward_pts != current_pts (-40000)
[00000495] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:448000

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem encoding mp4 from DVD under Vista (VLC Crashes)

Postby Jean-Baptiste Kempf » 10 Dec 2008 08:46

Try to not transcode the audio.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 59 guests