Re: [FFmpeg-user] CBR and bitrate

2017-08-11 Thread akash kulkarni
yes @manuel its getting bit hard even after setting
  -b:v 25M -minrate 25M maxrate 25M -bufsize 25M it not generating CBR mode
output and i will try for 1 & 2 pass once and convey you if i get the
constrained VBR

On Fri, Aug 11, 2017 at 11:20 AM, Manuel Tiglio <tig...@icloud.com> wrote:

> I have had the same problem with both CBR and constrained VBR, even with
> two passes, and no luck in really controlling the bitrate as specified. I
> posted it a couple of weeks ago but did not get anyone who could really get
> CBR and or 110% or 150% or any other constrained VBR or at least exactly
> how to reproduce any results.
>
>
> > On Aug 10, 2017, at 10:35 PM, akash kulkarni <kul.akash...@gmail.com>
> wrote:
> >
> > its fine @jmkhoo1 atleast you tried and its appreciated...
> > input file is of constant bit rate mode after executing command i am
> > getting variable bit rate...
> > so question was how i get the CBR mode output
> >
> > On Thu, Aug 10, 2017 at 7:59 PM, jmkhoo1 <jmkhoo1-at-yahoo.com@ffmpeg.
> org>
> > wrote:
> >
> >> Apologies. I should have tried it out first. You are correct. Even
> >> specifying r:v and -b:v failed. Original message From:
> >> jmkhoo1 <jmkhoo1-at-yahoo@ffmpeg.org> Date: 8/10/2017  9:28 AM
> >> (GMT-05:00) To: FFmpeg user questions <ffmpeg-user@ffmpeg.org> Subject:
> >> Re: [FFmpeg-user] CBR and bitrate
> >> If you mean a constant frame rate, use -r:v 25. If you actually mean
> >> bitrate, use -b:v and -b:a. I think you might want to look at the x264
> >> switches to make sure that it is encoded and a constant bit rate,
> though I
> >> am fairly sure specifying a bit rate will do it. Original
> message
> >> From: akash kulkarni <kul.akash...@gmail.com> Date: 8/10/2017
> >> 7:18 AM  (GMT-05:00) To: FFmpeg user questions <ffmpeg-user@ffmpeg.org>
> >> Subject: [FFmpeg-user] CBR and bitrate
> >> hello everyone
> >>
> >> i have file with CBR and when i am converting it to other format by
> using
> >> following command i am getting VBR both video and audio
> >>
> >> ffmpeg -i input.mp4 -y -r 25 -c:v libx264 -look_ahead 0 -preset veryfast
> >> -b:v 25M -c:a aac ouput.MTS
> >>
> >> so How i can get the output file in CBR mode and frame rate 25.
> >> ___
> >> ffmpeg-user mailing list
> >> ffmpeg-user@ffmpeg.org
> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >> ___
> >> ffmpeg-user mailing list
> >> ffmpeg-user@ffmpeg.org
> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >> ___
> >> ffmpeg-user mailing list
> >> ffmpeg-user@ffmpeg.org
> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >>
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] CBR and bitrate

2017-08-10 Thread akash kulkarni
its fine @jmkhoo1 atleast you tried and its appreciated...
input file is of constant bit rate mode after executing command i am
getting variable bit rate...
so question was how i get the CBR mode output

On Thu, Aug 10, 2017 at 7:59 PM, jmkhoo1 <jmkhoo1-at-yahoo@ffmpeg.org>
wrote:

> Apologies. I should have tried it out first. You are correct. Even
> specifying r:v and -b:v failed. Original message From:
> jmkhoo1 <jmkhoo1-at-yahoo@ffmpeg.org> Date: 8/10/2017  9:28 AM
> (GMT-05:00) To: FFmpeg user questions <ffmpeg-user@ffmpeg.org> Subject:
> Re: [FFmpeg-user] CBR and bitrate
> If you mean a constant frame rate, use -r:v 25. If you actually mean
> bitrate, use -b:v and -b:a. I think you might want to look at the x264
> switches to make sure that it is encoded and a constant bit rate, though I
> am fairly sure specifying a bit rate will do it.---- Original message
> From: akash kulkarni <kul.akash...@gmail.com> Date: 8/10/2017
> 7:18 AM  (GMT-05:00) To: FFmpeg user questions <ffmpeg-user@ffmpeg.org>
> Subject: [FFmpeg-user] CBR and bitrate
> hello everyone
>
> i have file with CBR and when i am converting it to other format by using
> following command i am getting VBR both video and audio
>
> ffmpeg -i input.mp4 -y -r 25 -c:v libx264 -look_ahead 0 -preset veryfast
> -b:v 25M -c:a aac ouput.MTS
>
> so How i can get the output file in CBR mode and frame rate 25.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] CBR and bitrate

