[Ffmpeg-devel-irc] ffmpeg.log.20140827
burek
burek021 at gmail.com
Thu Aug 28 02:05:01 CEST 2014
[02:45] <rcombs> anyone seen libx264 giving very low bitrates for the first several seconds of an encode using crf and maxrate? It looks like I'm seeing the first couple scenes (which are rather low-complexity and should be able to be encoded within the VBV boundaries at the given CRF) get forced to a higher CRF, probably because the VBV system isn't performing properly before its buffer fills
[03:09] <Idlus> Hi, I want to know whether the use of stdin as input disables the use of other input files?
[03:10] <rcombs> Idlus: nope!
[03:10] <Idlus> too bad...
[03:10] <Hello71> no, but you won't be able to use the keyboard controls.
[03:10] <rcombs> &why is that bad?
[03:10] <Idlus> I can't pipe audio in and mux it with a video file?
[03:10] <rcombs> yes, you can do that
[03:11] <Idlus> how then?
[03:11] <rcombs> "nope!" meant "no, using stdin as input does not disable use of other input sources"
[03:11] <Idlus> ah ok!
[03:11] <sacarasc> Idlus: One -i for every input you want.
[03:12] <Idlus> well I try with x11grab as video actually, and end up with audio only
[03:12] <Idlus> I'll try harder now I know it should work
[03:13] <rcombs> post your full ffmpeg command line?
[03:15] <Idlus> ok here it is: http://pastie.org/9505566
[03:15] <sacarasc> And the output?
[03:16] <Idlus> sorry, hold on
[03:16] <llogan> it's obligitory to be asked for command and console output and provide only the command
[03:16] <llogan> as per tradition
[03:17] <rcombs> llogan: I actually only asked for the command
[03:18] <rcombs> so blame me on that one
[03:20] <Idlus> hope that's good: http://pastie.org/9505572#5
[03:21] <Idlus> this one actually :) http://pastie.org/9505576
[03:22] <rcombs> what player are you using to check the output?
[03:23] <Idlus> vlc
[03:23] <rcombs> also, you're re-encoding the audio twice there and that's kinda silly
[03:23] <Idlus> oh, true
[03:23] <Idlus> i was just testing and forgot to adapt this
[03:23] <rcombs> what do you see in VLC? Black video? No video?
[03:24] <Idlus> no video apparently, but audio playback
[03:24] <rcombs> could you try ffplay, and/or try adding `-pix_fmt yuv420p`?
[03:24] <Idlus> wow, indeed!
[03:24] <Idlus> for ffplay at least
[03:25] <rcombs> sounds like your version of VLC, or its settings, are having trouble with yuv444p H.264
[03:25] <rcombs> (probably)
[03:26] <sacarasc> VLC is poo.
[03:26] <rcombs> there's advice in the ffmpeg output about this
[03:28] <Idlus> yes, but I overlooked it since before, strangely enough, it worked without the audio
[03:28] <rcombs> huh, interesting
[03:28] <rcombs> might be a VLC bug
[03:29] <rcombs> which you might want to report to them
[03:29] <Idlus> I'll sure do, for now I try with `-pix_fmt yuv420p`
[03:29] <rcombs> cool
[03:35] <Idlus> well, I can't seem to understand why, but the `-pix_fmt yuv420p` parameter is accepted without the piping and not with, returning "option not found"
[03:35] <Idlus> I'm making a pastebin
[03:36] <sacarasc> Idlus: It's an output option, not an input one.
[03:36] <rcombs> ^ this is probably your problem
[03:37] <rcombs> anyone have any ideas on my VBV issue? (wherein libx264 uses very low bitrates until the VBV buffer is full)
[03:37] <Idlus> I do not understand what you mean. I try two commands identic save the piping part.
[03:38] <rcombs> post your new entire command
[03:39] <rcombs> with the piping
[03:39] <rcombs> and output
[03:40] <Idlus> here: http://pastie.org/9505594#1,3
[03:40] <sacarasc> Put -pix_fmt just before out.mkv
[03:40] <rcombs> yes, move `-pix_fmt yuv420p` to between `-i -` and `out.mv`
[03:41] <Idlus> ok I understand, sorry for the stupid issue
[03:41] <Idlus> "an output option" indeed
[03:43] <Idlus> well, vlc still doesn't account for the video, while ffplay does.
[03:43] <Idlus> anyway, that's all I needed to know, thank you!
[03:44] <rcombs> hmm, interesting
[03:44] <rcombs> either way, blame them
[05:54] <Eftekhari> hi
[05:55] <Eftekhari> i have ffserver, when feed is larger than 2 GB, if ffmpeg that feed the ffserver exit, re executing the ffmpeg to feed the server not working, with the error : Error reading write index from feed file '/tmp/feed1.ffm': Resource temporarily unavailable
[06:12] <Eiam_> whats the "--non-free" flag actually mean when passing it into ffmpeg?
[06:12] <Eiam_> I noticed that very few distro package managers include ffmpeg with most of the codecs compiled, only one I could find was arch linux..
[06:19] <klaxa> it enables decoders and encoders which will make the resulting binary undistributable, because of royalties afaik
[06:41] <vladkansk> Hi all. I have some problem with ffmpeg. I'm trying to stream multicast FullHD, but I have a lot artefacts in output. When I'm trying to stream HLS - there is no problem, but with UDP Multicast - I have artefacts. Can anyone help me with it?
[06:43] <vladkansk> ffmpeg -i udp://@xxx.xxx.xxx.xxx:1234 -vcodec copy -acodec copy -hls_time 5 -hls_list_size 5 /mnt/hls/test.m3u8 works fine, but ffmpeg -i udp://@xxx.xxx.xxx.xxx:1234 -vcodec copy -acodec copy -f mpegts udp://yyy.yyy.yyy.yyy:1234 has a lot artefacts
[06:46] <vladkansk> with SD channels 720x576 no problems
[06:47] <vladkansk> sorry, with SD channel garbage is lower, almost invisible, but with HD channels all picture is garbage
[06:48] <rcombs> vladkansk: sounds more like a network issue than anything
[06:49] <rcombs> vladkansk: if you're stream-copying, there's nothing in there that could sensibly introduce artifacts
[06:53] <vladkansk> in same network Multicast streams works perfectly =(
[06:53] <rcombs> alas, UDP is unreliable by design, and can get very messy, especially across networks
[06:54] <rcombs> with TCP, if you drop packets regularly, they'll just get resent; with UDP, if you drop packets regularly, your video ends up looking like a huge mess
[06:55] <vladkansk> I have really large network with working Multicast. This network is perfect for multicast. Server with ffmpeg has 10g fiber interfaces to Catalyst 4900M
[06:55] <rcombs> can you check if it works locally, when playing back on the same machine?
[06:55] <[mbm]> udp is actually prefered for realtime video streaming because it drops packets and doesn't require retransmissions
[06:55] <rcombs> [mbm]: assuming the network is reliable, yes
[06:56] <rcombs> but if it's not, then you'll have problems
[06:56] <rcombs> but it sounds like vladkansk's network is rather reliable, so perhaps we have a bug in the UDP code
[06:57] <[mbm]> stream to a pipe and netcat it and see if it behaves any different?
[06:57] <rcombs> sure
[07:01] <vladkansk> I'l try to watch this UDP stream on server..
[07:12] <vladkansk> anyone tryed to stream 1920x1080 in UDP Multicast?
[07:15] <[mbm]> wired connection?
[07:15] <[mbm]> (wireless tends to defer multicast to basic rates)
[07:16] <vladkansk> no wireless
[07:16] <vladkansk> 1gbps or 10gbps
[07:17] <vladkansk> I have Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) on this server
[07:17] <[mbm]> vladkansk: I've got an hdhomerun here that will dump the atsc feed to multicast, that works but I haven't tried ffmpeg lately
[07:17] <vladkansk> and Ethernet controller: Broadcom Corporation NetXtreme II BCM57810 10 Gigabit Ethernet (rev 11)
[07:18] <[mbm]> check the interrupt mitigation settings
[07:24] <vladkansk> hm... ffprobe -show_frames -pretty -i udp://@yyy.yyy.yyy.yyy:1234 has no bugs... maybe really interrupts
[07:25] <vladkansk> in the server no errors, but in PC directly connected to server there are a lot of
[07:25] <vladkansk> [h264 @ 0x1fc5c00] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[07:25] <vladkansk> [h264 @ 0x1fc5c00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[07:25] <vladkansk> [h264 @ 0x1fc5c00] decode_slice_header error
[07:25] <vladkansk> [h264 @ 0x1fc6360] reference picture missing during reorder
[07:25] <vladkansk> Last message repeated 1 times
[07:25] <vladkansk> [h264 @ 0x1fc6360] Missing reference picture, default is 65692
[07:25] <vladkansk> Last message repeated 1 times
[07:25] <vladkansk> [h264 @ 0x22a7ee0] reference picture missing during reorder
[07:25] <vladkansk> [h264 @ 0x22a7ee0] Missing reference picture, default is 65712
[07:25] <vladkansk> [h264 @ 0x22a7ee0] Reference 2 >= 2
[07:25] <vladkansk> [h264 @ 0x22a7ee0] error while decoding MB 7 1, bytestream 24424
[07:26] <relaxed> pastebin.com next time
[07:26] <vladkansk> oops, sorry
[07:27] <vladkansk> what can I do with this? anyone can help?
[07:27] <vladkansk> ls
[07:27] <tm512> has anyone else noticed that x11grab performs a lot worse with xorg 1.16?
[07:29] <relaxed> vladkansk: are you using a recent version?
[07:30] <vladkansk> ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
[07:30] <vladkansk> built on Aug 27 2014 12:16:55 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
[07:30] <vladkansk> configuration: --prefix=/usr --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --enable-pic --enable-ffplay
[07:32] <tm512> x11grab makes X11's CPU use go up quite a bit more than I remember, and it causes what I'm trying to capture quite a bit of lagginess
[07:35] <tm512> can anything be tried to make it perform better?
[07:39] <relaxed> tm512: what is your command?
[07:41] <tm512> http://hastebin.com/onodugises.bash
[07:43] <tm512> it seems to be an X11 issue. the x11grab code doesn't seem to have changed much recently
[07:44] <relaxed> try adding -r 60 before the -i :0.0
[07:45] <tm512> what effect will that have?
[07:46] <relaxed> sets the input framerate
[07:46] <tm512> it seems to have no effect
[07:47] <tm512> it also severely desyncs the audio
[07:54] <tm512> I wonder if it could be related to shared memory
[08:00] <relaxed> simplify your command to see if it makes any difference
[08:02] <tm512> I'll cut out the audio but it doesn't really get simpler than that, I don't think
[08:08] <tm512> that doesn't help
[08:09] <relaxed> what about when you're not streaming it?
[08:09] <tm512> I'm not streaming, I have rtmpurl set to an flv file in a tmpfs
[08:32] <tm512> I restarted X
[08:32] <tm512> now I get [x11grab @ 0xa7a0c0] Could not open X display.
[08:35] <tm512> but I'm not typing the command in to the console
[08:37] <tm512> I'll put set -x in my script
[08:38] <tm512> http://hastebin.com/ohosegedex.txt
[08:41] <tm512> ah. here DISPLAY has changed to :1
[08:41] Action: tm512 shrugs
[08:43] <tm512> Xorg added systemd support, so I think arch linux has brought that in
[08:43] <tm512> why I am using this distro still, I have no idea. upgrades are an endless source of frustration
[08:44] <relaxed> Debian is nice
[08:45] <tm512> I've been thinking of switching to LFS with the stable releases of pkgsrc
[08:45] <K4T> I am trying to use pullup filter to convert video from 29.970 to 23.970 fps. Is it a good way to do it? I asking cause my output video have minimal stutter
[08:45] <K4T> after conversion
[08:46] <K4T> -vf pullup,scale=1280:-2,pad=1280:720:0:(oh-ih)/2,fps=fps=24000/1001
[08:46] <K4T> here is my filter settings
[08:46] <K4T> are*
[09:01] <tm512> interesting. it's only doing this when trying to record fceux, so far
[09:06] <reti> so I am trying to batch rip subtitles off of these videos, I have thise script and the output is after, it's saying it failed to set -c? http://pastebin.com/SnPTUWdX
[09:13] <spky_> myffplay "rtmp://xxxx timeout=3" hi ,guys, i set a timeout for socket, and if av_read_frame return timeout, i want to reconnect it. Q1. when timeout happens, av_read_frame return eof, no flag specify the timeout happens, this will be fine, whatever, i reconnect it Q2. then i call avio_close(format_ctx->pb), avio_open(&format_ctx->pb, filename ,AVIO_FLAG_READ), if open success, then i call av_read_frame, but it just dump the metadata
[09:16] <spky_> av_read_frame dump the metadata of rtmp, then stucks, can anyone give me a little help please
[09:17] <K4T> how can I check if video is interlaced or not? Is it possible to do this with ffmpeg?
[09:41] <K4T> can I use CUDA with ffmpeg?
[10:38] <Vish> Hi - when running ffmpeg - I get error audio stream missing - Can some one help? Details of the problem on this link - http://pastebin.com/r2mCZS4f
[10:45] <Vish> if i put mpegvideo which is without audio per documentation then it does not recognize the format... so really struck up..
[10:55] <Vish> can anyone help - Unfortunately I am also not allowed to make a new post on forum..
[10:58] <relaxed> Vish: what are you doing with ffserver?
[10:59] <Vish> so that I could access the stream through web browsers...
[11:10] <Vish> relaxed: do you see any concerns in my approach?
[11:15] <relaxed> You should see if ffmpeg can do what you want.
[11:15] <relaxed> Not many people use ffserver.
[11:17] <saste> Vish, NoAudio is missing
[11:22] <Vish> saste: I put no audio and I was able to move forward. Now it throws different error..
[11:22] <Vish> image2 @ 0x7fa5e380a600] Could not get frame filename number 2 from pattern 'mjpeg' (either set updatefirst or use a pattern like %03d within the filename pattern) av_interleaved_write_frame(): Invalid argument frame= 2 fps=0.0 q=1.6 Lq=1.6 size=N/A time=00:00:00.08 bitrate=N/A video:11kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed!
[11:23] <saste> Vish, you can't use image2 with a pipe
[11:24] <Vish> saste - ./getJpgStream | ffmpeg -f image2 mjpeg -i - http://localhost:9090/feed1.ffm -> here getJpgStream gives me mjpeg format how should I pipe it to ffmpeg?
[11:25] <saste> Vish, did you try with image2pipe??
[11:25] <Vish> let me try that
[11:28] <Vish> saste - Great help! yes now I am able to receive it.. But when I open in browser as http://localhost:9090/feed1.ffm -> I get error that feed is already being received?
[11:39] <Vish> saste - sorry my bad I had to call the stream - http://localhost:9090/test1.mpg - chrome opened quicktime but still cant see the video.. let me try some thing else..
[13:08] <Ol1> Hi - Does anyone know if it's possible to set a mov_text subtitle to forced?
[15:18] <K4T> ffserver sometimes not creating VIDEO stream, onlu audio - why?
[15:18] <K4T> is this known bug?
[15:18] <hendry> when i try playback videos i've convert to mp4 from my iphone they are upside down. is it mplayers fault for not auto-rotating them or ffmpeg? https://trac.ffmpeg.org/ticket/515
[15:20] <mistawright> hi guys I need some help. I have been trying to figure out how to make transitions happen between each image in a slideshow that was created with ffmpeg. currently. I have 12 images displayed for 5 seconds a piece. Am I able to use a kenburns transition and a fade in/out with a slideshow created from images?
[15:20] <mistawright> I have not been able to figure it out
[15:20] <spaam> easy fix: rotate the screen while watching the video :D
[15:21] <klaxa|work> i don't think ffmpeg has transition video filters
[15:21] <klaxa|work> is there metadata for video rotation? like exiv data for images?
[15:22] <K4T> nope
[15:22] <klaxa|work> if not use the proper rotate video filter while encoding
[15:22] <spaam> klaxa|work: in the .mp4 container i think there is some metadata for it
[15:23] <klaxa|work> oh yes, see: http://stackoverflow.com/questions/9408542/video-captured-from-iphone-gets-rotated-when-converted-to-mp4-using-ffmpeg/9409094#9409094
[15:23] <spaam> and yes there is some metadata for it
[15:24] <klaxa|work> apparently apple specific
[15:25] <klaxa|work> people should stop recording vertical videos in the first place
[15:26] <spaam> klaxa|work: yes. but they got this VVS thing. Vertical Video Syndrome. https://www.youtube.com/watch?v=Bt9zSfinwFA
[15:34] <mistawright> how would you guys suggest I get the transitions working?
[15:35] <mistawright> how would i go about using the blend option between image
[15:37] <klaxa|work> oh that actually looks like what you want, maybe just try out the examples from the documentation and change the parameters until you like it?
[15:37] <klaxa|work> http://ffmpeg.org/ffmpeg-filters.html#Examples-39
[15:40] <mistawright> klaxa|work, I am extremely new to ffmpeg and barely getting chaining etc. so I am not sure how I would have this effect apply to my initial input of images that it makes the video from
[15:41] <klaxa|work> maybe try using two pictures first, like this:
[15:42] <klaxa|work> ffmpeg -i img_0.jpg -i img_1.jpg -filter_complex "[0][1] blend=all_expr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))'" out.mkv
[15:42] <klaxa|work> but that still lacks some framerate filtering, not sure how to apply that
[15:43] <Maverick|MSG> if I have a wav that has incorrect header information (like missing data size) is there a way to make ffmpeg repair/ignore this and continue processing the file?
[15:44] <klaxa|work> maybe like this: ffmpeg -r 1/5 -i img_0.jpg -i img_1.jpg -filter_complex "[0] fps=30 [0_edit];[1] fps=30 [1_edit];[0_edit][1_edit] blend=all_expr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))'" out.mkv
[15:44] <klaxa|work> i'm not sure if that works even
[15:48] <mistawright> hmm. i'll play around with it
[15:51] <mistawright> klaxa|work, http://pastebin.com/fJW9DNHt that is the command i am using. I am unclear of how would I reference my first input which is the series of images.
[16:02] <klaxa|work> well what's the ffmpeg output?
[16:03] <klaxa|work> cc: mistawright
[16:11] <mistawright> klaxa|work, http://pastebin.com/7vSzT4vN here is the initial output to create the slideshow with overlays
[16:11] <Maverick|MSG> to answer my own question: is there a way to make ffmpeg repair/ignore this and continue processing the file?
[16:11] <Maverick|MSG> you use the -f setting
[16:11] <Maverick|MSG> in my case: -f s16le
[16:11] <Maverick|MSG> hopefully that helps someone
[16:14] <klaxa|work> ah now i see, you haven't used the blend thing yet. i'm not sure you can do that by referring to the images as one video stream, as the blend filter needs two video streams
[16:14] <klaxa|work> you will probably need to use every image as a single input video, you might want to write a script to build a command line for that
[16:18] <mistawright> to affect the images for the slideshow would i refer to the [0:v] label to use with the blend option
[16:20] <klaxa|work> like i said, that will not work, blend needs two inputs to generate one output
[16:22] <mistawright> what would be my alternative then. i was hoping to use a crossfade between each image
[16:23] <klaxa|work> (16:14:57) klaxa|work: you will probably need to use every image as a single input video, you might want to write a script to build a command line for that
[16:31] <mistawright> yeah probably gonna have to use imagemagick to create the basic slideshow with fades etc and then use ffmpeg for overlays and text and final output
[16:32] <darsie> hi
[16:32] <darsie> How do I list the streams in a file with avconv?
[16:33] <darsie> or possibly other tools
[16:33] <darsie> I want to know what there is so I can specify it and decide what to do with it.
[16:35] <klaxa|work> try #libav
[16:35] <klaxa|work> or get ffmpeg. ffprobe can list information about mediafiles
[16:36] <darsie> thx
[17:05] <Diogo> <Diogo> hi i have a mpegts file and i want to cut a specific chunk for hls...
[17:05] <Diogo> 16:05:43 <Diogo> how can i cut this chunk ?
[20:04] <mistawright> I havent found a way yet and have been searching for about a week. I need to assemble images into a slideshow and also have transitions, fade in fade out, between the images. How can I go about this?
[20:04] <mistawright> i have tried blending unsuccessfully
[20:20] <xavery> the 5 files on my DVD contain 3 titles. I want to rip only the first title, which takes up whole VTS_01_[1-3].VOB, and a part of VTS_01_4.VOB. how can I limit ffmpeg to process only the first title?
[20:34] <llogan> Diogo: -ss and -t or -to
[20:35] <llogan> xavery: you can try to use concat demuxer in combination with -ss and -t or -to
[20:37] <xavery> llogan, thanks, I'll do that.
[20:38] <llogan> mistawright: as klaxa mentioned you will probably have to treat each image as an individual input instead of a sequence or pre-process the images with [image|graphics]magick or similar
[20:39] <llogan> or maybe you can do something with sendcmd filter, but i haven't really even looked at that (I should)
[20:39] <llogan> xavery: http://ffmpeg.org/ffmpeg-formats.html#concat
[20:39] <llogan> https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files#demuxer
[20:40] <xavery> llogan, thanks. I guess that's the best solution, especially when I use lsdvd for obtaining information about the title's length.
[20:40] <llogan> also https://trac.ffmpeg.org/wiki/Seeking%20with%20FFmpeg
[20:45] <Diogo> llogan: width -ss and -t or to the accurate of seek is not very good..
[20:45] <Diogo> to generate a specific ts file for hls ...
[20:45] <Diogo> playlist
[21:47] <vlatkozelka> hi .. is it possible to stream multiple files onto one stream ?
[22:06] <llogan> vlatkozelka: what do you mean exactly?
[22:08] <vlatkozelka> lets say i have 2 .mp4 files , i need to creat a stream with 2 programs , one for each file
[22:08] <vlatkozelka> soory for delayed reply , i was reading some docs
[22:09] <llogan> you can place multiple streams into a file, but maybe i don't correctly understand what you want
[22:09] <vlatkozelka> something like
[22:10] <vlatkozelka> ffmpeg -i input1 -i input2 ... onto one stream so Program 1 would play input1 and Program 2 would play input2
[22:11] <tm512> it seems like the x11grab lag can be fixed by switching to the new glamor acceleration method
[22:11] Action: tm512 shrugs
[22:14] <xavery> vlatkozelka, seems like what you want is -map. have a look : http://ffmpeg.org/ffmpeg.html#toc-Advanced-options
[22:14] <vlatkozelka> yeah i read it and tried stuff
[22:14] <xavery> keep in mind that your output format must support multiple "programs" inside one file.
[22:14] <vlatkozelka> -f mpegts
[22:14] <vlatkozelka> on udp
[22:14] <vlatkozelka> yeah
[22:14] <vlatkozelka> but
[22:15] <vlatkozelka> i know how to use -map to extract a program from an already made stream ... not the opposite :/
[22:18] <xavery> vlatkozelka, google seems to suggest that it isn't supported. refs : http://ffmpeg.org/pipermail/ffmpeg-user/2012-April/005943.html , http://forum.videohelp.com/threads/360536-How-do-I-use-FFMPEG-to-output-an-MPEG-TS-file-with-multiple-programs
[22:19] <vlatkozelka> ah
[22:19] <vlatkozelka> so it only works the opposite way it seems
[22:19] <vlatkozelka> i think the other way around is hardware
[22:20] <xavery> I'm pretty certain that you could do it in software. after all, there exists software that does just that. it's just something that's not supported by ffmpeg.
[22:20] <vlatkozelka> i know how to code it myself in JAVA
[22:20] <xavery> *cough*
[22:21] <vlatkozelka> but that'l take a month of coding :/
[22:21] <vlatkozelka> meh... i suppose i should get to work lol
[22:22] <xavery> vlatkozelka, you could use mpegtsmux from the GStreamer project in order to get multi-program Transport Streams. however, it will require you to write a custom application around the element anyway, since it requires passing a pointer to a GstStructure as a property in order to obtain stream->program mappings.
[22:22] <vlatkozelka> yea
[22:22] <vlatkozelka> i have some other API like that called Xuggler
[22:23] <vlatkozelka> ill have to create a container and write metadata to it then add streams
[22:23] <xavery> use whatever you're comfortable with.
[22:23] <vlatkozelka> but thats like re-inventing the wheel , i hope ffmpeg would save me like it saved me on my last project
[22:24] <vlatkozelka> anyways
[22:24] <vlatkozelka> thanks for ur help :)
[22:24] <xavery> vlatkozelka, you're always welcome to write multi-program TS muxing yourself.
[22:25] <vlatkozelka> not from scratch lol
[00:00] --- Thu Aug 28 2014
More information about the Ffmpeg-devel-irc
mailing list