Re: [FFmpeg-user] Samsung HT-D330K codec issue

2017-01-05 Thread James Darnley
On 2017-01-05 22:26, Moritz Barsnick wrote:
> * -b:a 4M   # restrict the video bitrate to 4 Mbit/s

I would suggest -vb (or -b:v in the modern parlance) to set the video
bitrate.




signature.asc
Description: OpenPGP 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".

Re: [FFmpeg-user] Samsung HT-D330K codec issue

2017-01-05 Thread Moritz Barsnick
On Thu, Jan 05, 2017 at 15:15:47 +0200, Mike Stroud wrote:
> Filename: WMV / DivX
> File Extension: WMV / AVI
> Bitrate: 4Mbps
> Version: V1, V2, V3, V7 / DivX3.11 - DivX5.1
> Pixel: 720x480
> Sampling Frequency: 44.1 KHz - 48KHz
> 
> ...none of which means a lot to me!

File extension are the letters at the end of the filename, separated by
a dot.

Filename: I'm sure they mean something else.

Version: Those are codec versions. Before the '/' probably WMV (or
ASF), behind the '/' are DivX codec versions. (It must be a very old
TV.)

Pixel: That's the video resolution (i.e. size). Whether maximum or
exact is not clear.

Bitrate: exactly that. Presumably the maximum, either for video or
overall.

Sampling frequency: The audio sampling frequency.

> I was hoping that someone would be able to help me: I either get
> nothing at all when I plug my USB stick into the Samsung's USB port,
> or I get an unsupported codec error. On a few occasions I get an error
> stating that my resolution is greater than 720x480. Other times I get
> really badly synchronised sound! Sometimes I can play both AVIs and
> MP4s, and other times neither of them... so I'm thinking I have a
> codec issue.

You can play MP4s? The quoted documentation does not say so. Well, DivX
is basically MP4, but with some restrictions.

> There must be a "generic" script that I can use to convert video files
> into a format that this video player can read...

I'm sure there are other forums discussing the exact encoding
parameters which can be used. Note that players which support only
these un-modern codecs tend to be quite picky about the videos - that
must be your issue. See threads like this:
https://ffmpeg.org/pipermail/ffmpeg-user/2012-September/009422.html

Otherwise, you need to try to stick to those specs first: Reencode
using ffmpeg and the options:

* -vf scale=720:480 # to match to resolution requirement
* -ar 48000 # if your input is not already 44100 or 48000, check with 
ffprobe first
* -b:a 4M   # restrict the video bitrate to 4 Mbit/s
* -c:v mpeg4 (or -c:v libxvid, if you still have it).

Then, you may need to tune some encoding parameters, because DivX has
some restrictions versus MP4:
https://en.wikipedia.org/wiki/DivX#DivX_profiles
(column "Home Theater" probably). Now we're deep into expert area, and
you should find someone who has already tuned MP4 for DivX5 or for your
TV. I'm not of much help here. ;-)

If it still doesn't work with some of the hints here, show us the
command line, and let's see where else you may need to tune. I'll be
trial and error.

Cheers,
Moritz
___
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] does flv support the metadata of rotation as mov ?

2017-01-05 Thread Moritz Barsnick
On Thu, Jan 05, 2017 at 15:08:09 +0800, qw wrote:

> I have read the source code of movenc.c, which supports the metadata
> of rotation. Does flv support 'rotation' like mov?

From what I read in the FLV specification:
https://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf
FLV also supports the MVHD and TKHD atoms, like MOV, including the
TransformMatrix, which seems repsonsible for the rotation. So in
general, FLV seems to support rotation "tags", and ffmpeg can interpret
(decode) them. And from what I can tell (at a quick glance), the code
for generation FLVs in movenc.c also used the MOV rotation code.

So, probably: Yes. :-)

Have you tried?

Moritz
___
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] Stream UDP Multicast from Image

2017-01-05 Thread Moritz Barsnick
On Tue, Jan 03, 2017 at 17:56:37 -0200, Welisson Tomé wrote:
> Here you go the report from ffmpeg output. 
> http://pastebin.com/u8dKf8MJ 

I asked you to post it here, but ... oh well.

> ffmpeg version N-44806-g3553b81-   http://johnvansickle.com/ffmpeg/ Copyright 
> (c) 2000-2015 the FFmpeg developers

This version is 20 months old. ffmpeg does go through a lot of
development, incl. bugfixing. Please take the time to test a newer
version first, especially when it's as easy as grabbing and unpacking
https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-32bit-static.tar.xz

> Trailing options were found on the commandline.
[...]
> Codec AVOption deadline (Time to spend encoding, in microseconds.) specified 
> for output file #0 
> (udp://224.1.1.2:5000?localaddr=10.10.2.3_size=188=64=700) 
> has not been used for any stream. The most likely reason is either wrong type 
> (e.g. a video option with no video streams) or that it is a private option of 
> some encoder which was not actually used for any stream.

Please note that your command line may not be doing what you expect it
to. (This shouldn't have an effect on your issue.)


Apart from that: I tested your command line (with an 1920x1080 PNG of
my own, and streaming to the same machine) and neither "ffmpeg -i" nor
VLC interrupted while playing the stream. So "works for me".

Please try a newer ffmpeg. If that still has issues, you should try to
stream from/to the same machine, to see whether that solves the issue.
Perhaps some UDP packets are lost on your link.

Moritz
___
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] Samsung HT-D330K codec issue

2017-01-05 Thread Mike Stroud
Hello all,

I am having problems creating MP4s and AVIs to copy to a USB stick and
then play on my old Samsung HT-D330K Home Theatre system. I am running
Ubuntu 16.10 64bit on an HP laptop.

The USB documentation for the Samsung tell me the following:

Filename: WMV / DivX
File Extension: WMV / AVI
Bitrate: 4Mbps
Version: V1, V2, V3, V7 / DivX3.11 - DivX5.1
Pixel: 720x480
Sampling Frequency: 44.1 KHz - 48KHz

...none of which means a lot to me!

I was hoping that someone would be able to help me: I either get
nothing at all when I plug my USB stick into the Samsung's USB port,
or I get an unsupported codec error. On a few occasions I get an error
stating that my resolution is greater than 720x480. Other times I get
really badly synchronised sound! Sometimes I can play both AVIs and
MP4s, and other times neither of them... so I'm thinking I have a
codec issue.

There must be a "generic" script that I can use to convert video files
into a format that this video player can read...

Many thanks!

Mike Stroud,
Midrand, South Africa
___
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] OpenEXR input with cropped data window produces black output

2017-01-05 Thread Kevin Wheatley
As a partial fix I've submitted a patch here:

https://ffmpeg.org/pipermail/ffmpeg-devel/2017-January/205267.html

That fixes the simple cases.

Kevin
___
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] does flv support the metadata of rotation as mov ?

2017-01-05 Thread Steven Liu
2017-01-05 15:08 GMT+08:00 qw :

> Hi,
>
>
> I have read the source code of movenc.c, which supports the metadata of
> rotation. Does flv support 'rotation' like mov?
>
what do you want to do in flv use rotation? Is that a usual attribute?

>
>
> Thanks!
>
>
> Regards
>
>
> Andrew
> ___
> 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".