2017-08-10 Thread akash kulkarni
hello everyone

i have file with CBR and when i am converting it to other format by using
following command i am getting VBR both video and audio

ffmpeg -i input.mp4 -y -r 25 -c:v libx264 -look_ahead 0 -preset veryfast
-b:v 25M -c:a aac ouput.MTS

so How i can get the output file in CBR mode and frame rate 25.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Video scaling

2017-08-04 Thread akash kulkarni
i scale HD video to SD by using

ffmpeg -i MTS_HD_002.MTS -vf scale=720:576:force_original_aspect_ratio -c:v
libx264 -crf 20 -c:a copy sd7.MTS

command . i got that scaled output but problem is while playing file in
windows media player it taking 10 seconds of delay to play video while
audio is playing well.

but VLC is playing that file fine and well
.
Can any one help me with this sort off problem
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] MTS to MP4 lossless conversion issues

2017-08-03 Thread akash kulkarni
Windows Media player is just my requirement even using vlc...But how this
happens was more interesting as beginner and learner

On Aug 3, 2017 3:24 PM, "Nick Gilmour" <nickefo...@gmail.com> wrote:

> Without being an expert these things come into my mind:
>
> 1. Why do you want to use Windows Media Player? VLC is much superior than
> WMP and there are also other free players.
> 2. This seems to be like a missing audio codec. On Windows I use a codec
> pack like K-Lite Codec Mega Pack. It has everything I need and it get's
> regularly updated. Link:
> https://www.codecguide.com/download_k-lite_codec_pack_mega.htm
> AFAIK VLC comes with it's own codecs that's why you can play with it.
> 3. If it still doesn't work, you can try to re-encode the audio stream by
> using e.g. mp3
>
> Cheers
>
>
>
> On Thu, Aug 3, 2017 at 11:17 AM, Karen Norton <norto...@gmail.com> wrote:
>
> > Definitely upgrade. I have no issues with aac on my version of ffmpeg. I
> > believe the latest for Windows is 3.3.2. I'm on Win 10 but that shouldn't
> > be a factor in running aac with the latest version of ffmpeg. Win 7
> should
> > behave the same way.
> >
> > Keep your old version of ffmpeg just in case. :-)
> >
> > Cheers.
> >
> > On Thu, Aug 3, 2017 at 5:10 AM, akash kulkarni <kul.akash...@gmail.com>
> > wrote:
> >
> > > No I am using Windows 7 still causing issue . If problem is with
> upgrade
> > > then I will surely try upgraded version
> > >
> > > Thanks for help
> > >
> > > On Aug 3, 2017 2:23 PM, "Karen Norton" <norto...@gmail.com> wrote:
> > >
> > > > You're on ubuntu correct? If so it's possible you have to upgrade
> your
> > > > ffmpeg version. I think they're up to V3. I read in some forum posts
> > that
> > > > the libvo_aacenc encoder had been removed and replaced with aac. If
> you
> > > > can't upgrade then you will have to stay with that encoder.
> > > >
> > > > I'm on Windows and have no experience with ubuntu so you might want
> to
> > > wait
> > > > for someone with experience in that OS to respond but, as mentioned,
> it
> > > > could be a version issue.
> > > >
> > > > Cheers.
> > > >
> > > > On Thu, Aug 3, 2017 at 4:29 AM, akash kulkarni <
> kul.akash...@gmail.com
> > >
> > > > wrote:
> > > >
> > > > > ffmpeg -i input -c:v copy -c:a aac -b:a 256k output.mp4
> > > > >
> > > > > while executing
> > > > >
> > > > > it gaves me error saying
> > > > > [aac @ 02a802e0]
> > > > > The encoder 'aac' is experimental but experimental
> > > codecs
> > > > > are not enabled, add '-strict -2' if you want to use it.
> > > > > [aac @ 02a802e0]
> > > > >  Alternatively use the non experimental encoder
> > > > > 'libvo_aacenc'.
> > > > >
> > > > > So i used
> > > > > ffmpeg -i input.MTS -c:v copy -c:a libvo_aacenc
> -b:a
> > > 256k
> > > > > mp4fro output.mp4
> > > > >
> > > > > and it works .
> > > > >
> > > > >
> > > > > i am just curious to know why aac is not working with my version of
> > > > ffmpeg
> > > > >
> > > > > [ ffmpeg Details :]
> > > > >
> > > > >
> > > > > ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
> > > > >   built on Oct 26 2013 06:29:32 with gcc 4.8.2 (GCC)
> > > > >   configuration: --disable-static --enable-shared --enable-gpl
> > > > > --enable-version3
> > > > >  --disable-w32threads --enable-avisynth --enable-bzlib
> > > > --enable-fontconfig
> > > > > --ena
> > > > > ble-frei0r --enable-gnutls --enable-iconv --enable-libass
> > > > > --enable-libbluray --e
> > > > > nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
> > > > > --enable-lib
> > > > > modplug --enable-libmp3lame --enable-libopencore-amrnb
> > > > > --enable-libopencore-amrw
> > > > > b --enable-libopenjpeg --enable-libopus --enable-librtmp
> > > > > --enable-libschroedinge
> > > > > r --enable-libsoxr --enable-libspeex --enable-libtheora
> > > > --enable-libtwolame

