Re: [FFmpeg-user] Problem splicing files

2014-07-23 Thread Andrew Sinclair
Hi Carl, Firstly very good point in that splicing might be a somewhat old school term for joining film... https://www.youtube.com/watch?v=k66pLxyMQGI Anyhow ffmpeg term is concat filter. Basically I am taking a single source a desired target encoding, fps etc and concat'ing a number of other file

[FFmpeg-user] example/remuxing failed

2014-07-23 Thread Harold.Miao
hi all I use example/remuxing to learn how to convert mp4 to ts, but I failed ! I wish someone could tell me how to change remuxing.c to get successful result. thanks in advance! *localhost examples # ./remuxing output_file.mp4 1.ts* *Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output_file.mp4':*

Re: [FFmpeg-user] [mp4 @ 00000000002ff260] Malformed AAC bitstream detected:

2014-07-23 Thread Bikash Kumar Sinha
Thanks a ton Simon. I was able to fixe my issues using the correct filters. Its all working good now. Thanks again and really appreciate it Bikash On Wed, Jul 23, 2014 at 11:05 AM, Simon Thelen wrote: > On 23/07/14 at 10:20, Bikash Kumar Sinha wrote: > > q1 - http://www.datafilehost.com/d/ef4

[FFmpeg-user] bitrate for H.263

2014-07-23 Thread Miyoa
Hi all, I would need to test different video/audio codecs on several mobile phones. Specifically, I would like to start streaming a content whose video stream has been coded using H.263 Profile 0 Level 10 (video), MPEG-4 AAC (audio) and total bitrate 10Kbps. Because the minimum supported bitrate

Re: [FFmpeg-user] Concatenated H.264 or H.265 might not play correctly.drop=#

2014-07-23 Thread Luke Davis
On Tue, 22 Jul 2014, Carl Eugen Hoyos wrote: Luke Davis newanswertech.com> writes: 1. What damage is actually happening to my outgoing stream here, and is this a problem that can eventually disrupt the stream? I assume it is frames being dropped? Only you can look at (analyze) the input s

Re: [FFmpeg-user] How to apply effects to a frame decoded using ffmpeg?

2014-07-23 Thread James Darnley
On 2014-07-23 16:47, David Varghese wrote: > One last question: Is there any significant advantage in using the prebuild > filters of ffmpeg over manipulating YUV frames by iterating through it? Yes. They are tested so that do what they are supposed to do. Some have SIMD and/or threading to make

Re: [FFmpeg-user] Capturing audio + video from mplayer

2014-07-23 Thread Jason Gullickson
Thanks for the info, I'll take a look at "sob" and see where I can go with that. Carl, I started with -dumpstream but I found that it doesn't work with the -slave parameter, which I need to control playback. On Wed, Jul 23, 2014 at 12:23 PM, Carl Eugen Hoyos wrote: > Jason Gullickson gmail.co

Re: [FFmpeg-user] Capturing audio + video from mplayer

2014-07-23 Thread Carl Eugen Hoyos
Jason Gullickson gmail.com> writes: > mplayer dvdnav:dev/dvd -vo yuv4mpeg:file=video.y4m -slave Please use mplayer -dumpstream instead, this is really fail safe, as you found out, all other possibilities are error-prone. Carl Eugen ___ ffmpeg-u

Re: [FFmpeg-user] [mp4 @ 00000000002ff260] Malformed AAC bitstream detected:

2014-07-23 Thread Simon Thelen
On 23/07/14 at 10:20, Bikash Kumar Sinha wrote: > q1 - http://www.datafilehost.com/d/ef421240 > a1 - http://www.datafilehost.com/d/d301f7e6 > > C:\Bikash\temp\VideoMerge\upload\ffmpeg\bin>ffmpeg -i > "concat:q1.mp4|a1.mp4" -c copy output.mp4 First of all, the concat protocol won't work with mp4s.

[FFmpeg-user] Capturing audio + video from mplayer

2014-07-23 Thread Jason Gullickson
Greetings, I'm building an HTML5 DVD player that back-ends to mplayer & ffmpeg. At this point I have it working for video, but I can't quite seem to figure out how to get the audio portion working. I'm using mplayer in "slave" mode to read and controle the DVD and send the video to a named pipe

Re: [FFmpeg-user] [mp4 @ 00000000002ff260] Malformed AAC bitstream detected:

2014-07-23 Thread Bikash Kumar Sinha
q1 - http://www.datafilehost.com/d/ef421240 a1 - http://www.datafilehost.com/d/d301f7e6 C:\Bikash\temp\VideoMerge\upload\ffmpeg\bin>ffmpeg -i "concat:q1.mp4|a1.mp4" -c copy output.mp4 ffmpeg version N-64836-gce385c8 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 20 2014 23:42:59 with

Re: [FFmpeg-user] How to apply effects to a frame decoded using ffmpeg?

2014-07-23 Thread David Varghese
Thank you very much . You resolved my blunder , I'm more clear about the AVFrame structure now. One last question: Is there any significant advantage in using the prebuild filters of ffmpeg over manipulating YUV frames by iterating through it? On Wed, Jul 23, 2014 at 7:26 PM, James Darnley w

