Re: [FFmpeg-user] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Carl Eugen Hoyos
2018-11-08 13:35 GMT+01:00, Reindl Harald :

>> PS: There is no release support on this mailing list, release support
>> may exist on the bug tracker of your distribution
>
> I AM the distribution

Then please start with fixing your configure line, you know
that it contains several issues that make the binaries not
valid for support here.

Carl Eugen
___
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] Blocking frames with -acodec aac

2018-11-08 Thread Tato Rocker
I am making video conversions from .avi to .mp4. After updating the linux
kernel I can not use the library "libfaac" otherwise I am using the option
"-acodec aac -strict experimental" that works in most cases, but there are
certain videos that are blocked in a frame.

I'm looking for an alternative that can use the aac codec or try that if a
frame blocks the process, that frame can be ignored.

Thank you.
___
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] Blocking frames with -acodec aac

2018-11-08 Thread Carl Eugen Hoyos
2018-11-08 14:17 GMT+01:00, Tato Rocker :
> I am making video conversions from .avi to .mp4. After updating the linux
> kernel I can not use the library "libfaac" otherwise I am using the option

> "-acodec aac -strict experimental" that works in most cases, but there are
> certain videos that are blocked in a frame.

Please provide such a video and explain how we can reproduce the issue.

Carl Eugen
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Paul B Mahol
On 11/8/18, Reindl Harald  wrote:
> that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80]
> Could not find tag for codec mpeg4 in stream #0, codec not currently
> supported in container"

Probably because it was never valid?
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Carl Eugen Hoyos
2018-11-08 13:21 GMT+01:00, Reindl Harald :
> that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80]
> Could not find tag for codec mpeg4 in stream #0, codec not currently
> supported in container"
>
> /usr/local/bin/ffmpeg -hide_banner -i
> '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k' -bt
> '64k' -maxrate '544k' -ar '44100' -ac '2' -r '25' -vf
> 'scale=480:266,setdar=16/9,pad=480:270:0:2:00' -async '1' -f 'mp4'
> -codec:v 'mpeg4' -codec:a 'aac' -strict 'experimental' -cutoff '15000'
> -vtag 'xvid' -threads '4' -metadata 'creation_time=2018-11-08T13:13:16'
> '/mnt/data/autotest/parts/ffmpeg/targets/test.xvid'

Please understand that -hide_banner makes bug reports useless
and please provide command line (without -hide_banner) including
complete, uncut console output for a version that does not show
above error.

Carl Eugen

PS: There is no release support on this mailing list, release support
may exist on the bug tracker of your distribution.
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Reindl Harald


Am 08.11.18 um 13:33 schrieb Paul B Mahol:
> On 11/8/18, Reindl Harald  wrote:
>>
>> Am 08.11.18 um 13:24 schrieb Paul B Mahol:
>>> On 11/8/18, Reindl Harald  wrote:
 that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80]
 Could not find tag for codec mpeg4 in stream #0, codec not currently
 supported in container"
>>>
>>> Probably because it was never valid?
>>
>> bla
>>
>> https://trac.ffmpeg.org/wiki/Encode/MPEG-4
>>
>>  ...and the native encoder mpeg4:
>>
>> ffmpeg -i input.avi -c:v mpeg4 -vtag xvid output.avi
>>
>> The native encoder has the advantage of not requiring an external
>> library. Both encoders should provide a similar output, but for lower
>> bitrates/quality (e.g. 1000 kBit/s for 720p content), libxvid will
>> deliver better quality than mpeg4.
> 
> Some minimal knowledge is required to work with ffmpeg.
> In your case avi container is one thing and mp4 is another
and why can't you simply give a useful answer instead a smartass
"Probably because it was never valid?" to not waste everybodys time?
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Reindl Harald


Am 08.11.18 um 13:46 schrieb Carl Eugen Hoyos:
> 2018-11-08 13:43 GMT+01:00, Reindl Harald :
>> to not waste everybodys time?
> 
> I may miss something but so far I had the impression that you
> were wasting everybody's time by making untested claims in
> your original mail.

did i?
where?