Re: [FFmpeg-user] MTS to MP4 lossless conversion issues

2017-08-03 Thread akash kulkarni
No I am using Windows 7 still causing issue . If problem is with upgrade
then I will surely try upgraded version

Thanks for help

On Aug 3, 2017 2:23 PM, "Karen Norton" <norto...@gmail.com> wrote:

> You're on ubuntu correct? If so it's possible you have to upgrade your
> ffmpeg version. I think they're up to V3. I read in some forum posts that
> the libvo_aacenc encoder had been removed and replaced with aac. If you
> can't upgrade then you will have to stay with that encoder.
>
> I'm on Windows and have no experience with ubuntu so you might want to wait
> for someone with experience in that OS to respond but, as mentioned, it
> could be a version issue.
>
> Cheers.
>
> On Thu, Aug 3, 2017 at 4:29 AM, akash kulkarni <kul.akash...@gmail.com>
> wrote:
>
> > ffmpeg -i input -c:v copy -c:a aac -b:a 256k output.mp4
> >
> > while executing
> >
> > it gaves me error saying
> > [aac @ 02a802e0]
> > The encoder 'aac' is experimental but experimental codecs
> > are not enabled, add '-strict -2' if you want to use it.
> > [aac @ 02a802e0]
> >  Alternatively use the non experimental encoder
> > 'libvo_aacenc'.
> >
> > So i used
> > ffmpeg -i input.MTS -c:v copy -c:a libvo_aacenc -b:a 256k
> > mp4fro output.mp4
> >
> > and it works .
> >
> >
> > i am just curious to know why aac is not working with my version of
> ffmpeg
> >
> > [ ffmpeg Details :]
> >
> >
> > ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
> >   built on Oct 26 2013 06:29:32 with gcc 4.8.2 (GCC)
> >   configuration: --disable-static --enable-shared --enable-gpl
> > --enable-version3
> >  --disable-w32threads --enable-avisynth --enable-bzlib
> --enable-fontconfig
> > --ena
> > ble-frei0r --enable-gnutls --enable-iconv --enable-libass
> > --enable-libbluray --e
> > nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
> > --enable-lib
> > modplug --enable-libmp3lame --enable-libopencore-amrnb
> > --enable-libopencore-amrw
> > b --enable-libopenjpeg --enable-libopus --enable-librtmp
> > --enable-libschroedinge
> > r --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libtwolame
> > --en
> > able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
> > --enable-libvorbis
> >  --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs
> > --enable-
> > libxvid --enable-zlib
> >   libavutil  52. 38.100 / 52. 38.100
> >   libavcodec 55. 18.102 / 55. 18.102
> >   libavformat55. 12.100 / 55. 12.100
> >   libavdevice55.  3.100 / 55.  3.100
> >   libavfilter 3. 79.101 /  3. 79.101
> >   libswscale  2.  3.100 /  2.  3.100
> >   libswresample   0. 17.102 /  0. 17.102
> >   libpostproc52.  3.100 / 52.  3.100
> >
> >
> >
> > so any one can explain how i can make aac codec working with my ffmpeg
> >
> >
> > On Thu, Aug 3, 2017 at 1:26 PM, Karen Norton <norto...@gmail.com> wrote:
> >
> > > Hi all,
> > >
> > > I'm not entirely sure where this was left off but thought I would weigh
> > in.
> > > I looked at what your output stream is for audio and unless I'm reading
> > it
> > > wrong it looks like it's ac3. I had the same issues with ac3 and
> windows
> > > media player. VLC played the video fine. WMP played the video but there
> > was
> > > no audio. This of course is unrelated to ffmpeg. Supposedly some
> versions
> > > of WMP don't have the ac-3 filter enabled which is why it works in VLC
> > but
> > > not WMP. There are fixes for this by googling "windows media player and
> > ac3
> > > support". I still had issues even after trying some of these fixes so
> > just
> > > decided to re-encode with AVC for video and AAC for audio which seems
> to
> > > provide the greatest amount of support across all devices, players,
> etc.
> > I
> > > do this for all of my videos now and will (at some point) go back and
> do
> > my
> > > entire library.
> > >
> > > Hopefully this helps and if this has already been resolved then
> apologies
> > > for adding another email to the thread. :-)
> > >
> > > Cheers.
> > >
> > > On Thu, Aug 3, 2017 at 1:45 AM, akash kulkarni <kul.akash...@gmail.com
> >
> > > wrote:
> > >
> > > > i have some same kinda of problem,where i am converting MTS file to
> 

