Re: [FFmpeg-user] how to merge a video file with an audio file.

2016-08-27 Thread Paul B Mahol
On Sat, Aug 27, 2016 at 9:22 PM, jd1008  wrote:

> I use youtube-dl as the download tool, as follows: (Please bear with me
> ...)
>
> $ youtube-dl -F  https://www.youtube.com/watch?v=aNUYGRn3W9Q
> [youtube] aNUYGRn3W9Q: Downloading webpage
> [youtube] aNUYGRn3W9Q: Downloading video info webpage
> [youtube] aNUYGRn3W9Q: Extracting video information
> [youtube] aNUYGRn3W9Q: Downloading MPD manifest
> [info] Available formats for aNUYGRn3W9Q:
> format code  extension  resolution note
> .
> .
> .
> .
>
> 251  webm   audio only DASH audio  136k , opus @160k
> (48000Hz), 41.45MiB <<< The Audio file
> .
> .
> .
> .
> .
> 248  webm   1920x1080  DASH video 7139k , vp9, 25fps, video
> only, 980.84MiB <<< The Video file
> .
> .
> .
> .
> .
> .
>
> Youtube-dl uses ffmpeg to merge them as follows:
>
> ffmpeg -y -i  -i  -c copy -map 0:v:0 -map 1:a:0
> 
>
> It fails to do the job in the following sense:
> When I play the output file with mplayer, I only get audio,
> and when I play it with vlc, I only get video, some of which is garbled.
> When I play it with ffplay, only initial frames are garbled - but then
> all plays well.
>
> Both mplayer and vlc are latest.
>

Can not reproduce with ffmpeg. Plays fine in mpv.
___
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] Decklink Recording Yields No Audio

2016-08-27 Thread Adam Lott
Thanks for the tips so far. I double checked, and yes, audio was set
correctly in the desktop utility. Buggy is the perfect word for the
shuttle: using this command for analog gives me sound but no picture. Media
Express crashes between captures. Sometimes ME fails to recognize the
shuttle altogether. Capturing directly from ME still works well enough so
I'll likely give up on transcoding on capture and just transcode post
capture.

On Thu, Aug 25, 2016 at 10:03 AM, kv pham  wrote:

> Hi,
> I assume that you have correctly set the audio to embedded in Desktop Video
> Utility ?
> Your console ouput is what I get with my decklink card (studio 4k) which is
> working fine for audio capture.
> The audio input stream is recognized.
> The Shuttle is notoriously bugged.
> Do you capture audio in other applications ?
> ___
> 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] What is Segmentation fault: 11 ?

2016-08-27 Thread Nomis101 
Am 25.08.16 um 19:34 schrieb Nomis101 :
> Am 24.08.16 um 22:49 schrieb Carl Eugen Hoyos:
>> Please test current FFmpeg.
> $ lldb -- ./ffmpeg_g -i /Users/Downloads/Test.mp4
> (lldb) target create "./ffmpeg_g"
> Current executable set to './ffmpeg_g' (x86_64).
> (lldb) settings set -- target.run-args  "-i" "/Users/Downloads/Test.mp4"
> (lldb) run
> Process 83355 launched: './ffmpeg_g' (x86_64)
> ffmpeg version N-81454-gfeb2ea6 Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with Apple LLVM version 8.0.0 (clang-800.0.33.1)
>   configuration: --enable-lto
>   libavutil  55. 29.100 / 55. 29.100
>   libavcodec 57. 54.100 / 57. 54.100
>   libavformat57. 48.100 / 57. 48.100
>   libavdevice57.  0.102 / 57.  0.102
>   libavfilter 6. 55.100 /  6. 55.100
>   libswscale  4.  1.100 /  4.  1.100
>   libswresample   2.  1.100 /  2.  1.100
> Process 83355 stopped
> * thread #1: tid = 0x639aa, 0x000100916541
> ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
> stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
> frame #0: 0x000100916541 ffmpeg_g`ff_mpv_common_init + 1105
> ffmpeg_g`ff_mpv_common_init:
> ->  0x100916541 <+1105>: movdqa %xmm0, 0xaa8(%rbx)
> 0x100916549 <+1113>: leaq   -0x291eb0(%rip), %rax ;
> put_h264_chroma_mc4_8_c
> 0x100916550 <+1120>: movd   %rax, %xmm0
> 0x100916555 <+1125>: leaq   -0x2923bc(%rip), %rax ;
> put_h264_chroma_mc8_8_c
> (lldb) thread backtrace all
> * thread #1: tid = 0x639aa, 0x000100916541
> ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
> stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
>   * frame #0: 0x000100916541 ffmpeg_g`ff_mpv_common_init + 1105
> frame #1: 0x000100631ead ffmpeg_g`ff_h263_decode_frame + 4077
> frame #2: 0x000100a9d7ef ffmpeg_g`avcodec_decode_video2 + 383
> frame #3: 0x000100a9f51b ffmpeg_g`do_decode + 107
> frame #4: 0x0001004136ba ffmpeg_g`try_decode_frame + 826
> frame #5: 0x000100411128 ffmpeg_g`avformat_find_stream_info + 3624
> frame #6: 0x00010010e605 ffmpeg_g`open_input_file + 1893
> frame #7: 0x00010010fd74 ffmpeg_g`open_files + 244
> frame #8: 0x00010011b805 ffmpeg_g`main + 3429
> frame #9: 0x7fffc5a09255 libdyld.dylib`start + 1
> (lldb)
> ___
> 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".


Should I now do something with that output, open a bug ticket or so?
___
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] how to merge a video file with an audio file.

2016-08-27 Thread jd1008

I use youtube-dl as the download tool, as follows: (Please bear with me ...)

$ youtube-dl -F  https://www.youtube.com/watch?v=aNUYGRn3W9Q
[youtube] aNUYGRn3W9Q: Downloading webpage
[youtube] aNUYGRn3W9Q: Downloading video info webpage
[youtube] aNUYGRn3W9Q: Extracting video information
[youtube] aNUYGRn3W9Q: Downloading MPD manifest
[info] Available formats for aNUYGRn3W9Q:
format code  extension  resolution note
.
.
.
.

251  webm   audio only DASH audio  136k , opus @160k 
(48000Hz), 41.45MiB <<< The Audio file

.
.
.
.
.
248  webm   1920x1080  DASH video 7139k , vp9, 25fps, video 
only, 980.84MiB <<< The Video file

.
.
.
.
.
.

Youtube-dl uses ffmpeg to merge them as follows:

ffmpeg -y -i  -i  -c copy -map 0:v:0 -map 1:a:0 



It fails to do the job in the following sense:
When I play the output file with mplayer, I only get audio,
and when I play it with vlc, I only get video, some of which is garbled.
When I play it with ffplay, only initial frames are garbled - but then
all plays well.

Both mplayer and vlc are latest.


___
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] Question ofter panic ffmpeg

2016-08-27 Thread Moritz Barsnick
On Fri, Aug 26, 2016 at 04:40:46 -0700, niwu wrote:
> but why it does not work If the stars .

If it doesn't work, you need to tell us *what* doesn't work. I.e. what
were you expecting, what did you actually get. (Did ffmpeg error out?
Was the resuling stream unplayable? Did your hard disk get erased?)

Also, along with the command line, please show us the complete, uncut
console output of the failing command.

> but why

Presumably, you didn't tell the ffmpeg with two inputs (pipe and
stream) to use both. But I can only guess if you don't tell us any
details.

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".