that command line is unchanged for at least 5 years and so that it
worked (perfectly correct or not is irrelevant) before ffmpeg-4.1 is not
a untested claim but fact
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Paul B Mahol
On 11/8/18, Paul B Mahol  wrote:
> On 11/8/18, Reindl Harald  wrote:
>>
>>
>> Am 08.11.18 um 13:45 schrieb Carl Eugen Hoyos:
>>> 2018-11-08 13:35 GMT+01:00, Reindl Harald :
>>>
> PS: There is no release support on this mailing list, release support
> may exist on the bug tracker of your distribution

 I AM the distribution
>>>
>>> Then please start with fixing your configure line, you know
>>> that it contains several issues that make the binaries not
>>> valid for support here.
>>
>> god damned - all that bullshit nitpicking about snapshots and configure
>> lines is so useless when the answer would have been "-f avi" instead "-f
>> mp4", not more and not less
>
> It could be supported by mp4, but someone needs to dig under tons of
> specifications.
>

xvid/XVID vtag is supported by .mov
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Reindl Harald

Am 08.11.18 um 13:24 schrieb Paul B Mahol:
> On 11/8/18, Reindl Harald  wrote:
>> that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80]
>> Could not find tag for codec mpeg4 in stream #0, codec not currently
>> supported in container"
> 
> Probably because it was never valid?

bla

https://trac.ffmpeg.org/wiki/Encode/MPEG-4

 ...and the native encoder mpeg4:

ffmpeg -i input.avi -c:v mpeg4 -vtag xvid output.avi

The native encoder has the advantage of not requiring an external
library. Both encoders should provide a similar output, but for lower
bitrates/quality (e.g. 1000 kBit/s for 720p content), libxvid will
deliver better quality than mpeg4.
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Carl Eugen Hoyos
2018-11-08 13:43 GMT+01:00, Reindl Harald :
> to not waste everybodys time?

I may miss something but so far I had the impression that you
were wasting everybody's time by making untested claims in
your original mail.

Carl Eugen
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Paul B Mahol
On 11/8/18, Reindl Harald  wrote:
>
>
> Am 08.11.18 um 13:45 schrieb Carl Eugen Hoyos:
>> 2018-11-08 13:35 GMT+01:00, Reindl Harald :
>>
 PS: There is no release support on this mailing list, release support
 may exist on the bug tracker of your distribution
>>>
>>> I AM the distribution
>>
>> Then please start with fixing your configure line, you know
>> that it contains several issues that make the binaries not
>> valid for support here.
>
> god damned - all that bullshit nitpicking about snapshots and configure
> lines is so useless when the answer would have been "-f avi" instead "-f
> mp4", not more and not less

It could be supported by mp4, but someone needs to dig under tons of
specifications.
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Carl Eugen Hoyos
2018-11-08 13:56 GMT+01:00, Reindl Harald :
>
>
> Am 08.11.18 um 13:46 schrieb Carl Eugen Hoyos:
>> 2018-11-08 13:43 GMT+01:00, Reindl Harald :
>>> to not waste everybodys time?
>>
>> I may miss something but so far I had the impression that you
>> were wasting everybody's time by making untested claims in
>> your original mail.
>
> did i?
> where?


that worked over many years


Carl Eugen
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Carl Eugen Hoyos
2018-11-08 14:12 GMT+01:00, Reindl Harald :
>
>
> Am 08.11.18 um 14:09 schrieb Carl Eugen Hoyos:
>> 2018-11-08 13:56 GMT+01:00, Reindl Harald :
>>>
>>>
>>> Am 08.11.18 um 13:46 schrieb Carl Eugen Hoyos:
 2018-11-08 13:43 GMT+01:00, Reindl Harald :
> to not waste everybodys time?

 I may miss something but so far I had the impression that you
 were wasting everybody's time by making untested claims in
 your original mail.
>>>
>>> did i?
>>> where?
>>
>> 
>> that worked over many years
>> 
>
> which is true - the command did not fail - period
> now it fails - the question was why - period

As said: Please also provide the command line
(without -hide_banner) including console output for
the version that did not fail.