Re: [FFmpeg-user] MTS to MP4 lossless conversion issues

2017-08-03 Thread akash kulkarni
ffmpeg -i input -c:v copy -c:a aac -b:a 256k output.mp4

while executing

it gaves me error saying
[aac @ 02a802e0]
The encoder 'aac' is experimental but experimental codecs
are not enabled, add '-strict -2' if you want to use it.
[aac @ 02a802e0]
 Alternatively use the non experimental encoder
'libvo_aacenc'.

So i used
ffmpeg -i input.MTS -c:v copy -c:a libvo_aacenc -b:a 256k
mp4fro output.mp4

and it works .


i am just curious to know why aac is not working with my version of ffmpeg

[ ffmpeg Details :]


ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 26 2013 06:29:32 with gcc 4.8.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl
--enable-version3
 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--ena
ble-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --e
nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs
--enable-
libxvid --enable-zlib
  libavutil  52. 38.100 / 52. 38.100
  libavcodec 55. 18.102 / 55. 18.102
  libavformat55. 12.100 / 55. 12.100
  libavdevice55.  3.100 / 55.  3.100
  libavfilter 3. 79.101 /  3. 79.101
  libswscale  2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc52.  3.100 / 52.  3.100



so any one can explain how i can make aac codec working with my ffmpeg


On Thu, Aug 3, 2017 at 1:26 PM, Karen Norton <norto...@gmail.com> wrote:

> Hi all,
>
> I'm not entirely sure where this was left off but thought I would weigh in.
> I looked at what your output stream is for audio and unless I'm reading it
> wrong it looks like it's ac3. I had the same issues with ac3 and windows
> media player. VLC played the video fine. WMP played the video but there was
> no audio. This of course is unrelated to ffmpeg. Supposedly some versions
> of WMP don't have the ac-3 filter enabled which is why it works in VLC but
> not WMP. There are fixes for this by googling "windows media player and ac3
> support". I still had issues even after trying some of these fixes so just
> decided to re-encode with AVC for video and AAC for audio which seems to
> provide the greatest amount of support across all devices, players, etc. I
> do this for all of my videos now and will (at some point) go back and do my
> entire library.
>
> Hopefully this helps and if this has already been resolved then apologies
> for adding another email to the thread. :-)
>
> Cheers.
>
> On Thu, Aug 3, 2017 at 1:45 AM, akash kulkarni <kul.akash...@gmail.com>
> wrote:
>
> > i have some same kinda of problem,where i am converting MTS file to MP4 .
> >
> > problem is about audio is not playing in widows media player while it
> > playing well in VLC
> > so how could i convert mts to mp4 to play that mp4 file well in Windows
> > media player
> > please can you tell me ffmpeg command format to do so
> >
> > On Wed, Jul 12, 2017 at 8:46 PM, Nick Gilmour <nickefo...@gmail.com>
> > wrote:
> >
> > > Thanks for the reponses!
> > >
> > >
> > >
> > > *What is the output of$ ffmpeg -i 0.ffmpeg1.mp4??*
> > >
> > > ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg
> > > developers
> > >   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
> > >   configuration: --prefix=/usr --extra-version='1~16.04.york1'
> > > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> > > --incdir=/usr/include/x86_64-linux-gnu --enable-gpl
> --disable-stripping
> > > --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> > > --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> > > --enable-libcdio --enable-libflite --enable-libfontconfig
> > > --enable-libfreetype --enable-libfribidi --enable-libgme
> --enable-libgsm
> > > --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
> > > --enable-libopus --enable-libpulse --enable-librubberband
> > --enable-libshine
> > > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
> > > --enable-libtheora --enable-libtwolame --enable-libvorbis
> --enable-libvpx
> > > --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
&

