Re: [FFmpeg-user] For HLS, playlist.m3u8 file skips last segment entry
-- On Tue 30 Sep, 2014 10:22 PM IST ajay parashar wrote: > > > > > >-- >On Tue 30 Sep, 2014 6:59 PM IST Claudiu Rad wrote: > >> >>On 9/30/2014 4:11 PM, ajay parashar wrote: >>> #EXTM3U >>> #EXT-X-VERSION:3 >>> #EXT-X-MEDIA-SEQUENCE:0 >>> #EXT-X-ALLOW-CACHE:YES >>> #EXT-X-TARGETDURATION:17 >>> #EXTINF:15.015000, >>> out000.ts >>> #EXTINF:8.341667, >>> out001.ts >>> #EXTINF:8.341667, >>> out002.ts >>> #EXTINF:8.341667, >>> out003.ts >>> #EXTINF:16.68, >>> out004.ts Please let me know why it is not adding last segment in its list? Ajay ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Dual Xeon VS Haswell-E, maximize fps
It is definitely something to think of/consider. Thanks for the input. On Mon, Sep 29, 2014 at 2:14 PM, Henk D. Schoneveld wrote: > Size of 1 system 8 * 8.5 * 2.25 inches, so they are very small just a > little bigger then an Apple Mini. > So 8 of them doen’t take that much space, you can stack them. > > On 29 Sep 2014, at 18:37, Ryan M wrote: > > > Yeah really the actual space/room is the issue there, not sure where i'd > > put that. > > With PPSS, it looks like it distributes the encoding of different files > > over the available resources, it wouldn't spread a single encoding job > over > > them correct? > Yes that’s correct. If 1 resource becomes free, job done, it takes the > next file to be done. > > I do need a way to automate ffmpeg instances so more jobs > > can run at the same time. > You can run as many jobs as you do have CPU cores, with 8 systems being > DualCore, 16 jobs at once. > > My jobs aren't just a bunch of files sitting in > > a directory, it is querying a db for files that need to be encoded in > > various ways. > You could run multiple instances of PPSS, with different encoding > parameters. You could query your DB for files with ffmpeg parameters X, > make symlinks to Directory X > and > another query for files with parameters Y and make symlinks to directory Y > One PPSS instance runs the X and another instance runs the Y symlinks > directory. > > > > > > On Mon, Sep 29, 2014 at 11:15 AM, Henk D. Schoneveld > > > wrote: > > > >> Why wouldn’t it be realistic ? > >> Have a look at https://code.google.com/p/ppss/ to distribute jobs over > >> the amount of systems you have and works like a charm. > >> On 29 Sep 2014, at 17:05, Ryan M wrote: > >> > >>> I don't know that it is realistic to have 8 systems running though. > If I > >>> can pay more and have the approx same amount of throughput with one > >> system, > >>> that would be better. > >> In what way would it be better, less room, yes but that’s very expensive > >> room you pay for in my opinion. > >>> I just don't want to pay like $4k more (for the > >>> Xeon vs Haswell-EP) and only get a few more fps out of it. If stepping > >> up > >>> to Xeon allows ~40fps like Sean said then it is probably worth it. > >> Thank > >>> you very much for the input. > >>> > >>> On Sun, Sep 28, 2014 at 7:23 AM, Henk D. Schoneveld < > belca...@zonnet.nl> > >>> wrote: > >>> > > On 28 Sep 2014, at 13:13, Henk D. Schoneveld > >> wrote: > > > > > On 26 Sep 2014, at 18:36, Ryan M wrote: > > > >> I am putting together hardware to encode a large and ever growing > catalog > >> of video using ffmpeg/x264. Much of the source video is 1080p > >> ProResHQ. > >> Currently I have a box with a Haswell 4770k CPU which gets around > >> 12-15 > >> fps, I am of course looking to increase that as much as possible. > > Have a look at > > >> > http://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-5960X+%40+3.00GHz&id=2332 > > and compare with > > > > >> > http://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-4770K+%40+3.50GHz&id=1919 > > or in 1 view > > http://www.cpubenchmark.net/compare.php?cmp[]=1919&cmp[]=2364 > > 7 times the price for less then 2 times the performance. > > Spreading the task over more much cheaper CPU’s gives you more bang > for > the buck if realtime encoding isn’t needed. > > You could use 8 Dual Celeron systems to get the same performance as 1 > E5-2690 where CPU cost would be 8x52.45 vs. 1x2299.99 Of course > motherboards etc are needed and housing but a low cost MB and Housing > >> can > be bought at < 100.00 a piece. 8*(100+52.45) ~ 1220.00 > > Saved more then $1.000 And the Xeon still needs a motherboard and > case > of course. > The CPU Mark and single thread performance are good indicators for > relative ffmpeg encoding speeds. I do have i5 i7 and the named > Celerons > which I compared extensively with the same source files and encoding > parameters. > Disk I/O isn’t any problem, think of it, 5 times BluRay bitrates > results > in 90Kb/s < 12MB/s. Every modern disk has no problem with that and > even > old-fashioned nics, 100Mb/s can cope with that. > >> > >> Trying to determine if getting the latest dual CPU Xeon (such as > >> E5-2690 > >> v3) setup is going to be worth the significant additional cost over > >> the > >> best Haswell-E (Core i7-5960X). > >> > >> I've read lots of articles/posts and it is not clear to me. I know > worth > >> is subjective but looking to know if there'll be significant > increase > >> in > >> fps using 2 Xeons. I need to justify the $6-7k price tag. > >> > >> Any insight/experience would be appreciated. > >> > >> thanks > >> Ryan > >> ___ > >> ffmpeg-user mailing list > >> ffmpeg-user@ffmpeg.org > >> http://ffmpeg.org/mailma
[FFmpeg-user] webm vp9 options
Greetings, I've just started using ffmpeg - there are a lot of options. :) I've read through a few of the encoding guides and have an initial command line invocation that I'd like commentary on. From: http://www.webmproject.org/docs/encoder-parameters/#10-sample-command-lines there is a recommendation for "best" quality. I've based the following on it: ffmpeg \ -i INPUT.vob \ -pass 1 \ -passlogfile t \ -b:v 2M \ -auto-alt-ref 1 \ -quality best\ -minrate 100K\ -maxrate 16M \ -lag-in-frames 16\ -keyint_min 0\ -g 360 \ -skip_threshold 0\ -qmin 0 \ -qmax 60 \ -vcodec libvpx-vp9 \ -strict experimental \ -f webm \ -- - > /dev/null ffmpeg \ -i INPUT.vob \ -pass 2 \ -passlogfile t \ -b:v 2M \ -auto-alt-ref 1 \ -quality best\ -minrate 100K\ -maxrate 16M \ -lag-in-frames 16\ -keyint_min 0\ -g 360 \ -skip_threshold 0\ -qmin 0 \ -qmax 60 \ -vcodec libvpx-vp9 \ -strict experimental \ -acodec libvorbis\ -b:a 96k \ OUTPUT.webm I'm looking for very good (or best) encoding. Encoding time isn't a huge factor for me - at least right now. Am I missing anything in the above? Thanks for any hints! -m ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Attempting to make a preservation copy of a Nokia Cellphone video (frame rate)
Dave Rice dericed.com> writes: > > ffmpeg -i "C:\\Digital Weekend Videos\\helen\\testing\\nokia1.MOV" > > -threads 0 -acodec pcm_s16le -vcodec ffv1 -level 3 -coder 1 > > -context 1 -g 1 -slices 24 -slicecrc 1 -vsync 0 -report > > "C:\\Digital Weekend Videos\\helen\\testing\\nokia1_FFV1.MOV" > > Have you tried putting -vsync 0 before the input? Wouldn't this completely discard the goal of producing a "preservation copy"? Or do I simply misunderstand the term? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
gmx.ca> writes: > So am I doing something wrong that is causing the > "Segmentation fault", or is that a bug in the program? When ffmpeg (the application) crashes with a segmentation fault it is always the fault of the program and never the fault of the user. Additionally, all segmentation faults are important issues that we (really!) would like to know about. To let us know, please test current FFmpeg (that you can find on the download page), provide the command line that allows to reproduce the segmentation fault together with the complete, uncut console output and ideally the sample needed to reproduce the crash. The mentioned rules (gdb backtrace etc.) are valid on the bug tracher (you must only report a bug there if you want to provide all necessary information), it is not true for this mailing list. Please understand (in case this isn't obvious) that such reports are basically the only thing we (the developers) request from users like you and it is also the only thing - together with samples - you (the users) can easily provide. Thank you, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Modern ffmpeg/libvpx generates incorrect PTS for vp9 when decode
Sagara Wijetunga ffmpeg.org> writes: > I noted modern ffmpeg/libvpx generates incorrect > PTS for vp9 when decode. What about FFmpeg without any external libraries? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Using ffprobe or ffmpeg to view atom metadata
I was able to get exiftool to work. The format of the atom data isn't exactly user friendly but I am to get the info I need. Thanks for the help. -Original Message- From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Steve Smith Sent: Tuesday, September 30, 2014 10:45 AM To: 'FFmpeg user questions' Subject: Re: [FFmpeg-user] Using ffprobe or ffmpeg to view atom metadata Thanks for the suggestions. Unfortunately mediainfo doesn't seem to return the atom metadata, and exiftool is throwing Perl errors. Goto undefined subroutine &DynaLoader::bootstrap_inherit at C:/Perl/lib/XSLoader.pm line 96. Compilation failed in require at C:/Perl/lib/IO/Handle.pm line 260. BEGIN failed--compilation aborted at C:/Perl/lib/IO/Handle.pm line 260. Compilation failed in require at C:/Perl/lib/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at C:/Perl/lib/IO/Seekable.pm line 101. Compilation failed in require at C:/Perl/lib/IO/File.pm line 133. BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line 133. Compilation failed in require at -e line 313. Realize this is getting off topic, but I'm kind of desparate for a way to get at the atom metadata for these large mp4 files. There's no way to access that info using ffmpeg or ffprobe? -Original Message- From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Dave Rice Sent: Monday, September 29, 2014 6:32 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Using ffprobe or ffmpeg to view atom metadata On Sep 29, 2014, at 2:08 PM, Steve Smith wrote: > For a little more detail, it looks like the issue with AtomicParsley > is the size of the file. It crashes on larger files. I've found some > other versions of AtomicParsley that don't crash on the large files, > but they are truncating the atom metadata by removing the first 4 > characters when I output it. If anyone has any suggestions, I could > really use some help with this. This is a non-ffmpeg answer, but you could try: exiftool -v4 YOURFILE.mov or mediainfo --inform='Details;1' YOURFILE.mov Dave Rice ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, 30 Sep 2014 10:11:34 -0800, l...@lrcd.com wrote: > In pan: > "If the ‘=’ in a channel specification is replaced by ‘<’, then the > gains for that specification will be renormalized so that the total > is 1, thus avoiding clipping noise." > http://ffmpeg.org/ffmpeg-filters.html#pan > Which is something you may or may not want, but I thought it was worth > mentioning. Thanks, Lou. As long as I do straight 1:1 channel mapping, and don't try to combine two channels into one, I don't seem to experience the audio clipping and distortion. And from my (admittedly limited) testing it appears that 1:1 mapping is the correct thing to do. But that is good to know, and I will keep it in mind in case I encounter any other unusual situations such as this. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Modern ffmpeg/libvpx generates incorrect PTS for vp9 when decode
Hi ffmpeg I noted modern ffmpeg/libvpx generates incorrect PTS for vp9 when decode. 1. Lavf55.19.104 + libvpx-1.3.0 (Generate correct PTS values @ decode) 2. Lavf55.33.100 + libvpx-1.3.0 (Generate correct PTS values @ decode) 3. Lavc55.69.100 + libvpx-git (Generate Incorrect PTS values @ decode) 4. Lavc56.1.100 + libvpx-git (Generate Incorrect PTS values @ decode) PTS = 0.000 (Correct) PTS = 0.001 (wrong) PTS = 0.013 (wrong) PTS = 0.019 (wrong) PTS = 0.024 (wrong) PTS = 0.030 (wrong) PTS = 0.036 (wrong) : : PTS = 0.042 (Correct) This is a vp9 video file with 23.98 tbr. I use avcodec_decode_video2(). The (AVFrame->pkt_pts * video-stream-TimeBase (ie. tbn)) is used for PTS. Best regards Sagara ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, 30 Sep 2014 18:35:53 +0200 skyscan...@gmx.ca wrote: > On Tue, 30 Sep 2014 16:13:20 +0200, barsn...@gmx.net wrote: > > > See my other response from a few minutes ago: > > Something like > > pan=5.1:FL=c0+c4:FR=c1+c5:BL=c4:BR=c5:FC=c7 > > or whatever you think is correct. You may have to throw in some factors > > such as "0.5*". :-) > > Following up on that, this seems to be the answer: > > ffmpeg -i "original program.ts" -c:v copy -filter_complex > '[0:1][0:2][0:3][0:4]amerge=inputs=4,pan=5.1:FL=c0:FR=c1:FC=c2:BL=c4:BR=c5:LFE=c3' > -c:a mp2 test.ts In pan: "If the ‘=’ in a channel specification is replaced by ‘<’, then the gains for that specification will be renormalized so that the total is 1, thus avoiding clipping noise." http://ffmpeg.org/ffmpeg-filters.html#pan Which is something you may or may not want, but I thought it was worth mentioning. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] For HLS, playlist.m3u8 file skips last segment entry
-- On Tue 30 Sep, 2014 6:59 PM IST Claudiu Rad wrote: > >On 9/30/2014 4:11 PM, ajay parashar wrote: >>> #EXTM3U >>> #EXT-X-VERSION:3 >>> #EXT-X-MEDIA-SEQUENCE:0 >>> #EXT-X-ALLOW-CACHE:YES >>> #EXT-X-TARGETDURATION:17 >>> #EXTINF:15.015000, >>> out000.ts >>> #EXTINF:8.341667, >>> out001.ts >>> #EXTINF:8.341667, >>> out002.ts >>> #EXTINF:8.341667, >>> out003.ts >>> #EXTINF:16.68, >>> out004.ts >>> >>> >> You should add "#EXT-X-ENDLIST" for a VOD hls. >> *** >> Should I add ENDLIST tag manually or ffmpeg should do this for user while >> generating playlist.m3u8 file. >> > >Actually, "#EXT-X-ENDLIST" is not added because you have specified >"-segment_list_flags +live" in your ffmpeg command. >If you want to generate a live HLS stream, use +live flag and the tag will not >be added (like in your example), if you want to generate a VOD stream, remove >the flag and the tag will be added. > >However this won't fix the issue you are reporting that "out005.ts" isn't >added to the playlist and I can't help you with that, sorry. >Just wondering: are you sure that out005.ts contains useful data? > >-- Claudiu *** Yes, out005.ts contains useful data. Ajay __ >ffmpeg-user mailing list >ffmpeg-user@ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, 30 Sep 2014 16:13:20 +0200, barsn...@gmx.net wrote: > See my other response from a few minutes ago: > Something like > pan=5.1:FL=c0+c4:FR=c1+c5:BL=c4:BR=c5:FC=c7 > or whatever you think is correct. You may have to throw in some factors > such as "0.5*". :-) Following up on that, this seems to be the answer: ffmpeg -i "original program.ts" -c:v copy -filter_complex '[0:1][0:2][0:3][0:4]amerge=inputs=4,pan=5.1:FL=c0:FR=c1:FC=c2:BL=c4:BR=c5:LFE=c3' -c:a mp2 test.ts I figured out that the right channel of track 2 appears to be the low frequency audio. This actually doesn't map anything from stream 4 but it winds up sounding like true 5.1 and more importantly there is no audio distortion! > That's likely either a bug in ffmpeg or one of the libraries. There are > instructions around to report that correctly. You will need to rebuild > latest ffmpeg from git, as this is too old (the issue may have been > resolved): That's WAY beyond my ability, especially in OS X. And I think your way is better! Thank you, it might have taken me months to figure this out without your help! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Using ffprobe or ffmpeg to view atom metadata
Thanks for the suggestions. Unfortunately mediainfo doesn't seem to return the atom metadata, and exiftool is throwing Perl errors. Goto undefined subroutine &DynaLoader::bootstrap_inherit at C:/Perl/lib/XSLoader.pm line 96. Compilation failed in require at C:/Perl/lib/IO/Handle.pm line 260. BEGIN failed--compilation aborted at C:/Perl/lib/IO/Handle.pm line 260. Compilation failed in require at C:/Perl/lib/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at C:/Perl/lib/IO/Seekable.pm line 101. Compilation failed in require at C:/Perl/lib/IO/File.pm line 133. BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line 133. Compilation failed in require at -e line 313. Realize this is getting off topic, but I'm kind of desparate for a way to get at the atom metadata for these large mp4 files. There's no way to access that info using ffmpeg or ffprobe? -Original Message- From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Dave Rice Sent: Monday, September 29, 2014 6:32 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Using ffprobe or ffmpeg to view atom metadata On Sep 29, 2014, at 2:08 PM, Steve Smith wrote: > For a little more detail, it looks like the issue with AtomicParsley > is the size of the file. It crashes on larger files. I've found some > other versions of AtomicParsley that don't crash on the large files, > but they are truncating the atom metadata by removing the first 4 > characters when I output it. If anyone has any suggestions, I could > really use some help with this. This is a non-ffmpeg answer, but you could try: exiftool -v4 YOURFILE.mov or mediainfo --inform='Details;1' YOURFILE.mov Dave Rice ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] vp9 generates frames with strange PTS
Ok, the problem understood. Latest ffmpeg (2.4.1) decodes vp9 video files without any issue which were encoded with old libvpx-1.3.0. Latest ffmpeg (2.4.1) having problems with PTS values for vp9 video files which were encoded with latest libvpx-git. RegardsSagara On Monday, September 29, 2014 5:38 PM, Sagara Wijetunga wrote: Further to the issue I highlighted. 1. Same player for vp8 generates only I and P frames with correct PTS values. 2. For vp9, the same player also generates I and P frames. But there are lot of wrong P frames generated in between correct P frames. Eg.PTS = 0.000 (Correct) PTS = 0.001 (wrong) PTS = 0.013 (wrong) PTS = 0.019 (wrong) PTS = 0.024 (wrong) PTS = 0.030 (wrong) PTS = 0.036 (wrong) : : PTS = 0.042 (Correct) This is a file with 23.98 tbr. I use avcodec_decode_video2(); The (AVFrame->pkt_pts * video-stream-TimeBase (ie. tbn)) is used for PTS. RegardsSagara On Sunday, September 28, 2014 12:56 AM, Sagara Wijetunga wrote: Hi I use the latest ffmpeg (2.4.1) libs and the ffvp9 decoder. I get decoded frames with strange PTS values as follows: PTS: 0.000PTS: 0.001PTS: 0.083PTS: 0.125PTS: 0.167PTS: 0.209PTS: 0.250PTS: 0.036PTS: 0.078PTS: 0.119PTS: 0.161PTS: 0.203PTS: 0.245PTS: 0.030PTS: 0.072PTS: 0.114PTS: 0.155PTS: 0.197PTS: 0.239PTS: 0.024PTS: 0.066PTS: 0.108PTS: 0.150PTS: 0.191PTS: 0.233PTS: 0.019PTS: 0.020PTS: 0.102PTS: 0.144PTS: 0.186PTS: 0.227PTS: 0.013PTS: 0.055PTS: 0.096PTS: 0.138PTS: 0.180PTS: 0.222PTS: 0.223PTS: 0.049PTS: 0.091PTS: 0.132PTS: 0.174PTS: 0.216PTS: 0.001PTS: 0.043PTS: 0.085PTS: 0.127PTS: 0.168PTS: 0.210PTS: 0.252PTS: 0.037 Note values are in seconds. Note, I get frames with PTS 0.001 and 0.002. That is only a one millisecond apart! Same video in vp8 using ffvp8 generates frames with PTS values as follows: PTS: 0.000PTS: 0.042PTS: 0.083PTS: 0.125PTS: 0.167PTS: 0.209PTS: 0.250PTS: 0.292PTS: 0.334PTS: 0.375PTS: 0.417PTS: 0.459PTS: 0.501PTS: 0.542PTS: 0.584PTS: 0.626PTS: 0.667PTS: 0.709PTS: 0.751PTS: 0.792PTS: 0.834PTS: 0.876PTS: 0.918PTS: 0.959PTS: 1.001PTS: 1.043PTS: 1.084PTS: 1.126PTS: 1.168PTS: 1.210PTS: 1.251PTS: 1.293PTS: 1.335PTS: 1.376PTS: 1.418PTS: 1.460PTS: 1.502PTS: 1.543PTS: 1.585PTS: 1.627PTS: 1.668PTS: 1.710PTS: 1.752PTS: 1.793PTS: 1.835PTS: 1.877PTS: 1.919PTS: 1.960PTS: 2.002PTS: 2.044PTS: 2.085 The same vp9 video plays very well in ffplay. It looks like something required to be set in my player. Any ideas? Thanks in advance. Best regardsSagara ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Creating HLS manifest
Hi We are migrating from Wowza to ffmpeg and need a bit of help with the correct process to create a manifest for HLS. Within Wowza, the system automatically creates the HLS manifests. I have read Fabio Sonnati's article "Video Encoding and Streaming Technologies", and have found most of the information I need such as key alignment, CBR, etc. but I can't find any information on creating a manifest. Can someone point me to where I can find information on creation of Manifest, or advise how to do so? Best regards ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, Sep 30, 2014 at 15:48:17 +0200, skyscan...@gmx.ca wrote: > That merges the four audio streams into a single stream. This > doesn't give me 5.1 but I don't see any way to selectively pluck > channels from streams and map them to 5.1 output (not saying it isn't > possible, just that I can't figure out how to do it). See my other response from a few minutes ago: Something like pan=5.1:FL=c0+c4:FR=c1+c5:BL=c4:BR=c5:FC=c7 or whatever you think is correct. You may have to throw in some factors such as "0.5*". :-) > So am I doing something wrong that is causing the "Segmentation > fault", or is that a bug in the program? That's likely either a bug in ffmpeg or one of the libraries. There are instructions around to report that correctly. You will need to rebuild latest ffmpeg from git, as this is too old (the issue may have been resolved): > ffmpeg version 2.2.2-tessus > built on May 7 2014 23:17:42 with clang version 3.3 (tags/RELEASE_33/final) Then run ffmpeg_g (the binary with debug symbols) and create a backtrace in gdb. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, Sep 30, 2014 at 14:49:58 +0200, skyscan...@gmx.ca wrote: > But also, all of the examples on that page are for a single stream. > Every single example only mentions "stream 0" - there is no reference > anywhere to a "stream 1", "stream 2", etc. That is why I am beginning > to wonder if ffmpeg even has the capability to merge streams. I have I think something like this works. I have created an input file with four distinct stereo streams (with different sine wave frequencies on left and right :-)), and merge those channels into a stereo signal as you described, omitting "stream 2 right" and "stream 4 left". Note that my stream "-map" offsets are different because I provided no video on [0:0]. ffmpeg -i multistream.ts -filter_complex '[0:0][0:1][0:2][0:3]amerge=inputs=4,pan=stereo:FL=c0+c2+c4:FR=c1+c5+c7' -c:a mp2 onestreamstereo.ts It's really hard to test whether this does the right thing, but it might be somewhere along these lines. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
After looking at the page at http://ffmpeg.org/ffmpeg-filters.html#amerge I finally figured out how to get the end result I want, in stereo only, but I have to do it in two passes: ffmpeg -i "original program.ts" -c:v copy -map 0:0 -map 0:1 -map_channel 0.1.0 -map_channel 0.1.1 -map 0:2 -map_channel 0.2.0 -map_channel 0.2.1 -map 0:3 -map_channel 0.3.0 -map_channel 0.3.1 -map 0:4 -map_channel -1 -map_channel 0.4.1 -c:a mp2 test.ts That removes the right audio channel from stream 4 that I do not want. ffmpeg -i "test.ts" -c:v copy -filter_complex "[0:1][0:2][0:3][0:4] amerge=inputs=4" -c:a mp2 test2.ts That merges the four audio streams into a single stream. This doesn't give me 5.1 but I don't see any way to selectively pluck channels from streams and map them to 5.1 output (not saying it isn't possible, just that I can't figure out how to do it). Now, logically, you would think I could do this: ffmpeg -i "original program.ts" -c:v copy -map 0:0 -map 0:1 -map_channel 0.1.0 -map_channel 0.1.1 -map 0:2 -map_channel 0.2.0 -map_channel 0.2.1 -map 0:3 -map_channel 0.3.0 -map_channel 0.3.1 -map 0:4 -map_channel -1 -map_channel 0.4.1 -c:a mp2 -filter_complex "[0:1][0:2][0:3][0:4] amerge=inputs=4" test.ts But if I try that, the program crashes with "Segmentation fault: 11" - and just in case anyone is wondering, when I run ffmpeg -version it returns this: ffmpeg version 2.2.2-tessus built on May 7 2014 23:17:42 with clang version 3.3 (tags/RELEASE_33/final) configuration: --cc=/opt/local/bin/clang-mp-3.3 --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect libavutil 52. 66.100 / 52. 66.100 libavcodec 55. 52.102 / 55. 52.102 libavformat55. 33.100 / 55. 33.100 libavdevice55. 10.100 / 55. 10.100 libavfilter 4. 2.100 / 4. 2.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc52. 3.100 / 52. 3.100 In case it's not apparent, for these tests ffmpeg is running under OS X. So am I doing something wrong that is causing the "Segmentation fault", or is that a bug in the program? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] For HLS, playlist.m3u8 file skips last segment entry
On 9/30/2014 4:11 PM, ajay parashar wrote: #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:17 #EXTINF:15.015000, out000.ts #EXTINF:8.341667, out001.ts #EXTINF:8.341667, out002.ts #EXTINF:8.341667, out003.ts #EXTINF:16.68, out004.ts You should add "#EXT-X-ENDLIST" for a VOD hls. *** Should I add ENDLIST tag manually or ffmpeg should do this for user while generating playlist.m3u8 file. Actually, "#EXT-X-ENDLIST" is not added because you have specified "-segment_list_flags +live" in your ffmpeg command. If you want to generate a live HLS stream, use +live flag and the tag will not be added (like in your example), if you want to generate a VOD stream, remove the flag and the tag will be added. However this won't fix the issue you are reporting that "out005.ts" isn't added to the playlist and I can't help you with that, sorry. Just wondering: are you sure that out005.ts contains useful data? -- Claudiu ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] For HLS, playlist.m3u8 file skips last segment entry
-- On Tue 30 Sep, 2014 5:53 PM IST Geek.Song wrote: >2014年9月30日 下午1:15于 "ajay parashar" >写道: >> >> Hi, >> >> I am creating HLS segments and playlist file by using below command. >> it creates total 6 segment files (out000.ts to out005.ts) but playlist >contain entry only for first 4 , it always skips out0005.ts >> I do not know why it does not deal with last segment file ? >> >> here is my playlist.m3u8 file contents >> >> >== >> #EXTM3U >> #EXT-X-VERSION:3 >> #EXT-X-MEDIA-SEQUENCE:0 >> #EXT-X-ALLOW-CACHE:YES >> #EXT-X-TARGETDURATION:17 >> #EXTINF:15.015000, >> out000.ts >> #EXTINF:8.341667, >> out001.ts >> #EXTINF:8.341667, >> out002.ts >> #EXTINF:8.341667, >> out003.ts >> #EXTINF:16.68, >> out004.ts >> >> > >You should add "#EXT-X-ENDLIST" for a VOD hls. *** Should I add ENDLIST tag manually or ffmpeg should do this for user while generating playlist.m3u8 file. >ffmpeg-user mailing list >ffmpeg-user@ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
ffmpeg -i SOURCE.mov -i LOGO.png -c:v libx264 -subq 7 -qcomp 0.6 -qmin 10 -qmax 50 -qdiff 4 -bf 16 -coder 1 -refs 6 -x264opts b-pyramid:weightb:mixed-refs:8x8dct:no-fast-pskip=0:nal-hrd=cbr -vprofile high -force_key_frames expr:'gte(t,n_forced*2)' -pix_fmt yuv420p -b:v 550k -s 640x360 -r 29.97 -g 60 -filter_complex '[0:v][1:v]overlay=main_w-overlay_w-100:10' -c:a libfdk_aac -b:a 64k -ar 44100 -ac 2 -filter_complex '[0:1][0:2]amix=inputs=2[aflt];[aflt]aresample=async=1:min_hard_comp=0.10:first_pts=0' -map_chapters -1 -map_metadata -1 -f mp4 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -trellis 1 -refs 1 -me_range 16 -keyint_min 20 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 600k -bufsize 1200k -rc_eq 'blurCplx^(1-qComp)' -level 30 -vsync 1 OUTPUT.mp4 Sample 'real-life' command line with 'filter_complex' for mixing audio streams and adding burned-in logo ... On Tue, Sep 30, 2014 at 3:49 PM, wrote: > > On Tue, 30 Sep 2014 10:45:37 +0200, barsn...@gmx.net wrote: > > > Since you have already built an understanding of what you want to > > combine in which way, this page should give you some hints and examples > > of how to achieve that: > > > https://trac.ffmpeg.org/wiki/AudioChannelManipulation > > > Note that it goes beyond pure mapping, using e.g. the amerge and pan > > filters. > > Thank you, but I actually found that page a couple of days ago and it was > not at all helpful to me for a couple of reasons. First, I am REALLY new to > ffmpeg and don't yet understand how all the options work and interrelate, > in fact I have the nagging feeling that the way I did use the options was > probably not the best way, but ffmpeg is a VERY complex program and it's > hard to figure out the "correct" way to do something like this. > > But also, all of the examples on that page are for a single stream. Every > single example only mentions "stream 0" - there is no reference anywhere to > a "stream 1", "stream 2", etc. That is why I am beginning to wonder if > ffmpeg even has the capability to merge streams. I have looked at a lot of > pages on ffmpeg, some of which make some sense to me and many which didn't, > but the common thread is that I could not find a single example anywhere of > multiple streams being mixed down to a single stream or to fewer streams. > The channel mapping is only a secondary concern to me and it's not going to > bother me that much if I never get true 5.1, but not being able able to > hear all the audio is the big issue now. > > Also that page seems to be dealing with audio files only, not video, and > even in the example for "2 × stereo → stereo" is talking about starting > with two .wav files and converting them to a single .mp3 file. Once again, > nothing at all is said about merging multiple audio streams from the same > .ts file. So if you know of any examples of merging audio streams in files > with video and audio present, that's what I really need to see right now. > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Attempting to make a preservation copy of a Nokia Cellphone video (frame rate)
On Sep 29, 2014, at 9:35 AM, William Lowry wrote: > Hi, I'm attempting to make an FFV1/PCM preservation copy from an H.263/AMR > donated video.The original video has variable frame rate and I am unable to > accurately reproduce this. I have the same frame count at the end but the > frame timestamps and overall duration are different. > Console output below: > ffmpeg started on 2014-09-29 at 14:26:27 > Report written to "ffmpeg-20140929-142627.log" > Command line: > ffmpeg -i "C:\\Digital Weekend Videos\\helen\\testing\\nokia1.MOV" -threads > 0 -acodec pcm_s16le -vcodec ffv1 -level 3 -coder 1 -context 1 -g 1 -slices > 24 -slicecrc 1 -vsync 0 -report "C:\\Digital Weekend > Videos\\helen\\testing\\nokia1_FFV1.MOV" Have you tried putting -vsync 0 before the input? Dave Rice ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, 30 Sep 2014 10:45:37 +0200, barsn...@gmx.net wrote: > Since you have already built an understanding of what you want to > combine in which way, this page should give you some hints and examples > of how to achieve that: > https://trac.ffmpeg.org/wiki/AudioChannelManipulation > Note that it goes beyond pure mapping, using e.g. the amerge and pan > filters. Thank you, but I actually found that page a couple of days ago and it was not at all helpful to me for a couple of reasons. First, I am REALLY new to ffmpeg and don't yet understand how all the options work and interrelate, in fact I have the nagging feeling that the way I did use the options was probably not the best way, but ffmpeg is a VERY complex program and it's hard to figure out the "correct" way to do something like this. But also, all of the examples on that page are for a single stream. Every single example only mentions "stream 0" - there is no reference anywhere to a "stream 1", "stream 2", etc. That is why I am beginning to wonder if ffmpeg even has the capability to merge streams. I have looked at a lot of pages on ffmpeg, some of which make some sense to me and many which didn't, but the common thread is that I could not find a single example anywhere of multiple streams being mixed down to a single stream or to fewer streams. The channel mapping is only a secondary concern to me and it's not going to bother me that much if I never get true 5.1, but not being able able to hear all the audio is the big issue now. Also that page seems to be dealing with audio files only, not video, and even in the example for "2 × stereo → stereo" is talking about starting with two .wav files and converting them to a single .mp3 file. Once again, nothing at all is said about merging multiple audio streams from the same .ts file. So if you know of any examples of merging audio streams in files with video and audio present, that's what I really need to see right now. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] For HLS, playlist.m3u8 file skips last segment entry
2014年9月30日 下午1:15于 "ajay parashar" 写道: > > Hi, > > I am creating HLS segments and playlist file by using below command. > it creates total 6 segment files (out000.ts to out005.ts) but playlist contain entry only for first 4 , it always skips out0005.ts > I do not know why it does not deal with last segment file ? > > here is my playlist.m3u8 file contents > > == > #EXTM3U > #EXT-X-VERSION:3 > #EXT-X-MEDIA-SEQUENCE:0 > #EXT-X-ALLOW-CACHE:YES > #EXT-X-TARGETDURATION:17 > #EXTINF:15.015000, > out000.ts > #EXTINF:8.341667, > out001.ts > #EXTINF:8.341667, > out002.ts > #EXTINF:8.341667, > out003.ts > #EXTINF:16.68, > out004.ts > > You should add "#EXT-X-ENDLIST" for a VOD hls. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] libvo-amrwbenc.so.0: cannot open shared object file
Am 30.09.2014 um 11:26 schrieb Claudiu Rad: > On 9/30/2014 12:09 PM, Moritz Barsnick wrote: >> On Tue, Sep 30, 2014 at 12:03:29 +0300, Claudiu Rad wrote: >>> what is so wrong about building ffmpeg static binaries as root on a >> The other way around: What's wrong with building as non-root? >> >> For one, as root, you risk ruining your system with one wrong command. >> (Ooops, forgot to specify an install prefix and overwrote the >> installation. Oops, I issued "rm -rf *" in the wrong directory.) And >> that's just the simple case. >> >> General security rule: Use only as much/many privileges as required at >> any point in time. Escalate only when necessary. (E.g. "sudo make >> install" if you happen to install into a location not writable by the >> regular user.) > > Totally agree with you, don't get me wrong. > But there are cases where it just doesn't matter that is a bad attitude in general everytime i hear people argue that way sooner or later i hear "shit it did matter and i realized too late" > I have a ffmpeg-build dedicated VM, quickly setup from scratch, > maybe a snapshot with all in place in case I break something you may notice it too late > it's just about the comfort of not bothering to create new > users, not sudo-ing when you need something why do you not have a normal user on that VM at all including the "golden-master" VM from which you can clone others - sorry but for type ./configure as root exists no excuse frankly if you have a proper rpm spec you don't need to care about anything but drop the new tarball in the SOURCES folder, edit the version number in the SPEC and you are done signature.asc Description: OpenPGP digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] libvo-amrwbenc.so.0: cannot open shared object file
Am 30.09.2014 um 10:35 schrieb Moritz Barsnick: > On Mon, Sep 29, 2014 at 22:50:38 +0200, Reindl Harald wrote: >> instead learn to use rpmbuild > > While I _totally_ advocate this, ffmpeg is the one tool which I don't > do this for. I use the rpmfusion repository for various tools, and they > tend to depend upon the ffmpeg-libs package or its dependencies. I try > not to open this can of worms of changing versions and APIs. I just > leave those ffmpeg* packages untouched, and build a "newer" and more > customized ffmpeg into a different location. > > For ffmpeg, there are good instructions on how to build it and its > dependencies into a "private" directory, and actually make it work > without shuffling libs into other locations i do the same - ffmpeg under /usr/local/bin with static linked x264 but packed as RPM - it don't collide with the rpmfuison ffmpeg-libs package that way [builduser@buildserver:~]$ cat /rpmbuild/SPECS/ffmpeg-latest.spec %globaldebug_package%{nil} %globalsnapshot 20140927 Summary: Audio/Video-Encoder (static build) Name: ffmpeg-latest Version: 2.4.1 Release: 1%{?dist} License: GPLv3+ Group: Applications/Multimedia URL: http://ffmpeg.org/ Source0: ffmpeg-%{snapshot}.tar.bz2 Source1: ffmpeg-snapshot-latest.sh BuildRequires: bzip2-devel BuildRequires: imlib2-devel BuildRequires: lame-devel BuildRequires: libtheora-devel BuildRequires: x264-latest BuildRequires: zlib-devel BuildRequires: libvpx-devel BuildRequires: openssl-devel BuildRequires: yasm Requires: sh-utils Requires(preun): systemd-units Requires(postun): systemd-units Provides: ffmpeg Obsoletes: ffmpeg %description FFMpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash %package manpages Group: Manpages Summary: Manpages for ffmpeg-latest BuildArch: noarch %description manpages %prep %setup -q -n ffmpeg-%{snapshot} %build mkdir generic pushd generic ../configure \ --prefix=%{_prefix}/local \ --bindir=%{_prefix}/local/bin \ --datadir=%{_prefix}/local/share/ffmpeg \ --incdir=%{_prefix}/local/include/ffmpeg \ --libdir=%{_prefix}/local/lib64 \ --shlibdir=%{_prefix}/local/lib64 \ --mandir=%{_prefix}/local/man \ --arch=x86_64 \ --cpu=corei7 \ --extra-cflags="-I%{_prefix}/local/x264 %{optflags} -O3 -ffast-math -fomit-frame-pointer -floop-interchange -floop-block -ftree-loop-distribution -fno-strict-aliasing" \ --extra-ldflags="-I%{_prefix}/local/x264 -L%{_prefix}/local/x264 -ldl -Wl,-z,now -Wl,-z,relro,-z,noexecstack" \ --enable-nonfree \ --enable-gpl \ --enable-version3 \ --enable-libmp3lame \ --enable-libtheora \ --enable-libx264 \ --enable-libvpx \ --enable-openssl \ --enable-static \ --enable-runtime-cpudetect \ --enable-bzlib \ --enable-zlib \ --disable-amd3dnow \ --disable-avdevice \ --disable-debug \ --disable-devices \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --disable-htmlpages \ --disable-hwaccels \ --disable-iconv \ --disable-libdc1394 \ --disable-libfaac \ --disable-libfreetype \ --disable-libgsm \ --disable-libopencore-amrnb \ --disable-libopencore-amrwb \ --disable-libopencv \ --disable-libopenjpeg \ --disable-libopus \ --disable-librtmp \ --disable-libschroedinger \ --disable-libspeex \ --disable-libvorbis \ --disable-libxvid \ --disable-podpages \ --disable-postproc \ --disable-protocols \ --enable-protocol=cache \ --enable-protocol=concat \ --enable-protocol=crypto \ --enable-protocol=data \ --enable-protocol=file \ --enable-protocol=http \ --enable-protocol=https \ --enable-protocol=md5 \ --enable-protocol=mmsh \ --enable-protocol=mmst \ --enable-protocol=pipe \ --enable-protocol=rtp \ --enable-protocol=srtp \ --enable-protocol=rtmp \ --enable-protocol=rtmps \ --enable-protocol=tcp \ --enable-protocol=udp \ --enable-protocol=unix \ --enable-protocol=tls \ --disable-shared \ --disable-txtpages %{__make} %{?_smp_mflags} make documentation popd # build 'qt_faststart' standalone binary CURRENT_DIR=`pwd` mkdir -p %{buildroot}%{_prefix}/local/bin/ gcc -fPIC -fPIE -pie -Wl,-z,now -Wl,-z,relro,-z,noexecstack $CURRENT_DIR/tools/qt-faststart.c -o qt-faststart %install pushd generic make install DESTDIR=%{buildroot} popd install -D -m0755 qt-faststart "%{buildroot}%{_prefix}/local/bin/qt-faststart" mkdir %{buildroot}%{_bindir} ln -s %{_prefix}/local/bin/ffmpeg %{buildroot}%{_bindir}/ffmpeg rm -rf %{buildroot}%{_prefix}/local/include/ffmpeg/ %{buildroot}%{_prefix}/local/lib64/ %{buildroot}%{_prefix}/local/share/ffmpeg strip -s %{buildroot}%{_prefix}/local/bin/qt-faststart
Re: [FFmpeg-user] libvo-amrwbenc.so.0: cannot open shared object file
On 9/30/2014 12:09 PM, Moritz Barsnick wrote: On Tue, Sep 30, 2014 at 12:03:29 +0300, Claudiu Rad wrote: what is so wrong about building ffmpeg static binaries as root on a The other way around: What's wrong with building as non-root? For one, as root, you risk ruining your system with one wrong command. (Ooops, forgot to specify an install prefix and overwrote the installation. Oops, I issued "rm -rf *" in the wrong directory.) And that's just the simple case. General security rule: Use only as much/many privileges as required at any point in time. Escalate only when necessary. (E.g. "sudo make install" if you happen to install into a location not writable by the regular user.) Totally agree with you, don't get me wrong. But there are cases where it just doesn't matter. I have a ffmpeg-build dedicated VM, quickly setup from scratch, maybe a snapshot with all in place in case I break something, it's just about the comfort of not bothering to create new users, not sudo-ing when you need something, etc. A quick/experimental setup. Again, it is a special situation, and on regular situations I totally agree with you and good practices. But the point is, we can't blame absolutely everyone building as root as being puke-enabling users, when actually we should *strongly *recommend them to build as non-root unless they know what they are doing and actually focus on their problems not the user used during ffmpeg build. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- Claudiu ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] libvo-amrwbenc.so.0: cannot open shared object file
On Tue, Sep 30, 2014 at 12:03:29 +0300, Claudiu Rad wrote: > what is so wrong about building ffmpeg static binaries as root on a The other way around: What's wrong with building as non-root? For one, as root, you risk ruining your system with one wrong command. (Ooops, forgot to specify an install prefix and overwrote the installation. Oops, I issued "rm -rf *" in the wrong directory.) And that's just the simple case. General security rule: Use only as much/many privileges as required at any point in time. Escalate only when necessary. (E.g. "sudo make install" if you happen to install into a location not writable by the regular user.) Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] libvo-amrwbenc.so.0: cannot open shared object file
On 9/30/2014 11:35 AM, Moritz Barsnick wrote: OTOH, building as user root is the biggest no-go of them all! I don't see why people don't realize that... Moritz ___ I can't understand: what is so wrong about building ffmpeg static binaries as root on a ffmpeg-build-dedicated light VM from where the binaries will be retrieved via http? -- Claudiu ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Can I use ffmpeg to combine audio streams in .ts file?
On Tue, Sep 30, 2014 at 01:42:17 +0200, skyscan...@gmx.ca wrote: > That may not be the optimal way to do that (suggestions to streamline > that would be appreciated) but it took me over six hours to get that > much figured out. Unfortunately, it still saves the remaining audio > as four separate streams: Since you have already built an understanding of what you want to combine in which way, this page should give you some hints and examples of how to achieve that: https://trac.ffmpeg.org/wiki/AudioChannelManipulation Note that it goes beyond pure mapping, using e.g. the amerge and pan filters. HTH, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] libvo-amrwbenc.so.0: cannot open shared object file
On Mon, Sep 29, 2014 at 22:50:38 +0200, Reindl Harald wrote: > instead learn to use rpmbuild While I _totally_ advocate this, ffmpeg is the one tool which I don't do this for. I use the rpmfusion repository for various tools, and they tend to depend upon the ffmpeg-libs package or its dependencies. I try not to open this can of worms of changing versions and APIs. I just leave those ffmpeg* packages untouched, and build a "newer" and more customized ffmpeg into a different location. For ffmpeg, there are good instructions on how to build it and its dependencies into a "private" directory, and actually make it work without shuffling libs into other locations. Just my €0.02. OTOH, building as user root is the biggest no-go of them all! I don't see why people don't realize that... Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Using ffprobe or ffmpeg to view atom metadata
On 25/09/14 21:05, Steve Smith wrote: > Is there a way using ffprobe or ffmpeg to view the atom metadata that is > viewable using the AtomicParsley utility? I have a mp4 file that is causing > AtomicParsley to crash when I try to pull the metadata. I've opened the file > in a hex editor and I can see the metadata values there. > [..] Boxdumper should do the trick for you, ffmpeg does not expose the atoms in a user readable way, only certain extracted metadata. -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user