Carl Eugen
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Paul B Mahol
On 11/8/18, Reindl Harald  wrote:
>
> Am 08.11.18 um 13:24 schrieb Paul B Mahol:
>> On 11/8/18, Reindl Harald  wrote:
>>> that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80]
>>> Could not find tag for codec mpeg4 in stream #0, codec not currently
>>> supported in container"
>>
>> Probably because it was never valid?
>
> bla
>
> https://trac.ffmpeg.org/wiki/Encode/MPEG-4
>
>  ...and the native encoder mpeg4:
>
> ffmpeg -i input.avi -c:v mpeg4 -vtag xvid output.avi
>
> The native encoder has the advantage of not requiring an external
> library. Both encoders should provide a similar output, but for lower
> bitrates/quality (e.g. 1000 kBit/s for 720p content), libxvid will
> deliver better quality than mpeg4.

Some minimal knowledge is required to work with ffmpeg.

In your case avi container is one thing and mp4 is another.
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Reindl Harald


Am 08.11.18 um 13:29 schrieb Carl Eugen Hoyos:
> 2018-11-08 13:21 GMT+01:00, Reindl Harald :
>> that worked over many years now and with 4.1 "[mp4 @ 0x5618adfe4b80]
>> Could not find tag for codec mpeg4 in stream #0, codec not currently
>> supported in container"
>>
>> /usr/local/bin/ffmpeg -hide_banner -i
>> '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k' -bt
>> '64k' -maxrate '544k' -ar '44100' -ac '2' -r '25' -vf
>> 'scale=480:266,setdar=16/9,pad=480:270:0:2:00' -async '1' -f 'mp4'
>> -codec:v 'mpeg4' -codec:a 'aac' -strict 'experimental' -cutoff '15000'
>> -vtag 'xvid' -threads '4' -metadata 'creation_time=2018-11-08T13:13:16'
>> '/mnt/data/autotest/parts/ffmpeg/targets/test.xvid'
> 
> Please understand that -hide_banner makes bug reports useless
> and please provide command line (without -hide_banner) including
> complete, uncut console output for a version that does not show
> above error.