Re: [FFmpeg-user] MTS to MP4 lossless conversion issues

2017-08-03 Thread akash kulkarni
Thanks I tried
ffmpeg -i xyz.mts -acodec copy -vcodec copy abc.mp4
How this abc file is playing in vlc with audio but not in Windows Media
player?

I will try out option you given thanks for help

On Aug 3, 2017 12:26 PM, "Jon bae" <jonba...@gmail.com> wrote:

2017-08-03 7:45 GMT+02:00 akash kulkarni <kul.akash...@gmail.com>:

> i have some same kinda of problem,where i am converting MTS file to MP4 .
>
> problem is about audio is not playing in widows media player while it
> playing well in VLC
> so how could i convert mts to mp4 to play that mp4 file well in Windows
> media player
> please can you tell me ffmpeg command format to do so
>
> On Wed, Jul 12, 2017 at 8:46 PM, Nick Gilmour <nickefo...@gmail.com>
> wrote:
>
> > Thanks for the reponses!
> >
> >
> >
> > *What is the output of$ ffmpeg -i 0.ffmpeg1.mp4??*
> >
> > ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg
> > developers
> >   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
> >   configuration: --prefix=/usr --extra-version='1~16.04.york1'
> > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> > --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
> > --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> > --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> > --enable-libcdio --enable-libflite --enable-libfontconfig
> > --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
> > --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
> > --enable-libopus --enable-libpulse --enable-librubberband
> --enable-libshine
> > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
> > --enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx
> > --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
> > --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
> > --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
> > --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264
> > --enable-shared
> >   WARNING: library configuration mismatch
> >   avcodec configuration: --prefix=/usr --extra-version='1~16.04.
> york1'
> > --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> > --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
> > --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> > --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> > --enable-libcdio --enable-libflite --enable-libfontconfig
> > --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
> > --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
> > --enable-libopus --enable-libpulse --enable-librubberband
> --enable-libshine
> > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
> > --enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx
> > --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
> > --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
> > --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
> > --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264
> > --enable-shared --enable-version3 --disable-doc --disable-programs
> > --enable-libopencore_amrnb --enable-libopencore_amrwb
> --enable-libtesseract
> > --enable-libvo_amrwbenc --enable-netcdf
> >   libavutil  55. 58.100 / 55. 58.100
> >   libavcodec 57. 89.100 / 57. 89.100
> >   libavformat57. 71.100 / 57. 71.100
> >   libavdevice57.  6.100 / 57.  6.100
> >   libavfilter 6. 82.100 /  6. 82.100
> >   libavresample   3.  5.  0 /  3.  5.  0
> >   libswscale  4.  6.100 /  4.  6.100
> >   libswresample   2.  7.100 /  2.  7.100
> >   libpostproc54.  5.100 / 54.  5.100
> > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '0.mp4':
> >   Metadata:
> > major_brand : isom
> > minor_version   : 512
> > compatible_brands: isomiso2avc1mp41
> > encoder : Lavf57.71.100
> >   Duration: 00:00:15.10, start: 0.00, bitrate: 12936 kb/s
> > Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661),
> yuv420p(tv),
> > 1280x720 [SAR 1:1 DAR 16:9], 12760 kb/s, 25 fps, 25 tbr, 90k tbn, 100
tbc
> > (default)
> > Metadata:
> >   handler_name: VideoHandler
> > Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo,
> > fltp, 192 kb/s (default)
> > Metadata:
> >   handler_name: Sound

Re: [FFmpeg-user] MTS to MP4 lossless conversion issues

2017-08-02 Thread akash kulkarni
i have some same kinda of problem,where i am converting MTS file to MP4 .

