default x264 parameters

About encoding, codec settings, muxers and filter usage
yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

default x264 parameters

Postby yohann.martineau » 06 Dec 2007 12:53

hello,

I'm looking for the default parameters used to encode in H264 with x264.
Here is my problem, I have a flv file in input, I want to transcode it to a set top box readable format/codec and then to stream it to a set top box. I do not want to transcode it on the fly.
When I open the file, stream it to a multicast address using udp and transcode it all in one. I can see the file on the set top box. But when I record the file to another file, with the same transcoding options (mpegts/h264/mpga) and then stream this file on the network, I cannot see the video on the set top box, but I can hear the sound.

Is there anyone having the same problem ?

I would like to find x264 default options in the source code, but I don't know which file (or group of file) is concerned...

Regards,

yohann

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: default x264 parameters

Postby funman » 06 Dec 2007 14:57

i believe you chose a wrong encapsulation (muxer) when streaming ?

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: default x264 parameters

Postby yohann.martineau » 06 Dec 2007 19:13

I used MPEG TS and it did not work (with my transcoded file). I also tried raw, but it was the same, sound but no video.

Thank you for your response.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: default x264 parameters

Postby Arite » 06 Dec 2007 20:06

Did the transcoded file(s) playback in VLC? Try the MP4 encapsulation format instead.

Arite.
Don't use PMs for support questions.

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: default x264 parameters

Postby yohann.martineau » 07 Dec 2007 09:41

Yes the transcoded file can be played on VLC.
I tried with the MP4 file format, but it was the same.

When I play the transcoded file using MPEG TS format the video starts, but no picture is available and a few seconds later, the picture is displayed. With MP4 format, I can see the video from the beginning, but with a green color. I think the first I-frame lacks or may be corrupted. It's a video that I have taken from youtube, using http://videodl.org download link.

Here is the log of VLC, when I play the MPEG TS transcoded file:
ffmpeg warning: cannot decode one frame (27 bytes)
ffmpeg warning: cannot decode one frame (8 bytes)
ffmpeg debug: concealing 300 DC, 300 AC, 300 MV errors
(h264@0x85f3400)
ffmpeg debug: concealing 0 DC, 0 AC, 0 MV errors
(h264@0x85f3400)
main debug: no usable vout present, spawning one
main debug: window size: 320x240
main debug: looking for video output module: 6 candidates
xvideo debug: adaptor 1, port 66, format 0x32315659 (YV12) planar
xvideo debug: Window manager supports NetWM
xvideo debug: Window manager supports _NET_WM_STATE_FULLSCREEN
xvideo debug: Window manager supports _NET_WM_STATE_ABOVE
xvideo debug: Window manager supports _NET_WM_STATE_BELOW
main debug: using video output module "xvideo"
main debug: waiting for thread completion
main debug: got 8 direct buffer(s)
main debug: picture in 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1
main debug: picture user 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1
main debug: picture out 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 2941496240 (video output) created at priority 0 (video_output/video_output.c:421)
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 3 guests