[harry@rh:~]$ /usr/local/bin/ffmpeg -i
'/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k' -bt
'64k' -maxrate '544k' -ar '44100' -ac '2' -r '25' -vf
'scale=480:266,setdar=16/9,pad=480:270:0:2:00' -async '1' -f 'mp4'
-codec:v 'mpeg4' -codec:a 'aac' -strict 'experimental' -cutoff '15000'
-vtag 'xvid' -threads '4' -metadata 'creation_time=2018-11-08T13:13:16'
'/mnt/data/autotest/parts/ffmpeg/targets/test.xvid'
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr/local --bindir=/usr/local/bin
--mandir=/usr/local/man
--extra-cflags='-I/rpmbuild/BUILD/ffmpeg-20181108/x264-static -m64 -O2
-g0 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-ftree-slp-vectorize -fopt-info-vec-optimized -fopenmp -pipe
-fno-strict-aliasing -fomit-frame-pointer -fexceptions
-fno-asynchronous-unwind-tables -fstack-protector-strong
--param=ssp-buffer-size=6 -Wp,-D_FORTIFY_SOURCE=2 -Wstack-protector
-Wformat -Werror=format-security -O3 -fno-strict-aliasing
-fno-tree-vectorize -ftree-slp-vectorize -fno-gcse-after-reload
-fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops
-fno-predictive-commoning -fno-tree-loop-distribute-patterns
-fno-unswitch-loops -Os -fno-strict-aliasing -fno-tree-vectorize
-ftree-slp-vectorize -falign-functions -falign-jumps -falign-loops
-fno-align-labels -fexpensive-optimizations -fmove-loop-invariants
-foptimize-strlen -fexpensive-optimizations -foptimize-strlen -fdce
-fdse -ftree-ch -ftree-dce -ftree-dse -fsplit-paths -fpeel-loops -fPIC
-flto=10 -ffat-lto-objects -fwhole-program -Wno-pointer-sign
-Wno-array-bounds -Wno-format-truncation -Wno-deprecated-declarations
-Wno-strict-overflow -Wno-discarded-qualifiers -Wno-address
-Wno-unused-variable -Wno-unused-function -Wno-unused-result
-Wno-misleading-indentation -fuse-ld=gold -fuse-linker-plugin
-Wa,--noexecstack'
--extra-ldflags='-I/rpmbuild/BUILD/ffmpeg-20181108/x264-static
-L/rpmbuild/BUILD/ffmpeg-20181108/x264-static -ldl -Wl,--as-needed
-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -m64 -O2 -g0 -mfpmath=sse
-mavx -msse2avx -march=sandybridge -mtune=sandybridge
-ftree-slp-vectorize -fopt-info-vec-optimized -fopenmp -pipe
-fno-strict-aliasing -fomit-frame-pointer -fexceptions
-fno-asynchronous-unwind-tables -fstack-protector-strong
--param=ssp-buffer-size=6 -Wp,-D_FORTIFY_SOURCE=2 -Wstack-protector
-Wformat -Werror=format-security -O3 -fno-strict-aliasing
-fno-tree-vectorize -ftree-slp-vectorize -fno-gcse-after-reload
-fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops
-fno-predictive-commoning -fno-tree-loop-distribute-patterns
-fno-unswitch-loops -Os -fno-strict-aliasing -fno-tree-vectorize
-ftree-slp-vectorize -falign-functions -falign-jumps -falign-loops
-fno-align-labels -fexpensive-optimizations -fmove-loop-invariants
-foptimize-strlen -fexpensive-optimizations -foptimize-strlen -fdce
-fdse -ftree-ch -ftree-dce -ftree-dse -fsplit-paths -fpeel-loops -fPIC
-flto=10 -ffat-lto-objects -fwhole-program -Wno-pointer-sign
-Wno-array-bounds -Wno-format-truncation -Wno-deprecated-declarations
-Wno-strict-overflow -Wno-discarded-qualifiers -Wno-address
-Wno-unused-variable -Wno-unused-function -Wno-unused-result
-Wno-misleading-indentation -pie -fPIE -fuse-ld=gold -fuse-linker-plugin
-Wa,--noexecstack' --ar=gcc-ar --ranlib=true --enable-lto --enable-gpl
--enable-libmp3lame --enable-libtheora --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree --enable-openssl --enable-pic
--enable-runtime-cpudetect --enable-static --enable-version3
--disable-amd3dnow --disable-amd3dnowext --disable-avdevice
--disable-debug --disable-devices --disable-ffplay --disable-ffprobe
--disable-htmlpages --disable-hwaccels --disable-iconv
--disable-libdc1394 --disable-libfreetype --disable-libgsm
--disable-libopencore-amrnb --disable-libopencore-amrwb
--disable-libopencv --disable-libopenjpeg --disable-libopus
--disable-librtmp --disa

Re: [FFmpeg-user] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Reindl Harald


Am 08.11.18 um 13:45 schrieb Carl Eugen Hoyos:
> 2018-11-08 13:35 GMT+01:00, Reindl Harald :
> 
>>> PS: There is no release support on this mailing list, release support
>>> may exist on the bug tracker of your distribution
>>
>> I AM the distribution
> 
> Then please start with fixing your configure line, you know
> that it contains several issues that make the binaries not
> valid for support here.

god damned - all that bullshit nitpicking about snapshots and configure
lines is so useless when the answer would have been "-f avi" instead "-f
mp4", not more and not less
___
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] -vtag 'xvid' broken in 4.1

2018-11-08 Thread Reindl Harald


Am 08.11.18 um 14:09 schrieb Carl Eugen Hoyos:
> 2018-11-08 13:56 GMT+01:00, Reindl Harald :
>>
>>
>> Am 08.11.18 um 13:46 schrieb Carl Eugen Hoyos:
>>> 2018-11-08 13:43 GMT+01:00, Reindl Harald :
 to not waste everybodys time?
>>>
>>> I may miss something but so far I had the impression that you
>>> were wasting everybody's time by making untested claims in
>>> your original mail.
>>
>> did i?
>> where?
> 
> 
> that worked over many years
> 