problem is about audio is not playing in widows media player while it
playing well in VLC
so how could i convert mts to mp4 to play that mp4 file well in Windows
media player
please can you tell me ffmpeg command format to do so

On Wed, Jul 12, 2017 at 8:46 PM, Nick Gilmour  wrote:

> Thanks for the reponses!
>
>
>
> *What is the output of$ ffmpeg -i 0.ffmpeg1.mp4??*
>
> ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg
> developers
>   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
>   configuration: --prefix=/usr --extra-version='1~16.04.york1'
> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
> --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> --enable-libcdio --enable-libflite --enable-libfontconfig
> --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
> --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine
> --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
> --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
> --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
> --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
> --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264
> --enable-shared
>   WARNING: library configuration mismatch
>   avcodec configuration: --prefix=/usr --extra-version='1~16.04.york1'
> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
> --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> --enable-libcdio --enable-libflite --enable-libfontconfig
> --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
> --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine
> --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
> --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
> --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
> --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
> --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264
> --enable-shared --enable-version3 --disable-doc --disable-programs
> --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract
> --enable-libvo_amrwbenc --enable-netcdf
>   libavutil  55. 58.100 / 55. 58.100
>   libavcodec 57. 89.100 / 57. 89.100
>   libavformat57. 71.100 / 57. 71.100
>   libavdevice57.  6.100 / 57.  6.100
>   libavfilter 6. 82.100 /  6. 82.100
>   libavresample   3.  5.  0 /  3.  5.  0
>   libswscale  4.  6.100 /  4.  6.100
>   libswresample   2.  7.100 /  2.  7.100
>   libpostproc54.  5.100 / 54.  5.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '0.mp4':
>   Metadata:
> major_brand : isom
> minor_version   : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf57.71.100
>   Duration: 00:00:15.10, start: 0.00, bitrate: 12936 kb/s
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv),
> 1280x720 [SAR 1:1 DAR 16:9], 12760 kb/s, 25 fps, 25 tbr, 90k tbn, 100 tbc
> (default)
> Metadata:
>   handler_name: VideoHandler
> Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo,
> fltp, 192 kb/s (default)
> Metadata:
>   handler_name: SoundHandler
> Side data:
>   audio service type: main
> At least one output file must be specified
>
> I have rerun the command and now I'm getting a WARNING: library
> configuration mismatch. I thinks it's because the Software Center forced me
> to remove a package...
>
>
> *Subtitles? Interesting, what do they contain? :)*
>
> Actually there are no subtitles. This is weird...
>
> To me this AVCHD format is uncomfortable. How am I supposed to separate the
> files? I want to have everything in a single file. Anyway, I have decided
> to convert the MTS files to mp4 and keep the AVCHD structure as a backup. I
> see no quality loss with the generated mp4.
>
>
> On Tue, Jul 11, 2017 at 1:34 PM, Moritz Barsnick  wrote:
>
> > On Mon, Jul 10, 2017 at 15:03:49 +0200, Nick Gilmour wrote:
> > > *track 1: codec frame size is not set*
> > > 1. I googled also about this but I still don't know what does that mean
> > and
> > > how I should deal with it. Is it an 

Re: [FFmpeg-user] about merging Multiple videos together

2017-07-28 Thread akash kulkarni
thanks , Thats nice of you Ajoy i will try it and check for possibilities

On Fri, Jul 28, 2017 at 9:16 PM, Ajoy Devadawson <ajoydaw...@gmail.com>
wrote:

> Akash,
>
> May be there is a better way to fix than my suggestion.  My approach was to
> change for each file to gop of 30 and fps of 30 thro ffmpeg and then concat
> the files.  I think the concat function is looking for I frames to concat
> and it might be confused if it has less I frames to work with. Try this and
> if it doesn't work, try even reducing gop and fps to 15. After all, you
> have a high bit rate of 9000k for a low resolution.  I will be glad to see
> how it works.
>
> Ajoy
>
> On Fri, Jul 28, 2017 at 6:47 AM, akash kulkarni <kul.akash...@gmail.com>
> wrote:
>
> > Thanks ajoy,
> >
> > I have
> >  Input #0, mpegts, from 'MTS_567i50_002.MTS':
> >  Duration: 00:01:32.15, start: 0.11, bitrate: 9424 kb/s
> >  Program 1
> >  Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
> > 720x576
> >  [SAR 2304:2160 DAR 4:3], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream
> >  #0:1[0x1100]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
> >  s16p, 192 kb/s
> >
> > such kind of files which i wanted to merge with 720*576 resolution
> > These files has GOP size of 33, After i  merge them at each joint point
> > they jerk is coming
> > when i looked frames with some application there are few frames of next
> > video mixed with
> > previous video and sometimes few black frames also so how could i remove
> > such unwanted frames and
> > make my video smooth.
> >
> > these videos Do have i frames after each 33rd frame so no question of key
> > frames would be there i guess.
> >
> > so can you tell me solution over this.
> >
> >
> > On Fri, Jul 28, 2017 at 2:12 AM, Ajoy Devadawson <ajoydaw...@gmail.com>
> > wrote:
> >
> > > I guess it could be a problem with keyframes.  If you could assign
> > > keyframes densely, this problem could be avoided.  Try assigning 1
> > keyframe
> > > per second for your individual files, then concat would join without
> any
> > > jerk.
> > >
> > > On Thu, Jul 27, 2017 at 12:03 AM, akash kulkarni <
> kul.akash...@gmail.com
> > >
> > > wrote:
> > >
> > > > DO i need to explain it more. can any 1 help out with this issue
> > > >
> > > >
> > > > On Wed, Jul 26, 2017 at 3:45 PM, akash kulkarni <
> > kul.akash...@gmail.com>
> > > > wrote:
> > > >
> > > > > hie friends ,
> > > > >   i am merging few files in mts and mpg formats
> > > using
> > > > > concat demux
> > > > >
> > > > > ffmpeg -f concat -i mylist.txt -c copy output
> > > > >
> > > > > but for MTS 720*576 (SD) format ,  at merge point of two files it
> > > adding
> > > > >
> > > > > few frames of next video and few blank frames also causing jerk .
> can
> > > > >
> > > > > nayone help me to solve the problem and remove those frames using
> > > ffmpeg
> > > > >
> > > > > command in above concat demux command.
> > > > >
> > > > > 'else'
> > > > >
> > > > > Can anyone suggest how i can merge all those files without any
> jerk.
> > > > >
> > > > > Hope anyone help me.
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > >
> > > > ___
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user@ffmpeg.org
> > > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >
> > > > To unsubscribe, visit link above, or email
> > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> > >
> > >
> > >
> > >
> > > --
> > > Ajoy A. Devadawson
> > > Email: ajoydaw...@gmail.com
> > > Mobile # 1-404-626-6340
> > > Skype: AjoyDawson
> > > ___
> > > ffmpeg-user mailing list
> > > ffmpeg-user@ffmpeg.org
> > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> > >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
>
>
>
> --
> Ajoy A. Devadawson
> Email: ajoydaw...@gmail.com
> Mobile # 1-404-626-6340
> Skype: AjoyDawson
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] about merging Multiple videos together

2017-07-28 Thread akash kulkarni
Thanks ajoy,

I have
 Input #0, mpegts, from 'MTS_567i50_002.MTS':
 Duration: 00:01:32.15, start: 0.11, bitrate: 9424 kb/s
 Program 1
 Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
720x576
 [SAR 2304:2160 DAR 4:3], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream
 #0:1[0x1100]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
 s16p, 192 kb/s

such kind of files which i wanted to merge with 720*576 resolution
These files has GOP size of 33, After i  merge them at each joint point
they jerk is coming
when i looked frames with some application there are few frames of next
video mixed with
previous video and sometimes few black frames also so how could i remove
such unwanted frames and
make my video smooth.

these videos Do have i frames after each 33rd frame so no question of key
frames would be there i guess.

so can you tell me solution over this.


On Fri, Jul 28, 2017 at 2:12 AM, Ajoy Devadawson <ajoydaw...@gmail.com>
wrote:

