Page 1 of 1

Differences 'sout' between vlc 0.8.1 and vlc 0.8.4 ??

Posted: 06 Dec 2005 20:03
by mordillo
Hi,
first of all, I like to say sorry for my bad english.

I have a problem to receive a stream output from vlc to my settopbox.

With VLC Version 0.8.1, receiving is fine, and the movie is correctly playing.

With VLC Version 0.8.4 I have problems to receive some Xvid coded movies: Here is the log from vlc 0.8.4
  • main debug: `d:/movies/theMovie.xvid.avi' successfully opened
    packetizer_copy debug: need dts > 0
    packetizer_copy debug: need dts > 0
    main debug: adding a new input
    stream_out_transcode debug: creating audio transcoding from fcc=`mp3 ' to fcc=`mpga'
    main debug: looking for decoder module: 26 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) started
    main debug: using decoder module "ffmpeg"
    main debug: looking for encoder module: 10 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: found encoder MPEG Audio layer 1/2
    main debug: using encoder module "ffmpeg"
    stream_out_duplicate debug: duplicated a new stream codec=mpga (es=1 group=0)
    main debug: looking for decoder module: 26 candidates
    main debug: using decoder module "mpeg_audio"
    main debug: thread 4488 (decoder) created at priority 2 (src/input/decoder.c:159)
    stream_out_duplicate debug: - added for output 0
    main debug: adding a new input
    mux_ts debug: adding input codec=mpga pid=71
    mux_ts debug: new PCR PID is 71
    stream_out_duplicate debug: - added for output 1
    mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192
    main debug: looking for audio output module: 3 candidates
    aout_directx debug: OpenAudio
    aout_directx debug:
    aout_directx debug: found device: Vinyl AC'97 Audio (WAVE)
    main debug: adding a new input
    stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`mpgv'
    main debug: looking for decoder module: 26 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: postprocessing disabled
    ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
    main debug: using decoder module "ffmpeg"
    main debug: looking for encoder module: 10 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: found encoder MPEG-2 Video
    main debug: using encoder module "ffmpeg"
    main debug: unlocking module "ffmpeg"
    ffmpeg warning: warning: first frame is no keyframe
    (mpeg4@03BDC6A0)
    main debug: looking for encoder module: 10 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: removing common factors from framerate
    (mpeg2video@01409E30)
    ffmpeg warning: MPEG1/2 does not support 21845/911 fps
    (mpeg2video@01409E30)
    ffmpeg error: cannot open encoder
    stream_out_transcode error: cannot find encoder
    ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped
Should I have to change the sout Options in another style since vlc 0.8.1 ?

The sout I send to vlc is:

#transcode{vcodec=mpgv,vb=2048,width=576,height=576,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,url=:9090/dboxstream}}

If I understand the Messages right, then there where a problem with the mp4v encoder by using ffmpeg, but there are no Problems by opening the file pure with vlc ..

Have anyone heard about this Problem ?


Greetings

EDIT: I have read, that this is a known bug and should be solved in vlc 0.8.4, but it doesnt!!

Posted: 07 Dec 2005 16:45
by mordillo
Has no one an idea ?

Posted: 07 Dec 2005 17:04
by fkuehne
23.9 fps aren't supported by MPEG1/2, so the encoder doesn't start. I've seen this already on the forum, but I don't know how to fix it actually.

Posted: 08 Dec 2005 16:58
by mordillo
This was my first idea before I posted here, but that couldnt be the reason because, I´ve reencoded this file into 25fps with virtualdub, but it wont usually work.
Opening with 0.8.1 is fine ..

Posted: 17 Dec 2005 23:41
by mordillo
This *bug* (I dont know if it is?) is also in current Version 0.8.4.a

Posted: 13 Jan 2006 21:53
by dbrossard
I had a similar problem but was able to fix it be changing to using div3 as the transcode video codec.

Posted: 14 Jan 2006 07:36
by mordillo
I fixed it by sending a sout paramter {fps=25} then streaming works proper