which is true - the command did not fail - period
now it fails - the question was why - period

that has nothing to do with your obsessive compulsive disorder or
anything else - that whole thread could have been solved in one single
response

period
___
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] FFServer simple source code for RTSP streamer

2018-11-08 Thread Harshil Makwana
Hi All,

I am using ffmpeg 3.4 release for encoding purpose, and I have seen that it
is the last release which contains ffserver.

I want to use ffserver on my ARM based board, and I want to customise it, I
have searched a lot on net, but can not find any sample code of ffserver
which can be used only as an RTSP server.

Can someone help me with this?

Thanks in advance,
Harshil Makwana
___
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] can't reorder streams and concatenate vob's

2018-11-08 Thread sean darcy

On 11/8/18 1:59 PM, Nicolas George wrote:

sean darcy (2018-11-08):

I'm trying to reorder streams in a VOB.


Not possible: the streams in a VOB are not ordered. This is not a
limitation of FFmpeg, this is a property of the format.

Regards,



Ok. So is it possible to concatenate 2 vob's where the audio and video 
don't have the same stream numbers ?


Do I need to change the container ? If so, what container would work ?

For instance, what should be the filename extension in this script ?

for input in *.VOB ; do
  ffmpeg -i $input -c copy  $(basename $input .VOB).[???]
  echo $(basename $input .VOB).[???] >> concat.txt
done
ffmpeg -f concat -i concat.txt ..out.mp4

Bigger question : is the concatenation problem here the stream numbers ?

___
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] can't reorder streams and concatenate vob's

2018-11-08 Thread Nicolas George
sean darcy (2018-11-08):
> Ok. So is it possible to concatenate 2 vob's where the audio and video don't
> have the same stream numbers ?

VOB do not have stream numbers (FFmpeg is inventing them on the fly), so
the question does not make any sense.

> for input in *.VOB ; do
>   ffmpeg -i $input -c copy  $(basename $input .VOB).[???]
>   echo $(basename $input .VOB).[???] >> concat.txt
> done
> ffmpeg -f concat -i concat.txt ..out.mp4
> 
> Bigger question : is the concatenation problem here the stream numbers ?

In this instance, if the files are the ones you have shown earlier,
yes, the order in which FFmpeg detects the streams is the problem.

I suggest you read the documentation of the concat demuxer to the end,
the answer to your question is there.

Note that VOB files are also concatenable at the container level,
provided they do not contain extra junk at the beginning or the end (if
you got them directly from a DVD Video filesystem, they do and you
should NOT be using them directly).

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
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] My rtmp stream can't play by web,any suggestion?

2018-11-08 Thread zhangkai.gis
Hi,
I publish a rtmp stream on intenet.I can play it with vlc.But I can't play 
it with video.js,howerver other public rtmp stream the video.js can play.which 
web player do you use?any suggestions?
Many thanks,
zhangkai
___
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] My rtmp stream can't play by web,any suggestion?

2018-11-08 Thread Nikhil Yadav
RTMP is proprietary solution of Adobe and can be played using flash player.

There are some web players which are not free but are cheap.
You can use JWPlayer

Alternatively you can use Clappr player with RTMP plugin

On Fri, Nov 9, 2018, 8:01 AM zhangkai.gis  wrote:

> Hi,
> I publish a rtmp stream on intenet.I can play it with vlc.But I can't
> play it with video.js,howerver other public rtmp stream the video.js can
> play.which web player do you use?any suggestions?
> Many thanks,
> zhangkai
> ___
> 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] can't reorder streams and concatenate vob's

2018-11-08 Thread sean darcy

I'm trying to reorder streams in a VOB.

ffprobe old-B.VOB
..
Input #0, mpeg, from 'old-B.VOB':
  Duration: 00:03:30.02, start: 0.50, bitrate: 8112 kb/s
Stream #0:0[0x80]: Audio: ac3, 48000 Hz, mono, fltp, 384 kb/s
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, 
progressive), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 
59.94 tbc



I do this:
ffmpeg -i old-B.VOB -map 0:1 -map 0:0 -c copy B.VOB
ffmpeg version git-snapshot-20180928-RPMFusion Copyright (c) 2000-2018 
the FFmpeg developers