> I guess it could be a problem with keyframes.  If you could assign
> keyframes densely, this problem could be avoided.  Try assigning 1 keyframe
> per second for your individual files, then concat would join without any
> jerk.
>
> On Thu, Jul 27, 2017 at 12:03 AM, akash kulkarni <kul.akash...@gmail.com>
> wrote:
>
> > DO i need to explain it more. can any 1 help out with this issue
> >
> >
> > On Wed, Jul 26, 2017 at 3:45 PM, akash kulkarni <kul.akash...@gmail.com>
> > wrote:
> >
> > > hie friends ,
> > >   i am merging few files in mts and mpg formats
> using
> > > concat demux
> > >
> > > ffmpeg -f concat -i mylist.txt -c copy output
> > >
> > > but for MTS 720*576 (SD) format ,  at merge point of two files it
> adding
> > >
> > > few frames of next video and few blank frames also causing jerk . can
> > >
> > > nayone help me to solve the problem and remove those frames using
> ffmpeg
> > >
> > > command in above concat demux command.
> > >
> > > 'else'
> > >
> > > Can anyone suggest how i can merge all those files without any jerk.
> > >
> > > Hope anyone help me.
> > >
> > > Thanks in advance
> > >
> > >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
>
>
>
> --
> Ajoy A. Devadawson
> Email: ajoydaw...@gmail.com
> Mobile # 1-404-626-6340
> Skype: AjoyDawson
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] about merging Multiple videos together

2017-07-26 Thread akash kulkarni
DO i need to explain it more. can any 1 help out with this issue


On Wed, Jul 26, 2017 at 3:45 PM, akash kulkarni <kul.akash...@gmail.com>
wrote:

> hie friends ,
>   i am merging few files in mts and mpg formats using
> concat demux
>
> ffmpeg -f concat -i mylist.txt -c copy output
>
> but for MTS 720*576 (SD) format ,  at merge point of two files it adding
>
> few frames of next video and few blank frames also causing jerk . can
>
> nayone help me to solve the problem and remove those frames using ffmpeg
>
> command in above concat demux command.
>
> 'else'
>
> Can anyone suggest how i can merge all those files without any jerk.
>
> Hope anyone help me.
>
> Thanks in advance
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] about merging Multiple videos together

2017-07-26 Thread akash kulkarni
hie friends ,
  i am merging few files in mts and mpg formats using
concat demux

ffmpeg -f concat -i mylist.txt -c copy output

but for MTS 720*576 (SD) format ,  at merge point of two files it adding

few frames of next video and few blank frames also causing jerk . can

nayone help me to solve the problem and remove those frames using ffmpeg

command in above concat demux command.

'else'

Can anyone suggest how i can merge all those files without any jerk.

Hope anyone help me.

Thanks in advance
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] About concat

2017-07-18 Thread akash kulkarni
I have few format files and need to perform merge operation on them.
MP4 format concatenate working fine but for MPEG , MTS it's giving me jerk
at two merge points. I used -copy command without re-encoding and combine
those from files from text file containing path & name of those files.
Those video just lose sync of audio and video at merge point can ffmpeg
help to sync them at the time of joining these files without re-writing
that header and file data
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] about merging more than 1 videos

2017-07-06 Thread akash kulkarni
"media_type": "video", "key_frame": 0, "pkt_pts": 1902000, "pkt_pts_ti
me": "38.04", "pkt_dts": 1902000, "pkt_dts_time": "38.04",
"best_effort_
timestamp": 1902000, "best_effort_timestamp_time": "38.04",
"pkt_duration":
2000, "pkt_duration_time": "0.04", "pkt_pos": "117923788", "pkt_size":
"8841
7", "width": 1920, "height": 1080, "pix_fmt": "yuv420p",
"sample_aspect_ratio":
"1:1", "pict_type": "B", "coded_picture_number": 951,
"display_picture_number":
0, "interlaced_frame": 1, "top_field_first": 1, "repeat_pict": 0


how do i get this kind of info about video means which command should i use
with ffprobe

On Thu, Jul 6, 2017 at 2:08 PM, Cley Faye <cleyf...@gmail.com> wrote:

> 2017-07-06 10:27 GMT+02:00 akash kulkarni <kul.akash...@gmail.com>:
>
> > Hello there,
> > i am using the ffmpeg -copy command and merging multiple files from text
> > file
> > without re-encoding but its giving me jerk at the joint point of two
> files.
> > How could i vanish that jerk.
>
>
> ​This depends on your source material (codec, settings of each files), how
> they were made/cut, and on the exact command line you're using with ffmpeg.
> Without any info, it's hard to tell.
>
> For reference, I can stitch together multiple video without hiccups and
> without doing much more than put their name in a file, use concat, and set
> codec to copy.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] about merging more than 1 videos

2017-07-06 Thread akash kulkarni
Hello there,
i am using the ffmpeg -copy command and merging multiple files from text
file
without re-encoding but its giving me jerk at the joint point of two files.
How could i vanish that jerk.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".