Re: [FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

2014-07-23 Thread Christian Ebert
* Werner Robitza on Wednesday, July 23, 2014 at 15:27:12 +0200 > On Wed, Jul 23, 2014 at 2:46 PM, Christian Ebert wrote: >> >> I guess you just want to copy (-c copy both video and audio), not >> re-encode (-c:v libx264) > > I do want to re-encode (for various reasons, one being that I need > an

Re: [FFmpeg-user] How to apply effects to a frame decoded using ffmpeg?

2014-07-23 Thread James Darnley
On 2014-07-23 15:39, David Varghese wrote: > Thanks for the reply. > > Infact I tried to directly manipulate the YUV frame that I got from decoder > . I tried to modify the Y value of every pixels of every frames to 1 , > expecting to see a much darker video . But I didnt found any changes in the

Re: [FFmpeg-user] [mp4 @ 00000000002ff260] Malformed AAC bitstream detected:

2014-07-23 Thread Simon Thelen
On 22/07/14 at 14:08, Bikash Kumar Sinha wrote: > Sorry about the top posting, as I said I am new and did not realize I was > doing that. https://www.netmeister.org/news/learn2quote.html You might want to read this to learn about what you're doing and how to quote correctly. > My issues is not yet

Re: [FFmpeg-user] How to apply effects to a frame decoded using ffmpeg?

2014-07-23 Thread David Varghese
Thanks for the reply. Infact I tried to directly manipulate the YUV frame that I got from decoder . I tried to modify the Y value of every pixels of every frames to 1 , expecting to see a much darker video . But I didnt found any changes in the video . The code snippet is as below, AVFrame *fram

Re: [FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

2014-07-23 Thread Werner Robitza
On Wed, Jul 23, 2014 at 2:46 PM, Christian Ebert wrote: > > I guess you just want to copy (-c copy both video and audio), not > re-encode (-c:v libx264) I do want to re-encode (for various reasons, one being that I need another keyframe interval). ___ f

Re: [FFmpeg-user] Reg: CPU Usage Issue

2014-07-23 Thread Tom Evans
On Wed, Jul 23, 2014 at 8:45 AM, subeesh.babu wrote: > Any one suggest how to reduce the CPU usage . I thought I'd collate all the advice you have been given so far in to one list, so that when you re-post asking the same thing again without having tried any of them, people can see the whole list

[FFmpeg-user] FFmpeg and FFserver Configuration Support needed

2014-07-23 Thread Christian Burger
Hi there I need help configuring an ffserver/ffmpeg-environment with multiple streams and feeds. The following needs to be answered: * Have a review over the architecture in general (feeds, streams and ffmpeg instances) * Help configuring ffmpeg and ffserver to get reliable audio and video strea

Re: [FFmpeg-user] How to apply effects to a frame decoded using ffmpeg?

2014-07-23 Thread Carl Eugen Hoyos
David Varghese gmail.com> writes: > I wanted to apply changes in contrast,brightness, > saturation values of a video while rendering on > android. Consider using the mp=eq2 filter. It will be replaced by a native filter in the future, but for the time being, there should be no reason not to u

[FFmpeg-user] How to apply effects to a frame decoded using ffmpeg?

2014-07-23 Thread David Varghese
Hi, I wanted to apply changes in contrast,brightness,saturation values of a video while rendering on android. I think I have two options for applying the effects , 1) Apply the changes on raw YUV frames . 2) Apply the changes to RGB frames which are created from raw YUV frames . Which of the a

Re: [FFmpeg-user] ffmpeg for a joomla video website

2014-07-23 Thread Jan Ehrhardt
Reindl Harald in gmane.comp.video.ffmpeg.user (Mon, 21 Jul 2014 21:27:20 +0200): >* update and find a solution for your needs That solution is php-av. Jan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-use

Re: [FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

2014-07-23 Thread Christian Ebert
* Werner Robitza on Wednesday, July 23, 2014 at 13:53:51 +0200 > On Wed, Jul 23, 2014 at 12:42 PM, Carl Eugen Hoyos wrote: >> Why are you using a bitstream filter when re-encoding? >> The normal usecase for a bitstream filter is remuxing. > > If I don't use it, e.g. > > ffmpeg -y -i tmp/tmpPass2

[FFmpeg-user] ffmpeg/ffserver setup with webcam

2014-07-23 Thread Jean Paul Talledo Vilela
Hello I am trying to stream a webcam video using ffmpeg and ffserver. I am new on this and that's why I am asking for some help. Webcam Model is Logitech C920. It supports the following: [video4linux2,v4l2 @ 0x9cbc1c0] Raw : yuyv422 : YUV 4:2:2 (YUYV) : 640x480 160x90 160x120 176x1

Re: [FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

2014-07-23 Thread Werner Robitza
On Wed, Jul 23, 2014 at 12:42 PM, Carl Eugen Hoyos wrote: > Why are you using a bitstream filter when re-encoding? > The normal usecase for a bitstream filter is remuxing. If I don't use it, e.g. ffmpeg -y -i tmp/tmpPass2.mp4 -c:v libx264 -acodec copy -map 0 -f segment -segment_time 5 -segment_

Re: [FFmpeg-user] Strange latency with some codecs

2014-07-23 Thread Simon Pickles
Thanks Carl, you are spot on! It is indeed down to the multi-threading. On 23 July 2014 11:43, Carl Eugen Hoyos wrote: > Simon Pickles thefoundry.co.uk> writes: > > > In 2.1.4 I don't get 1 returned by got_packet_ptr. > > However, if I keep trying to decode the frame, it > > eventually starts

Re: [FFmpeg-user] MPEG TS output - muxing queue - max_interleave_delta

2014-07-23 Thread Carl Eugen Hoyos
Matej tam.si> writes: > /root/ffmpeg/ffmpeg -loglevel debug -rtbufsize 128000k > -threads 0 -re -i "udp://... -re -i "http://77.234.135.250:8000/"; > -vsync 0 -async 0 -codec copy -map 1:0,0:0 > -s 720x576 -q 10 -shortest -f > mpegts udp://192.168.1.150:1236?pkt_size=1316?buffer_size=65535 W

Re: [FFmpeg-user] Strange latency with some codecs

2014-07-23 Thread Carl Eugen Hoyos
Simon Pickles thefoundry.co.uk> writes: > In 2.1.4 I don't get 1 returned by got_packet_ptr. > However, if I keep trying to decode the frame, it > eventually starts to decode after FIFTEEN attempts! (Do you have an eight-core cpu?) I suspect this is the multi-threading delay, set threads to

Re: [FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

2014-07-23 Thread Carl Eugen Hoyos
Werner Robitza gmail.com> writes: > ffmpeg -y -i tmp/tmpPass2.mp4 -c:v libx264 -acodec copy > -map 0 -f segment -bsf h264_mp4toannexb -segment_time 5 > -segment_format mpegts ./tsSegmentsDisplay/SRC04_Q1_%05d.ts Why are you using a bitstream filter when re-encoding? The normal usecase for a bi

[FFmpeg-user] "Packet header is not contained in global metadata" when segmenting and encoding x264

2014-07-23 Thread Werner Robitza
I have an x264-encoded MP4 file which I'd like to segment into MPEG-TS. ffmpeg -y -i tmp/tmpPass2.mp4 -c:v libx264 -acodec copy -map 0 -f segment -bsf h264_mp4toannexb -segment_time 5 -segment_format mpegts ./tsSegmentsDisplay/SRC04_Q1_%05d.ts The original was encoded with: ffmpeg -y -i ./srcVid

Re: [FFmpeg-user] MPEG TS output - muxing queue - max_interleave_delta

2014-07-23 Thread Matej
On Wed, Jul 23, 2014 at 10:18 AM, Carl Eugen Hoyos wrote: > Matej tam.si> writes: > > > How can I solve it with an input stream where the > > start time is increasing and want to mux it with > > the mentioned mp3? > > Could you test the sync function of the -map option? > (I don't remember anybo

Re: [FFmpeg-user] Strange latency with some codecs

2014-07-23 Thread Simon Pickles
I should also point out that I can use the built ffmpeg executable to perform conversions on the PNG encoded file. I've used: ./ffmpeg -loglevel debug -i /tmp/pngMov.mov /tmp/1.mov and it works. Whether its doing multiple decode attempts under the hood, I can't tell. On 23 July 2014 10:18, Si

Re: [FFmpeg-user] Strange latency with some codecs

2014-07-23 Thread Simon Pickles
Hi Carl, Thanks for the response. I've cloned the git repo, built it and repro'd the problem with the example code I first posted. Here's the output: kludge:MacOS pickles$ ./TestApp 1 streams Codec PTS=0, DTS=0, Duration=1, KeyFrame=1, Corrupt=0, StreamIdx=0, PktSize=77686 Decode 77686 frame

Re: [FFmpeg-user] MPEG TS output - muxing queue - max_interleave_delta

2014-07-23 Thread Carl Eugen Hoyos
Matej tam.si> writes: > How can I solve it with an input stream where the > start time is increasing and want to mux it with > the mentioned mp3? Could you test the sync function of the -map option? (I don't remember anybody ever using it.) Something like -map 0:0,0:0 -map 1:0,0:0 (Or -map 0:0

Re: [FFmpeg-user] Reg: CPU Usage Issue

2014-07-23 Thread Reindl Harald
Am 23.07.2014 09:45, schrieb subeesh.babu: > Am using ffmpeg 1.1.4 for streaming old and unsupported always try the last recent version before report problems because they maybe solved in the meantime signature.asc Description: OpenPGP digital signature _

Re: [FFmpeg-user] Reg: CPU Usage Issue

2014-07-23 Thread subeesh.babu
Hi, Am using ffmpeg 1.1.4 for streaming . Processor Model: TI-DM8148 Davinci processor . ARM 7 with 600MHz speed Linux 2.6.32 kernel For ffmpeg live streaming through video port am using the following command ffmpeg -s 720x576 -f v4l2 -pix_fmt rgb24 -i /d