.
Input #0, mpeg, from 'old-B.VOB':
  Duration: 00:03:30.02, start: 0.50, bitrate: 8112 kb/s
Stream #0:0[0x80]: Audio: ac3, 48000 Hz, mono, fltp, 384 kb/s
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, 
progressive), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 
59.94 tbc

[svcd @ 0x18d1380] VBV buffer size not set, using default size of 230KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, svcd, to 'B.VOB':
  Metadata:
encoder : Lavf58.18.103
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, progressive), 
720x480 [SAR 8:9 DAR 4:3], q=2-31, 29.97 fps, 59.94 tbr, 90k tbn, 29.97 tbc

Stream #0:1: Audio: ac3, 48000 Hz, mono, fltp, 384 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)

which looks like it works.

BUT:

ffprobe B.VOB

Input #0, mpeg, from 'B.VOB':
  Duration: 00:03:30.02, start: 0.50, bitrate: 8112 kb/s
Stream #0:0[0x80]: Audio: ac3, 48000 Hz, mono, fltp, 384 kb/s
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, 
progressive), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 
59.94 tbc


I'm trying to reorder the streams to make concatenation work. I can 
encode each of B.VOB and C.VOB into mp4 without problems.



ffprobe C.VOB

Input #0, mpeg, from 'C.VOB':
  Duration: 00:02:46.50, start: 0.533367, bitrate: 6297 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top 
first), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc

Stream #0:1[0x80]: Audio: ac3, 48000 Hz, mono, fltp, 192 kb/s


But concatenation does not work.
cat BC.txt
file 'B.VOB'
file 'C.VOB'

ffmpeg -f concat -i BC.txt  -r 24000/1001 -flags +ilme+ildct -c:a copy 
list.mp4

...
Input #0, concat, from 'BC.txt':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Audio: ac3, 48000 Hz, mono, fltp, 384 kb/s
Stream #0:1: Video: mpeg2video (Main), yuv420p(tv, progressive), 
720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 90k tbc

Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x18ff4c0] interlace + weightp is not implemented
[libx264 @ 0x18ff4c0] using SAR=8/9
[libx264 @ 0x18ff4c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 
AVX FMA3 BMI2 AVX2

[libx264 @ 0x18ff4c0] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x18ff4c0] 264 - core 157 - H.264/MPEG-4 AVC codec

[mp4 @ 0x1744180] track 1: codec frame size is not set
Output #0, mp4, to 'list.mp4':
  Metadata:
encoder : Lavf58.18.103
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 
720x480 [SAR 8:9 DAR 4:3], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc

Metadata:
  encoder : Lavc58.31.101 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, mono, fltp, 
384 kb/s
[mpeg2video @ 0x1777e00] ignoring extra picture following a 
frame-picture7kbits/s dup=12 drop=0 speed=9.43x

Last message repeated 2 times
[mpeg2video @ 0x1777e00] Missing picture start code
[mpeg2video @ 0x1777e00] ignoring extra picture following a frame-picture
Last message repeated 2 times
[mp4 @ 0x1744180] Non-monotonous DTS in output stream 0:1; previous: 
10079232, current: 10079166; changing to 10079233. This may result in 
incorrect timestamps in the output file.

[mpeg2video @ 0x1777e00] ignoring extra picture following a frame-picture
Last message repeated 2 times
[mpeg2video @ 0x1777e00] Missing picture start code
[mpeg2video @ 0x1777e00] ignoring extra picture following a frame-picture
[mpeg2video @ 0x1777e00] Missing picture start code
[mpeg2video @ 0x1777e00] ignoring extra picture following a frame-picture
[mpeg2video @ 0x1777e00] Missing picture start code
[mpeg2video @ 0x1777e00] slice below image (128 >= 30)
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x1777e00] ignoring extra picture following a frame-picture
Last message repeated 11 times
..

The errors start about where C.VOB begins. I'm guessing the problem is 
that the a/v streams are different in each vob.


I also tried -map  :

ffmpeg -f concat -i BC.txt  -r 24000/1001 -flags