Search found 32 matches

Go to advanced search

by freesunshine
27 Apr 2012 13:27
Forum: Development around libVLC
Topic: How to crypt the video stream to a. ts file?
Replies: 0
Views: 462

How to crypt the video stream to a. ts file?

i encode the camera video stream to a .ts file with libvlc and it works well. and now i want to crypt the file with code below: const char * const vlc_args[] = { "-I", "dumy", // No special interface "--ignore-config", // Don't use VLC's config "--plugin-path=./plu...
by freesunshine
11 Apr 2012 16:09
Forum: Development around libVLC
Topic: how to output good quality jpg?
Replies: 0
Views: 388

how to output good quality jpg?

output jpg files with code below: const char * const vlc_args[] = { //"-I", "dumy", // No special interface "--ignore-config", // Don't use VLC's config "--plugin-path=./plugins", "--live-caching=50", "--no-video-title-show", "--video-...
by freesunshine
08 Apr 2012 19:25
Forum: Development around libVLC
Topic: Problem with X264 encoding buffer
Replies: 3
Views: 764

Re: Problem with X264 encoding buffer

solved.audio input error.
by freesunshine
07 Apr 2012 18:41
Forum: Development around libVLC
Topic: Problem with X264 encoding buffer
Replies: 3
Views: 764

Re: Problem with X264 encoding buffer

can somebody help?
by freesunshine
05 Apr 2012 17:09
Forum: Development around libVLC
Topic: Problem with X264 encoding buffer
Replies: 3
Views: 764

Problem with X264 encoding buffer

I'd like to encode a HD camera(720p) to local file with x264(bitrate = 3000kb,keyint=25,mux=ts), and play it seconds later while still encoding. but i found that the file always 0 kb long until I stopped recording. it seems that the x264 encoder buffered all the encoded frame in memory and wrote to ...
by freesunshine
30 Mar 2012 17:41
Forum: Development around libVLC
Topic: How to display camera stream while encoding it to disk file?
Replies: 2
Views: 547

How to display camera stream while encoding it to disk file?

i streams a camera to local file with code below: m = libvlc_media_new_location (inst, "dshow://"); CStringA opt_out_str; opt_out_str.Format(":sout=#transcode{width=640,height=480,vcodec=h264,vb=800,scale=1,fps=25.1f,acodec=aac,ab=128,channels=2,samplerate=44100} :duplicate{dst=std{ac...
by freesunshine
28 Mar 2012 16:39
Forum: Development around libVLC
Topic: can‘t display and recording at the same time
Replies: 2
Views: 372

can‘t display and recording at the same time

when i transcoding or recording or streaming a video to internet, it can't display locally .
i tried "duplicate{dst=display,dst=...}",it doesn't work,the display is freezen ,but still can recording or streaming.
is it a bug ? or i didn'e do the right?
by freesunshine
28 Mar 2012 16:11
Forum: Development around libVLC
Topic: Precision when seeking
Replies: 15
Views: 3517

Re: Precision when seeking

set gop to a small value like 12 would make it better; gop=12 provides a 12/fps second Accuracy。
by freesunshine
27 Mar 2012 13:02
Forum: Development around libVLC
Topic: jump to a specific frame
Replies: 3
Views: 5993

Re: jump to a specific frame

it's absolutely possible,but difficult. it depends on video format a lot. ffmpeg provides a function seek by frame ( av_seek_frame),but i have not tried; in vlc,you can calculate the specific frame's time stamp and set_time to the nearest key frame,then get next frame until the time stamp is the nea...
by freesunshine
27 Mar 2012 07:54
Forum: Development around libVLC
Topic: How can I record videostream to disc
Replies: 1
Views: 802

Re: How can I record videostream to disc

try
:duplicate{dst=std{access=file,mux=ts,dst=C:\test.mpg}}
by freesunshine
27 Mar 2012 07:52
Forum: Development around libVLC
Topic: jump to a specific frame
Replies: 3
Views: 5993

Re: jump to a specific frame

it is not easy especially when the frame is not a key frame. you should jump forward and decode.
unfortunately vlc do not provide such functions so you should write by yourself.
by freesunshine
27 Mar 2012 07:44
Forum: Development around libVLC
Topic: get problem when deal with increasing ts file[SOLVED]
Replies: 2
Views: 455

Re: get problem when deal with increasing ts file

the length of the video can be read from time-changed-event of the libvlc_media_player_t object which recording ;the current playing time can also be read if you open the file few seconds later;
now i open the increasing file by ffmpeg and can easily get the timestamp.
by freesunshine
26 Mar 2012 13:23
Forum: Development around libVLC
Topic: get problem when deal with increasing ts file[SOLVED]
Replies: 2
Views: 455

get problem when deal with increasing ts file[SOLVED]

the VLC can play increasing (still recording) ts file,and can get the current length of the video,and also know how long time the player played. but when i play a increasing ts file with libvlc, it works ,but can not provide current time in time-change event,it returns 0 both in libvlc_media_player_...
by freesunshine
20 Mar 2012 12:17
Forum: Development around libVLC
Topic: [help]How to load a file with chinese-characters filename?
Replies: 12
Views: 1246

Re: [help]How to load a file with chinese-characters filenam

thank u all! RSATom、 Rémi Denis-Courmont and MichaelMc
by freesunshine
20 Mar 2012 12:16
Forum: Development around libVLC
Topic: [help]How to load a file with chinese-characters filename?
Replies: 12
Views: 1246

Re: [help]How to load a file with chinese-characters filenam

it works!!!!!!!!!!!!
thank you soooooooooooooooooooooooooooooooo much!!!!!!!!!!!!!!!!
by freesunshine
20 Mar 2012 07:13
Forum: Development around libVLC
Topic: [help]How to load a file with chinese-characters filename?
Replies: 12
Views: 1246

Re: [help]How to load a file with chinese-characters filenam

http://mail.qq.com/cgi-bin/ftnExs_download?k=0d613062eac7c99efa0404651633024e01030550060208591d04015b541e045603581d005204084c0702515b0552035901580850303b30155512444c425242610d&t=exs_ftn_download&code=0a0b030a my system is chinese vision,so i dont know what it look like in english vision or o...
by freesunshine
19 Mar 2012 18:09
Forum: Development around libVLC
Topic: how to choose the capture device in libvlc?[SOLVED]
Replies: 2
Views: 1680

Re: how to choose the capture device in libvlc?

solved.
libvlc_media_add_option(m,":dshow-vdev=usb camera2");
by freesunshine
19 Mar 2012 16:25
Forum: Development around libVLC
Topic: [help]How to load a file with chinese-characters filename?
Replies: 12
Views: 1246

Re: [help]How to load a file with chinese-characters filenam

i tried CString file("file:///c:/你好.avi");but nothing changed :(

Go to advanced search