Re: [FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Sven C. Dack
On 27/10/16 01:47, Ronald F. Guilmette wrote: Is each frame within, say, an MPEG4/AVC video dependent upon -both- the nearest preceeding reference frame -and- also the other non-reference preceeding frames ? Not necessarily, but it can, yes. It can also reference data in succeeding frames. ht

Re: [FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Ronald F. Guilmette
In message , "Sven C. Dack" wrote: >this is only possible when the input is composed of absolute frames, i.e. >with >Motion JPEG. Your video will probably have been compressed with one of the >more >advanced algorithms and these purposely do not treat frames as absolute, but >use >their

Re: [FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Sven C. Dack
On 26/10/16 23:38, Carl Eugen Hoyos wrote: I do not remember a sample file for which "-r 29.97" would have been correct. He hasn't given a sample file and I have given an example. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org

Re: [FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Carl Eugen Hoyos
2016-10-26 23:07 GMT+02:00 Sven C. Dack : > On 26/10/16 20:06, Ronald F. Guilmette wrote: >> >> Apologies if this is an FAQ. >> >> I have a video with a fixed frame rate of 59.940 fps. Some of my devices >> don't cope with this very well. Thus, I'd like to convert the video to >> one with exactly

Re: [FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Sven C. Dack
On 26/10/16 20:06, Ronald F. Guilmette wrote: Apologies if this is an FAQ. I have a video with a fixed frame rate of 59.940 fps. Some of my devices don't cope with this very well. Thus, I'd like to convert the video to one with exactly half the frame rate (29.970), but preferably without doing

Re: [FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Carl Eugen Hoyos
2016-10-26 21:06 GMT+02:00 Ronald F. Guilmette : > I have a video with a fixed frame rate of 59.940 fps. Some of my > devices don't cope with this very well. Thus, I'd like to convert the > video to one with exactly half the frame rate (29.970), but > preferably without doing any reencoding Thi

[FFmpeg-user] Reducing frame rate without reencoding

2016-10-26 Thread Ronald F. Guilmette
Apologies if this is an FAQ. I have a video with a fixed frame rate of 59.940 fps. Some of my devices don't cope with this very well. Thus, I'd like to convert the video to one with exactly half the frame rate (29.970), but preferably without doing any reencoding, e.g. just by stripping away ev

Re: [FFmpeg-user] mp4 to mpeg-2 ts pcr period

2016-10-26 Thread Carl Eugen Hoyos
2016-10-26 15:42 GMT+02:00 dariusz w : > I use latest stable version 3.1.5. There is nothing "stable" about 3.1.5 (see for example #5909), on the contrary, it contains more known bugs and less features than current FFmpeg. [...] > I have found that this command: > > ./ffmpeg -debug info -i inpu

Re: [FFmpeg-user] mp4 to mpeg-2 ts pcr period

2016-10-26 Thread dariusz w
Thanks, Yes I meant h264_mp4toannexb sorry for that. I use latest stable version 3.1.5. This video should be played on STB eg. motorola 1853. full output ffmpeg version 3.1.5 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --prefix=/home/d

Re: [FFmpeg-user] mp4 to mpeg-2 ts pcr period

2016-10-26 Thread Moritz Barsnick
On Wed, Oct 26, 2016 at 04:49:42 -0700, dariusz w wrote: > ffmpeg -i input.mp4 -c copy -bsf:v h264_mp4toannex output.ts ^^ This filter is called "h264_mp4toannexb" (note the last letter). In recent ffmpeg releases and with latest git, it is automatic

[FFmpeg-user] mp4 to mpeg-2 ts pcr period

2016-10-26 Thread dariusz w
Hello, Can anyone help with conversion from mp4 to ts. ffmpeg -i input.mp4 -c copy -bsf:v h264_mp4toannex output.ts outpu.ts plays fine in vlc etc. but output.ts isn't compatibilie with hardware decoders. pcr is rare in output.ts. -- View this message in context: http://ffmpeg-users.9332

Re: [FFmpeg-user] How to output the MPEG-4 streaming to file?

2016-10-26 Thread Carl Eugen Hoyos
2016-10-26 8:37 GMT+02:00 Yuki : > Reuben Martin wrote >> ffmpeg -i udp://@239.203.59.225:50100 -c:v copy -c:a copy >> -f mpegts stream_dump.ts If the input is mpegts, this is most likely not a good idea, there are many possibilities to dump the raw stream like tools/aviocat and mplayer -dumpstre

Re: [FFmpeg-user] Set keyframe interval raw video

2016-10-26 Thread Carl Eugen Hoyos
2016-10-26 6:50 GMT+02:00 Anatol : > On Thu, Oct 20, 2016 at 12:13 PM, Carl Eugen Hoyos > wrote: >> Careful with the fps filter: If input fps == output fps, don't >> use it to be on the safe side. > Why we should be careful with the fps filter? > What's wrong with it? Please fix your quoting! (

Re: [FFmpeg-user] Writing EXIF metadata

2016-10-26 Thread Robert Krüger
Hi Erik, thanks for the hint. I know Exiftool but in this case I need the capability within ffmpeg. At least that would make it a lot easier. Robert On Tue, Oct 25, 2016 at 8:25 PM, Erik Dobberkau wrote: > Am Dienstag, 25. Oktober 2016 schrieb Robert Krüger : > > > Hi, > > > > is it possible t

Re: [FFmpeg-user] How to output the MPEG-4 streaming to file?

2016-10-26 Thread Yuki
Cley Faye wrote > What is required to better understand the issue is the full command and > the > full output of the ffmpeg process, from the version header to the end. It > will most likely contain the required informations. Thank you for your reply. Provide results. H.264: [centos@localhost ~]

Re: [FFmpeg-user] How to output the MPEG-4 streaming to file?

2016-10-26 Thread Cley Faye
> When I use command "ffmpeg -i udp://@{IpAddr}:{Port} -c:v copy -c:a copy -f > mpegts stream_dump.ts", i got the following results. > - H.264...OK. > - MPEG-2...OK. > - MPEG-4...NG. "Invalid data found when processing input" will occur. What is required to better understand the issue is the