Re: [FFmpeg-user] h264 mkvs fail on TV/gigablue after conversion

2017-07-24 Thread Frank Steiner
Moritz Barsnick wrote > This is it. Your working input video is profile High, level 4.1. ffmpeg > is choosing profile High, level 5.1.[*] It is a choice implied by the > "veryslow" preset, but you can override it specifically by adding > "-profile high -level 4.1" > (or whatever your hardware pl

Re: [FFmpeg-user] Streaming Syntax error

2017-07-24 Thread Gyan
On Tue, Jul 25, 2017 at 10:59 AM, Mettavihari D wrote: > Reading option '-b:a 128k' ... matched as option 'b' (video bitrate > (please use -b:v)) with argument '-vcodec'. > Reading option 'libx264' ... matched as output url. > Remove the quotes surrounding the whole of -b:a 128k and quote them

Re: [FFmpeg-user] SEGMENT_TYPE_FMP4 with HLS_SINGLE_FILE

2017-07-24 Thread Steven Liu
2017-07-25 13:44 GMT+08:00 pablo platt : > Hi, > > A recent commit added fmp4 support for HLS [1] but byte-range or > single-file isn't supported [2]. > Being able to use a single mp4 file for both Dash and HLS will be super > useful. > Any plans to add it? > What's missing? > Is mp4 different than

[FFmpeg-user] SEGMENT_TYPE_FMP4 with HLS_SINGLE_FILE

2017-07-24 Thread pablo platt
Hi, A recent commit added fmp4 support for HLS [1] but byte-range or single-file isn't supported [2]. Being able to use a single mp4 file for both Dash and HLS will be super useful. Any plans to add it? What's missing? Is mp4 different than mpegts in regards to byte-range support? [1] https://git

Re: [FFmpeg-user] Streaming Syntax error

2017-07-24 Thread Mettavihari D
y is to add the > option "-report" to the command line, and then grab the resulting file > "ffmpeg-20170724-162640.log" (or similar) and show us the top where it > says: I am not able to interpret the information below and would like to have your advice I have cut out t

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Ute Willmore
I understand what you mean, Moritz! I used to work under UNIX so command line was all I used. It's been a while since then, but when I use a tool like ffmpeg it comes back quickly. Looking at the command line documentation for VLC yesterday, I got confused. The problem is, that they allow you (or f

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Moritz Barsnick
On Mon, Jul 24, 2017 at 16:07:00 -0600, Ute Willmore wrote: > confirm a bug. VLC allows you to use ffmpeg to convert a video from the > command line and I want to see what the output looks like before I report a > bug. Actually, vlc (or the command line version cvlc) has its own "engine" for conve

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Ute Willmore
Gyan, thanks for getting back to me and taking the time to explain. I am not sure how they are produced, except that someone takes a video, it may be stored on a DVR before it is downloaded to a PC, but it could be downloaded from the camera straight to the PC as well. This is for a commercial pro

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Ute Willmore
Thank you Moritz! I will at least consider doing that, but I was beginning to suspect a bug myself. I just need to find a solution or work around first before I can take the time to do some more testing with VLC to confirm a bug. VLC allows you to use ffmpeg to convert a video from the command line

Re: [FFmpeg-user] Error:Impossible to convert between the formats supported by the filter..

2017-07-24 Thread tasos
Hello and thanks for replying. Your information is very useful and i thank you! My colleague uses an older version of ffmpeg and the specific combination (including pix_fmt) ffmpeg -y -hwaccel cuvid-c:v h264_cuvid works without any errors.That was my question.I thought i was doing something

[FFmpeg-user] hoping for help developing a process

2017-07-24 Thread d
so i've recently received a few corrupted videos that i'm trying to help some friends recover. the videos are encoded in ProRes 422 and encapsulated in .mov these videos have anywhere from a few to many damaged frames. some damaged frames simply have a few small colored blocks, and others ha

Re: [FFmpeg-user] Error:Impossible to convert between the formats supported by the filter..

2017-07-24 Thread James Girotti
On Mon, Jul 24, 2017 at 11:15 AM, tasos wrote: > Hello. > I'm using > >> ffmpeg -y -c:v h264_cuvid -deint 1 -vsync 1 -timeout 99 -i foo \ >> -map 0:v -c:v h264_nvenc -preset slow -profile:v high -b:v 1300k -pix_fmt >> yuv420p -map 0:a -c:a libfdk_aac \ >> -ac 2 -b:a 64k -strict experimental

Re: [FFmpeg-user] Quick (I hope) CLI question

2017-07-24 Thread Cley Faye
2017-07-24 22:24 GMT+02:00 Eric Downing : > Hi! > > I have a folder of mixed format video files. I would like to: > > • copy video format > • apply "ffmpeg-normalize" to the audio track(s), whilst preserving > encoding > • batch process so I can run the same command on the root folder > > For exam

Re: [FFmpeg-user] Quick (I hope) CLI question

2017-07-24 Thread Eric Wilde
At 04:24 PM 7/24/2017 -0400, you wrote: I want to preserve formatting for audio and video and apply normalization to the audio - in batch. Surely there must be a way to script this. Here's the code that I use for both boosting and companding. If $Compressor is 1, it makes up parameters for m

[FFmpeg-user] Quick (I hope) CLI question

2017-07-24 Thread Eric Downing
Hi! I have a folder of mixed format video files. I would like to: • copy video format • apply "ffmpeg-normalize" to the audio track(s), whilst preserving encoding • batch process so I can run the same command on the root folder For example: video1.mp4 (aac 5.1) video2.mkv (2 ch stereo) The iss

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Moritz Barsnick
On Tue, Jul 25, 2017 at 00:25:36 +0530, Gyan wrote: > Running your conversion command on your source, I see > > Input stream #0:0 (video): 856 packets read (18695093 bytes); 104 frames > decoded; > > Muxing to TS and playing that throws invalid NAL warnings. But that was a conversion, right? >

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Gyan
On Tue, Jul 25, 2017 at 1:10 AM, Ute Willmore wrote: > > What is non-standard about my input video? > That I don't know. Only that ffmpeg doesn't decode most of the frames from the original file. > I ran many conversion commands, and listed several of them in my original > message. Which one d

[FFmpeg-user] Pixel average color filter

2017-07-24 Thread Mikhail V
> Sounds like you could just scale the image horizontally down to 1 pixel > width. > > Pavel Thanks, it works. Mikhail ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Ute Willmore
Gyan, I am still very new to video conversion and ffmpeg, so I don't understand parts of your reply. Please explain: What is non-standard about my input video? I ran many conversion commands, and listed several of them in my original message. Which one did you use? What does "Muxing to TS" mean

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Ute Willmore
crf stands for constant rate factor. Allowed values are between 0 and 51, default is 23. To get better quality, use a lower number. The recommended start value, if the default does not work for you, is 18. 0 is lossless. You can read on the topic here: https://trac.ffmpeg.org/wiki/Encode/H.265 UR

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Gyan
On Mon, Jul 24, 2017 at 11:56 PM, Ute Willmore wrote: > Hi everyone, > > I am hoping someone on this list can help me with a problem I am having > when converting a .avi video to .mp4 using FFmpeg. The output I get starts > out looking good, but then degrades and by the time the 18 second video >

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Phil Rhodes
I'd be interested to know what "crf 23" actually means. How do I get it to do, say, 2.5Mbps? P ___ 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.

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Gyan
On Tue, Jul 25, 2017 at 12:15 AM, Reindl Harald wrote: > ffmpeg -v verbose -i hd.avi -vf scale=640:480 scaledoutput.mp4 > > > > without a bitrate param the results are poor because of ridiculous low > bitrate defaults, at least that was the case many years ago as we > implemented our php-wrappe

Re: [FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Reindl Harald
Am 24.07.2017 um 20:26 schrieb Ute Willmore: I am hoping someone on this list can help me with a problem I am having when converting a .avi video to .mp4 using FFmpeg. The output I get starts out looking good, but then degrades and by the time the 18 second video finishes it is hard to recogniz

[FFmpeg-user] Poor quality output when converting avi to mp4

2017-07-24 Thread Ute Willmore
Hi everyone, I am hoping someone on this list can help me with a problem I am having when converting a .avi video to .mp4 using FFmpeg. The output I get starts out looking good, but then degrades and by the time the 18 second video finishes it is hard to recognize what's on the screen. The colors

[FFmpeg-user] Error:Impossible to convert between the formats supported by the filter..

2017-07-24 Thread tasos
Hello. I'm using ffmpeg -y -c:v h264_cuvid -deint 1 -vsync 1 -timeout 99 -i foo \ -map 0:v -c:v h264_nvenc -preset slow -profile:v high -b:v 1300k -pix_fmt yuv420p -map 0:a -c:a libfdk_aac \ -ac 2 -b:a 64k -strict experimental -f mpegts foobar and everything works fine. When i add -hwacce

Re: [FFmpeg-user] Streaming Syntax error

2017-07-24 Thread Moritz Barsnick
00k -bufsize 1500k', '-f', 'flv', > '-metadata', 'streamName=xlarge', 'rtmp://site'])) (BTW, you merge some arguments, and some not. Even if it works, that's inconsistent.) We need to see the proper *actual* command line used (minus your hi

Re: [FFmpeg-user] Streaming Syntax error

2017-07-24 Thread Mettavihari D
Greetings Thank you for the mail. On Mon, Jul 24, 2017 at 2:46 PM, Moritz Barsnick wrote: > On Mon, Jul 24, 2017 at 09:30:38 +0530, Mettavihari D wrote: >> when I run this on the command line it is working. > [...] >> When I run this in a script I get errors. > > Apparently, you use a differentl

[FFmpeg-user] Fill up dropped/missing UDP TS packets with still image? DVB encoding

2017-07-24 Thread ffmpeg
Is there a way to fill up the TS stream during encoding with an still image (or also an other TS) if packets during a UDP transmission (perhaps because of bat DVB signal) are lost? Together with ffplay? Currently I do something like this: ffmpeg -i "udp://224.1.2.1:10001?overrun_nonfatal=1&fif

Re: [FFmpeg-user] Streaming Syntax error

2017-07-24 Thread Moritz Barsnick
On Mon, Jul 24, 2017 at 09:30:38 +0530, Mettavihari D wrote: > when I run this on the command line it is working. [...] > When I run this in a script I get errors. Apparently, you use a differently built ffmpeg in the script. > --enable-libvorbis --enable-libvpx --enable-libx264 [...] > [NULL @ 0

Re: [FFmpeg-user] h264 mkvs fail on TV/gigablue after conversion

2017-07-24 Thread Moritz Barsnick
On Mon, Jul 24, 2017 at 10:29:18 +0200, Frank Steiner wrote: > Do you have any idea what could go wrong here? What I could change in > converting to avoid that little "whatever" that disturbs the > (obviously older) codecs on my TV and the Gigablye box? What kind of > problem could cause the video

[FFmpeg-user] h264 mkvs fail on TV/gigablue after conversion

2017-07-24 Thread Frank Steiner
Hi, I just realized that all movies that I converted down to 720p using h264 codec don't play neither on my TV nor my Gigablue Quad box, but work fine with mplayer/mpv/xine on my Linux system. On the TV/gigablue the video stream freezes after 2-3 seconds while the audio continues to play. It do